Home
last modified time | relevance | path

Searched refs:mtk_vcodec_mem (Results 1 – 25 of 26) sorted by relevance

12

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_msg_queue.h69 struct mtk_vcodec_mem wdma_err_addr;
70 struct mtk_vcodec_mem slice_bc_addr;
71 struct mtk_vcodec_mem rd_mv_addr;
72 struct mtk_vcodec_mem tile_addr;
106 struct mtk_vcodec_mem wdma_addr;
H A Dmtk_vcodec_dec.h34 struct mtk_vcodec_mem base_y;
35 struct mtk_vcodec_mem base_c;
63 struct mtk_vcodec_mem bs_buffer;
H A Dvdec_drv_base.h27 int (*decode)(void *h_vdec, struct mtk_vcodec_mem *bs,
H A Dvdec_drv_if.h91 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs,
H A Dvdec_drv_if.c71 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs, in vdec_if_decode()
H A Dmtk_vcodec_dec_stateful.c281 struct mtk_vcodec_mem buf; in mtk_vdec_worker()
416 struct mtk_vcodec_mem src_mem; in vb2ops_vdec_stateful_buf_queue()
H A Dvdec_msg_queue.c205 struct mtk_vcodec_mem *mem; in vdec_msg_queue_deinit()
/linux/drivers/media/platform/mediatek/vcodec/common/
H A Dmtk_vcodec_util.h17 struct mtk_vcodec_mem { struct
67 int mtk_vcodec_mem_alloc(void *priv, struct mtk_vcodec_mem *mem);
68 void mtk_vcodec_mem_free(void *priv, struct mtk_vcodec_mem *mem);
H A Dmtk_vcodec_util.c48 int mtk_vcodec_mem_alloc(void *priv, struct mtk_vcodec_mem *mem) in mtk_vcodec_mem_alloc()
81 void mtk_vcodec_mem_free(void *priv, struct mtk_vcodec_mem *mem) in mtk_vcodec_mem_free()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_vp8_req_if.c98 struct mtk_vcodec_mem seg_id_buf;
99 struct mtk_vcodec_mem wrap_y_buf;
100 struct mtk_vcodec_mem wrap_c_buf;
101 struct mtk_vcodec_mem vld_wrapper_buf;
148 struct mtk_vcodec_mem *mem; in vdec_vp8_slice_alloc_working_buf()
191 struct mtk_vcodec_mem *mem; in vdec_vp8_slice_free_working_buf()
317 static int vdec_vp8_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp8_slice_decode()
H A Dvdec_h264_if.c128 struct mtk_vcodec_mem pred_buf;
129 struct mtk_vcodec_mem mv_buf[H264_MAX_FB_NUM];
156 struct mtk_vcodec_mem *mem = NULL; in free_prediction_buf()
168 struct mtk_vcodec_mem *mem = NULL; in alloc_mv_buf()
190 struct mtk_vcodec_mem *mem = NULL; in free_mv_buf()
329 static int vdec_h264_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_decode()
H A Dvdec_vp9_if.c145 struct mtk_vcodec_mem bs;
191 struct mtk_vcodec_mem mv_buf;
192 struct mtk_vcodec_mem seg_id_buf;
204 struct mtk_vcodec_mem mem;
314 struct mtk_vcodec_mem *mem_basy_y; in vp9_get_sf_ref_fb()
315 struct mtk_vcodec_mem *mem_basy_c; in vp9_get_sf_ref_fb()
365 struct mtk_vcodec_mem *mem; in vp9_alloc_work_buf()
551 struct mtk_vcodec_mem mem; in vp9_alloc_inst()
568 struct mtk_vcodec_mem mem; in vp9_free_inst()
757 struct mtk_vcodec_mem *mem; in vdec_vp9_deinit()
[all …]
H A Dvdec_h264_req_if.c87 struct mtk_vcodec_mem pred_buf;
88 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM];
174 struct mtk_vcodec_mem *mem = &inst->pred_buf; in free_prediction_buf()
186 struct mtk_vcodec_mem *mem = NULL; in alloc_mv_buf()
209 struct mtk_vcodec_mem *mem; in free_mv_buf()
329 static int vdec_h264_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_decode()
H A Dvdec_h264_req_multi_if.c156 struct mtk_vcodec_mem pred_buf;
157 struct mtk_vcodec_mem mv_buf[H264_MAX_MV_NUM];
313 struct mtk_vcodec_mem *mem; in vdec_h264_slice_alloc_mv_buf()
335 struct mtk_vcodec_mem *mem; in vdec_h264_slice_free_mv_buf()
463 struct mtk_vcodec_mem *mem; in vdec_h264_slice_core_decode()
565 static int vdec_h264_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_lat_decode()
576 struct mtk_vcodec_mem *mem; in vdec_h264_slice_lat_decode()
709 static int vdec_h264_slice_single_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_single_decode()
719 struct mtk_vcodec_mem *mem; in vdec_h264_slice_single_decode()
809 static int vdec_h264_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_decode()
H A Dvdec_hevc_req_multi_if.c362 struct mtk_vcodec_mem mv_buf[HEVC_MAX_MV_NUM];
366 struct mtk_vcodec_mem wrap_addr;
648 struct mtk_vcodec_mem *mem; in vdec_hevc_slice_alloc_mv_buf()
670 struct mtk_vcodec_mem *mem; in vdec_hevc_slice_free_mv_buf()
731 struct mtk_vcodec_mem *bs, in vdec_hevc_slice_setup_lat_buffer()
735 struct mtk_vcodec_mem *mem; in vdec_hevc_slice_setup_lat_buffer()
799 struct mtk_vcodec_mem *mem; in vdec_hevc_slice_setup_core_buffer()
910 struct mtk_vcodec_mem *mem; in vdec_hevc_slice_deinit()
970 static int vdec_hevc_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_hevc_slice_lat_decode()
1054 static int vdec_hevc_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_hevc_slice_decode()
H A Dvdec_vp9_req_lat_if.c471 struct mtk_vcodec_mem mv[2];
472 struct mtk_vcodec_mem seg[2];
473 struct mtk_vcodec_mem tile;
474 struct mtk_vcodec_mem prob;
475 struct mtk_vcodec_mem counts;
979 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_lat_buffer()
1041 struct mtk_vcodec_mem *buf) in vdec_vp9_slice_setup_seg_buffer()
1067 struct mtk_vcodec_mem *bs) in vdec_vp9_slice_setup_tile_buffer()
1150 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_lat()
1734 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_single_buffer()
[all …]
H A Dvdec_vp8_if.c157 struct mtk_vcodec_mem working_buf;
365 struct mtk_vcodec_mem *mem = &inst->working_buf; in alloc_working_buf()
380 struct mtk_vcodec_mem *mem = &inst->working_buf; in free_working_buf()
427 static int vdec_vp8_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp8_decode()
H A Dvdec_av1_req_lat_if.c711 struct mtk_vcodec_mem iq_table;
712 struct mtk_vcodec_mem cdf_table;
714 struct mtk_vcodec_mem mv[AV1_MAX_FRAME_BUF_COUNT];
715 struct mtk_vcodec_mem cdf[AV1_MAX_FRAME_BUF_COUNT];
716 struct mtk_vcodec_mem seg[AV1_MAX_FRAME_BUF_COUNT];
717 struct mtk_vcodec_mem cdf_temp;
718 struct mtk_vcodec_mem tile;
1594 struct mtk_vcodec_mem *bs, in vdec_av1_slice_setup_lat_buffer()
1644 struct mtk_vcodec_mem *buf; in vdec_av1_slice_setup_seg_buffer()
1658 struct mtk_vcodec_mem *bs) in vdec_av1_slice_setup_tile_buffer()
[all …]
/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_h264_if.c214 struct mtk_vcodec_mem work_bufs[VENC_H264_VPU_WORK_BUF_MAX];
215 struct mtk_vcodec_mem pps_buf;
439 struct mtk_vcodec_mem *bs_buf, in h264_encode_sps()
462 struct mtk_vcodec_mem *bs_buf, in h264_encode_pps()
485 struct mtk_vcodec_mem *bs_buf, in h264_encode_header()
508 struct mtk_vcodec_mem *bs_buf, in h264_encode_frame()
618 struct mtk_vcodec_mem *bs_buf, in h264_enc_encode()
647 struct mtk_vcodec_mem tmp_bs_buf; in h264_enc_encode()
H A Dvenc_vp8_if.c125 struct mtk_vcodec_mem work_bufs[VENC_VP8_VPU_WORK_BUF_MAX];
226 struct mtk_vcodec_mem *bs_buf, in vp8_enc_compose_one_frame()
285 struct mtk_vcodec_mem *bs_buf, in vp8_enc_encode_frame()
343 struct mtk_vcodec_mem *bs_buf, in vp8_enc_encode()
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_base.h34 struct mtk_vcodec_mem *bs_buf,
H A Dvenc_vpu_if.h46 struct mtk_vcodec_mem *bs_buf,
H A Dvenc_vpu_if.c254 struct mtk_vcodec_mem *bs_buf, in vpu_enc_encode_32bits()
302 struct mtk_vcodec_mem *bs_buf, in vpu_enc_encode_34bits()
347 struct mtk_vcodec_mem *bs_buf, in vpu_enc_encode()
H A Dvenc_drv_if.h166 struct mtk_vcodec_mem *bs_buf,
H A Dvenc_drv_if.c55 struct mtk_vcodec_mem *bs_buf, in venc_if_encode()

12