/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_msg_queue.h | 69 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 D | mtk_vcodec_dec.h | 34 struct mtk_vcodec_mem base_y; 35 struct mtk_vcodec_mem base_c; 63 struct mtk_vcodec_mem bs_buffer;
|
H A D | vdec_drv_base.h | 27 int (*decode)(void *h_vdec, struct mtk_vcodec_mem *bs,
|
H A D | vdec_drv_if.h | 91 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs,
|
H A D | vdec_drv_if.c | 71 int vdec_if_decode(struct mtk_vcodec_dec_ctx *ctx, struct mtk_vcodec_mem *bs, in vdec_if_decode()
|
H A D | mtk_vcodec_dec_stateful.c | 281 struct mtk_vcodec_mem buf; in mtk_vdec_worker() 416 struct mtk_vcodec_mem src_mem; in vb2ops_vdec_stateful_buf_queue()
|
H A D | vdec_msg_queue.c | 205 struct mtk_vcodec_mem *mem; in vdec_msg_queue_deinit()
|
/linux/drivers/media/platform/mediatek/vcodec/common/ |
H A D | mtk_vcodec_util.h | 17 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 D | mtk_vcodec_util.c | 48 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 D | vdec_vp8_req_if.c | 98 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 D | vdec_vp9_if.c | 145 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 D | vdec_h264_if.c | 128 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 D | vdec_h264_req_if.c | 87 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 D | vdec_h264_req_multi_if.c | 156 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 D | vdec_hevc_req_multi_if.c | 362 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 D | vdec_vp9_req_lat_if.c | 471 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() 1733 struct mtk_vcodec_mem *bs, in vdec_vp9_slice_setup_single_buffer() [all …]
|
H A D | vdec_vp8_if.c | 157 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 D | vdec_av1_req_lat_if.c | 711 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 D | venc_h264_if.c | 214 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 D | venc_vp8_if.c | 125 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 D | venc_drv_base.h | 34 struct mtk_vcodec_mem *bs_buf,
|
H A D | venc_vpu_if.c | 254 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 D | venc_vpu_if.h | 46 struct mtk_vcodec_mem *bs_buf,
|
H A D | venc_drv_if.h | 166 struct mtk_vcodec_mem *bs_buf,
|
H A D | venc_drv_if.c | 55 struct mtk_vcodec_mem *bs_buf, in venc_if_encode()
|