mtk_vcodec_mem
int mtk_vcodec_mem_alloc(void *priv, struct mtk_vcodec_mem *mem)
void mtk_vcodec_mem_free(void *priv, struct mtk_vcodec_mem *mem)
int mtk_vcodec_mem_alloc(void *priv, struct mtk_vcodec_mem *mem);
void mtk_vcodec_mem_free(void *priv, struct mtk_vcodec_mem *mem);
struct mtk_vcodec_mem base_y;
struct mtk_vcodec_mem base_c;
struct mtk_vcodec_mem bs_buffer;
struct mtk_vcodec_mem buf;
struct mtk_vcodec_mem src_mem;
struct mtk_vcodec_mem *bs_src;
struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *buf;
struct mtk_vcodec_mem *bs)
struct mtk_vcodec_mem *bs,
static int vdec_av1_slice_flush(void *h_vdec, struct mtk_vcodec_mem *bs,
static int vdec_av1_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem iq_table;
struct mtk_vcodec_mem cdf_table;
struct mtk_vcodec_mem mv[AV1_MAX_FRAME_BUF_COUNT];
struct mtk_vcodec_mem cdf[AV1_MAX_FRAME_BUF_COUNT];
struct mtk_vcodec_mem seg[AV1_MAX_FRAME_BUF_COUNT];
struct mtk_vcodec_mem cdf_temp;
struct mtk_vcodec_mem tile;
struct mtk_vcodec_mem pred_buf;
struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM];
struct mtk_vcodec_mem *mem = NULL;
struct mtk_vcodec_mem *mem = NULL;
struct mtk_vcodec_mem *mem = NULL;
static int vdec_h264_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem = &inst->pred_buf;
struct mtk_vcodec_mem *mem = NULL;
struct mtk_vcodec_mem *mem;
static int vdec_h264_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem pred_buf;
struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM];
static int vdec_h264_slice_single_decode_ext(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem;
static int vdec_h264_slice_single_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem;
static int vdec_h264_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem pred_buf;
struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM];
int (*decode)(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *mem;
static int vdec_h264_slice_lat_decode_ext(void *h_vdec, struct mtk_vcodec_mem *bs,
static int vdec_h264_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem;
static int vdec_hevc_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem mv_buf[HEVC_MAX_MV_NUM];
struct mtk_vcodec_mem wrap_addr;
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *mem;
static int vdec_hevc_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem working_buf;
struct mtk_vcodec_mem *mem = &inst->working_buf;
struct mtk_vcodec_mem *mem = &inst->working_buf;
static int vdec_vp8_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem wrap_c_buf;
struct mtk_vcodec_mem vld_wrapper_buf;
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem *mem;
static int vdec_vp8_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem seg_id_buf;
struct mtk_vcodec_mem wrap_y_buf;
struct mtk_vcodec_mem bs;
struct mtk_vcodec_mem mv_buf;
struct mtk_vcodec_mem seg_id_buf;
struct mtk_vcodec_mem mem;
struct mtk_vcodec_mem *mem_basy_y;
struct mtk_vcodec_mem *mem_basy_c;
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem mem = { };
struct mtk_vcodec_mem mem;
struct mtk_vcodec_mem *mem;
static int vdec_vp9_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *buf)
struct mtk_vcodec_mem *bs)
struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *bs,
static int vdec_vp9_slice_flush(void *h_vdec, struct mtk_vcodec_mem *bs,
static int vdec_vp9_slice_single_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
static int vdec_vp9_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
static int vdec_vp9_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem mv[2];
struct mtk_vcodec_mem seg[2];
struct mtk_vcodec_mem tile;
struct mtk_vcodec_mem prob;
struct mtk_vcodec_mem counts;
struct mtk_vcodec_mem *bs,
int (*decode)(void *h_vdec, struct mtk_vcodec_mem *bs,
int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs,
int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs,
struct mtk_vcodec_mem *mem;
struct mtk_vcodec_mem wdma_addr;
struct mtk_vcodec_mem wdma_err_addr;
struct mtk_vcodec_mem slice_bc_addr;
struct mtk_vcodec_mem rd_mv_addr;
struct mtk_vcodec_mem tile_addr;
struct mtk_vcodec_mem bs_buf;
struct mtk_vcodec_mem bs_buf;
struct mtk_vcodec_mem work_bufs[VENC_H264_VPU_WORK_BUF_MAX];
struct mtk_vcodec_mem pps_buf;
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem tmp_bs_buf;
struct mtk_vcodec_mem work_bufs[VENC_VP8_VPU_WORK_BUF_MAX];
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,
struct mtk_vcodec_mem *bs_buf,