Lines Matching refs:ctx

332      * @param ctx The context of vpu api, allocated in this function.
339 * @note check whether ctx has been allocated success after you do init.
341 signed int (*init)(struct VpuCodecContext *ctx, unsigned char *extraData, unsigned int extra_size);
345 * @param ctx The context of vpu codec
350 signed int (*decode)(struct VpuCodecContext *ctx, VideoPacket_t *pkt, DecoderOut_t *aDecOut);
354 * @param ctx The context of vpu codec
359 signed int (*encode)(struct VpuCodecContext *ctx, EncInputStream_t *aEncInStrm, EncoderOut_t *aEncOut);
362 * @param ctx The context of vpu codec
365 signed int (*flush)(struct VpuCodecContext *ctx);
366 signed int (*control)(struct VpuCodecContext *ctx, VPU_API_CMD cmdType, void *param);
369 * @param ctx The context of vpu codec
373 signed int (*decode_sendstream)(struct VpuCodecContext *ctx, VideoPacket_t *pkt);
376 * @param ctx The context of vpu codec
380 signed int (*decode_getframe)(struct VpuCodecContext *ctx, DecoderOut_t *aDecOut);
383 * @param ctx The context of vpu codec
387 signed int (*encoder_sendframe)(struct VpuCodecContext *ctx, EncInputStream_t *aEncInStrm);
390 * @param ctx The context of vpu codec
394 signed int (*encoder_getstream)(struct VpuCodecContext *ctx, EncoderOut_t *aEncOut);
404 * @param ctx pointer of vpu codec context
406 signed int vpu_open_context(struct VpuCodecContext **ctx);
409 * @param ctx pointer of vpu codec context
411 signed int vpu_close_context(struct VpuCodecContext **ctx);
453 signed int VPUMallocLinearFromRender(VPUMemLinear_t *p, unsigned int size, void *ctx);