Home
last modified time | relevance | path

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

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A 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/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A 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()
809 static int vdec_h264_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_h264_slice_decode() argument
812 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_decode()
815 if (!h_vdec) in vdec_h264_slice_decode()
819 ret = vdec_h264_slice_single_decode(h_vdec, bs, unused, res_chg); in vdec_h264_slice_decode()
[all …]
H A 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()
H A Dvdec_vp8_req_if.c317 static int vdec_vp8_slice_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp8_slice_decode() argument
320 struct vdec_vp8_slice_inst *inst = h_vdec; in vdec_vp8_slice_decode()
400 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
402 struct vdec_vp8_slice_inst *inst = h_vdec; in vdec_vp8_slice_get_param()
422 static void vdec_vp8_slice_deinit(void *h_vdec) in vdec_vp8_slice_deinit() argument
424 struct vdec_vp8_slice_inst *inst = h_vdec; in vdec_vp8_slice_deinit()
H A 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()
419 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
421 struct vdec_h264_slice_inst *inst = h_vdec; in vdec_h264_slice_get_param()
H A 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()
H A 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()
H A Dvdec_vp9_req_lat_if.c1904 static void vdec_vp9_slice_deinit(void *h_vdec) in vdec_vp9_slice_deinit() argument
1906 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_deinit()
1917 static int vdec_vp9_slice_flush(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_flush() argument
1920 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_flush()
1953 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
1955 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_get_param()
1975 static int vdec_vp9_slice_single_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_single_decode() argument
1978 struct vdec_vp9_slice_instance *instance = h_vdec; in vdec_vp9_slice_single_decode()
1990 return vdec_vp9_slice_flush(h_vdec, bs, fb, res_chg); in vdec_vp9_slice_single_decode()
2032 static int vdec_vp9_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_slice_lat_decode() argument
[all …]
H A Dvdec_vp9_if.c754 static void vdec_vp9_deinit(void *h_vdec) in vdec_vp9_deinit() argument
756 struct vdec_vp9_inst *inst = (struct vdec_vp9_inst *)h_vdec; in vdec_vp9_deinit()
810 static int vdec_vp9_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_vp9_decode() argument
814 struct vdec_vp9_inst *inst = (struct vdec_vp9_inst *)h_vdec; in vdec_vp9_decode()
982 static int vdec_vp9_get_param(void *h_vdec, enum vdec_get_param_type type, in vdec_vp9_get_param() argument
985 struct vdec_vp9_inst *inst = (struct vdec_vp9_inst *)h_vdec; in vdec_vp9_get_param()
H A Dvdec_av1_req_lat_if.c1945 static void vdec_av1_slice_deinit(void *h_vdec) in vdec_av1_slice_deinit() argument
1947 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_deinit()
1951 mtk_vdec_debug(instance->ctx, "h_vdec 0x%p\n", h_vdec); in vdec_av1_slice_deinit()
1958 static int vdec_av1_slice_flush(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_av1_slice_flush() argument
1961 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_flush()
2013 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
2015 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_get_param()
2035 static int vdec_av1_slice_lat_decode(void *h_vdec, struct mtk_vcodec_mem *bs, in vdec_av1_slice_lat_decode() argument
2038 struct vdec_av1_slice_instance *instance = h_vdec; in vdec_av1_slice_lat_decode()
2058 return vdec_av1_slice_flush(h_vdec, bs, fb, res_chg); in vdec_av1_slice_lat_decode()