Home
last modified time | relevance | path

Searched refs:h_vdec (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_drv_base.h27 int (*decode)(void *h_vdec, struct mtk_vcodec_mem *bs,
36 int (*get_param)(void *h_vdec, enum vdec_get_param_type type,
43 void (*deinit)(void *h_vdec);
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_multi_if.c442 static void vdec_h264_slice_deinit(void *h_vdec) in vdec_h264_slice_deinit() argument
444 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_deinit()
565 static int vdec_h264_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_lat_decode() argument
568 struct vdec_h264_slice_inst *inst = h_vdec; 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() argument
712 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_single_decode()
804 static int vdec_h264_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_decode() argument
807 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_decode()
810 if (!h_vdec) in vdec_h264_slice_decode()
814 ret = vdec_h264_slice_single_decode(h_vdec, bs, unused, res_chg); in vdec_h264_slice_decode()
[all …]
Dvdec_vp8_req_if.c318 static int vdec_vp8_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp8_slice_decode() argument
321 struct vdec_vp8_slice_inst *inst = h_vdec; in vdec_vp8_slice_decode()
397 static int vdec_vp8_slice_get_param(void *h_vdec, enum vdec_get_param_type type, void *out) in vdec_vp8_slice_get_param() argument
399 struct vdec_vp8_slice_inst *inst = h_vdec; in vdec_vp8_slice_get_param()
419 static void vdec_vp8_slice_deinit(void *h_vdec) in vdec_vp8_slice_deinit() argument
421 struct vdec_vp8_slice_inst *inst = h_vdec; in vdec_vp8_slice_deinit()
Dvdec_h264_if.c306 static void vdec_h264_deinit(void *h_vdec) in vdec_h264_deinit() argument
308 struct vdec_h264_inst *inst = (struct vdec_h264_inst *)h_vdec; in vdec_h264_deinit()
329 static int vdec_h264_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_decode() argument
332 struct vdec_h264_inst *inst = (struct vdec_h264_inst *)h_vdec; in vdec_h264_decode()
455 static int vdec_h264_get_param(void *h_vdec, enum vdec_get_param_type type, in vdec_h264_get_param() argument
458 struct vdec_h264_inst *inst = (struct vdec_h264_inst *)h_vdec; in vdec_h264_get_param()
Dvdec_h264_req_if.c318 static void vdec_h264_slice_deinit(void *h_vdec) in vdec_h264_slice_deinit() argument
320 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_deinit()
329 static int vdec_h264_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_decode() argument
332 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_decode()
414 static int vdec_h264_slice_get_param(void *h_vdec, enum vdec_get_param_type type, void *out) in vdec_h264_slice_get_param() argument
416 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_get_param()
Dvdec_vp8_if.c427 static int vdec_vp8_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp8_decode() argument
430 struct vdec_vp8_inst *inst = (struct vdec_vp8_inst *)h_vdec; in vdec_vp8_decode()
560 static int vdec_vp8_get_param(void *h_vdec, enum vdec_get_param_type type, in vdec_vp8_get_param() argument
563 struct vdec_vp8_inst *inst = (struct vdec_vp8_inst *)h_vdec; in vdec_vp8_get_param()
594 static void vdec_vp8_deinit(void *h_vdec) in vdec_vp8_deinit() argument
596 struct vdec_vp8_inst *inst = (struct vdec_vp8_inst *)h_vdec; in vdec_vp8_deinit()
Dvdec_hevc_req_multi_if.c907 static void vdec_hevc_slice_deinit(void *h_vdec) in vdec_hevc_slice_deinit() argument
909 struct vdec_hevc_slice_inst *inst = h_vdec; 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() argument
973 struct vdec_hevc_slice_inst *inst = h_vdec; 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() argument
1057 struct vdec_hevc_slice_inst *inst = h_vdec; in vdec_hevc_slice_decode()
1059 if (!h_vdec || inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_hevc_slice_decode()
1062 return vdec_hevc_slice_lat_decode(h_vdec, bs, unused, res_chg); in vdec_hevc_slice_decode()
1065 static int vdec_hevc_slice_get_param(void *h_vdec, enum vdec_get_param_type type, in vdec_hevc_slice_get_param() argument
1068 struct vdec_hevc_slice_inst *inst = h_vdec; in vdec_hevc_slice_get_param()
Dvdec_vp9_req_lat_if.c1909 static void vdec_vp9_slice_deinit(void *h_vdec) in vdec_vp9_slice_deinit() argument
1911 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_deinit()
1922 static int vdec_vp9_slice_flush(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_flush() argument
1925 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_flush()
1958 static int vdec_vp9_slice_get_param(void *h_vdec, enum vdec_get_param_type type, void *out) in vdec_vp9_slice_get_param() argument
1960 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_get_param()
1980 static int vdec_vp9_slice_single_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_single_decode() argument
1983 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_single_decode()
1995 return vdec_vp9_slice_flush(h_vdec, bs, fb, res_chg); in vdec_vp9_slice_single_decode()
2037 static int vdec_vp9_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_lat_decode() argument
[all …]
Dvdec_vp9_if.c753 static void vdec_vp9_deinit(void *h_vdec) in vdec_vp9_deinit() argument
755 struct vdec_vp9_inst *inst = (struct vdec_vp9_inst *)h_vdec; in vdec_vp9_deinit()
809 static int vdec_vp9_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_decode() argument
813 struct vdec_vp9_inst *inst = (struct vdec_vp9_inst *)h_vdec; in vdec_vp9_decode()
981 static int vdec_vp9_get_param(void *h_vdec, enum vdec_get_param_type type, in vdec_vp9_get_param() argument
984 struct vdec_vp9_inst *inst = (struct vdec_vp9_inst *)h_vdec; in vdec_vp9_get_param()
Dvdec_av1_req_lat_if.c1937 static void vdec_av1_slice_deinit(void *h_vdec) in vdec_av1_slice_deinit() argument
1939 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_deinit()
1943 mtk_vdec_debug(instance->ctx, "h_vdec 0x%p\n", h_vdec); in vdec_av1_slice_deinit()
1950 static int vdec_av1_slice_flush(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_av1_slice_flush() argument
1953 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_flush()
2005 static int vdec_av1_slice_get_param(void *h_vdec, enum vdec_get_param_type type, void *out) in vdec_av1_slice_get_param() argument
2007 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_get_param()
2027 static int vdec_av1_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_av1_slice_lat_decode() argument
2030 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_lat_decode()
2050 return vdec_av1_slice_flush(h_vdec, bs, fb, res_chg); in vdec_av1_slice_lat_decode()