Home
last modified time | relevance | path

Searched refs:pixfmt_cap (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/staging/media/meson/vdec/
H A Dcodec_hevc_common.c36 if (!codec_hevc_use_fbc(sess->pixfmt_cap, is_10bit)) { in codec_hevc_setup_decode_head()
43 sess->pixfmt_cap, is_10bit)) in codec_hevc_setup_decode_head()
76 if (codec_hevc_use_downsample(sess->pixfmt_cap, is_10bit)) in codec_hevc_setup_buffers_gxbb()
81 if (codec_hevc_use_fbc(sess->pixfmt_cap, is_10bit)) { in codec_hevc_setup_buffers_gxbb()
96 if (codec_hevc_use_fbc(sess->pixfmt_cap, is_10bit)) in codec_hevc_setup_buffers_gxbb()
118 u32 pixfmt_cap = sess->pixfmt_cap; in codec_hevc_setup_buffers_gxl() local
130 if (codec_hevc_use_mmu(revision, pixfmt_cap, is_10bit)) in codec_hevc_setup_buffers_gxl()
132 else if (codec_hevc_use_downsample(pixfmt_cap, is_10bit)) in codec_hevc_setup_buffers_gxl()
140 if (!codec_hevc_use_fbc(pixfmt_cap, is_10bit)) { in codec_hevc_setup_buffers_gxl()
255 if (codec_hevc_use_downsample(sess->pixfmt_cap, is_10bit)) { in codec_hevc_setup_buffers()
[all …]
H A Dvdec.c205 switch (sess->pixfmt_cap) { in vdec_queue_setup()
236 switch (sess->pixfmt_cap) { in vdec_queue_setup()
481 vdec_supports_pixfmt_cap(const struct amvdec_format *fmt_out, u32 pixfmt_cap) in vdec_supports_pixfmt_cap() argument
486 if (fmt_out->pixfmts_cap[i] == pixfmt_cap) in vdec_supports_pixfmt_cap()
578 pixmp->pixelformat = sess->pixfmt_cap; in vdec_g_fmt()
608 u32 pixfmt_out = 0, pixfmt_cap = 0; in vdec_s_fmt() local
618 pixfmt_cap = sess->pixfmt_cap; in vdec_s_fmt()
620 pixfmt_cap = pixmp->pixelformat; in vdec_s_fmt()
645 format.fmt.pix_mp.pixelformat = pixfmt_cap; in vdec_s_fmt()
656 sess->pixfmt_cap = format.fmt.pix_mp.pixelformat; in vdec_s_fmt()
[all …]
H A Dcodec_vp9.c742 if (codec_hevc_use_mmu(revision, sess->pixfmt_cap, vp9->is_10bit)) { in codec_vp9_setup_workspace()
897 if (codec_hevc_use_downsample(sess->pixfmt_cap, vp9->is_10bit)) in codec_vp9_set_sao()
904 if (codec_hevc_use_fbc(sess->pixfmt_cap, vp9->is_10bit)) { in codec_vp9_set_sao()
910 if (sess->pixfmt_cap == V4L2_PIX_FMT_NV12M) { in codec_vp9_set_sao()
921 if (codec_hevc_use_mmu(core->platform->revision, sess->pixfmt_cap, in codec_vp9_set_sao()
938 if (codec_hevc_use_fbc(sess->pixfmt_cap, vp9->is_10bit)) in codec_vp9_set_sao()
942 if (sess->pixfmt_cap == V4L2_PIX_FMT_NV12M) in codec_vp9_set_sao()
957 if (!codec_hevc_use_fbc(sess->pixfmt_cap, vp9->is_10bit)) in codec_vp9_set_sao()
1133 if (codec_hevc_use_fbc(sess->pixfmt_cap, vp9->is_10bit)) { in codec_vp9_set_refs()
1283 if (codec_hevc_use_mmu(core->platform->revision, sess->pixfmt_cap, in codec_vp9_process_frame()
H A Dvdec.h240 u32 pixfmt_cap; member
H A Dvdec_helpers.c183 u32 pixfmt = sess->pixfmt_cap; in amvdec_set_canvases()
281 switch (sess->pixfmt_cap) { in dst_buf_done()
H A Dvdec_1.c232 if (sess->pixfmt_cap == V4L2_PIX_FMT_NV12M) in vdec_1_start()
/linux/drivers/media/platform/qcom/venus/
H A Dvdec.c328 u32 pixfmt_out = 0, pixfmt_cap = 0; in vdec_s_fmt() local
344 pixfmt_cap = inst->fmt_cap->pixfmt; in vdec_s_fmt()
346 pixfmt_cap = pixmp->pixelformat; in vdec_s_fmt()
371 format.fmt.pix_mp.pixelformat = pixfmt_cap; in vdec_s_fmt()
388 venus_helper_get_framesz(pixfmt_cap, orig_pixmp.width, orig_pixmp.height); in vdec_s_fmt()
H A Dvenc.c240 u32 pixfmt_out = 0, pixfmt_cap = 0; in venc_s_fmt() local
258 pixfmt_cap = inst->fmt_cap->pixfmt; in venc_s_fmt()
260 pixfmt_cap = pixmp->pixelformat; in venc_s_fmt()
284 format.fmt.pix_mp.pixelformat = pixfmt_cap; in venc_s_fmt()