Home
last modified time | relevance | path

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

/linux/drivers/media/platform/rockchip/rkvdec/
H A Drkvdec-hevc.c166 WRITE_PPS(sps->chroma_format_idc, CHROMA_FORMAT_IDC); in assemble_hw_pps()
438 if (sps->chroma_format_idc == 0) in config_registers()
440 else if (sps->chroma_format_idc == 1) in config_registers()
442 else if (sps->chroma_format_idc == 2) in config_registers()
508 if (sps->chroma_format_idc > 1) in rkvdec_hevc_validate_sps()
H A Drkvdec-h264.c136 WRITE_PPS(sps->chroma_format_idc, CHROMA_FORMAT_IDC); in assemble_hw_pps()
283 if (sps->chroma_format_idc == 0) in config_registers()
285 else if (sps->chroma_format_idc == 1) in config_registers()
287 else if (sps->chroma_format_idc == 2) in config_registers()
H A Drkvdec-vdpu381-hevc.c21 u16 chroma_format_idc : 2; member
154 hw_ps->sps.chroma_format_idc = sps->chroma_format_idc; in assemble_hw_pps()
518 if (sps->chroma_format_idc != 1) in rkvdec_hevc_validate_sps()
H A Drkvdec-vdpu381-h264.c22 u16 chroma_format_idc: 2; member
113 hw_ps->sps.chroma_format_idc = sps->chroma_format_idc; in assemble_hw_pps()
H A Drkvdec-vdpu383-hevc.c21 u16 chroma_format_idc : 2; member
250 hw_ps->chroma_format_idc = sps->chroma_format_idc; in assemble_hw_pps()
526 if (sps->chroma_format_idc != 1) in rkvdec_hevc_validate_sps()
H A Drkvdec-vdpu383-h264.c23 u16 chroma_format_idc: 2; member
219 hw_ps->sps.chroma_format_idc = sps->chroma_format_idc; in assemble_hw_pps()
H A Drkvdec-hevc-common.c463 if (sps->chroma_format_idc == 2) in rkvdec_hevc_get_image_fmt()
468 if (sps->chroma_format_idc == 2) in rkvdec_hevc_get_image_fmt()
/linux/drivers/media/platform/verisilicon/
H A Dhantro_g1_h264_dec.c81 if (sps->profile_idc >= 100 && sps->chroma_format_idc == 0) in set_params()
231 ctrls->sps->chroma_format_idc == 0) in set_buffers()
H A Drockchip_vpu2_hw_h264_dec.c289 VDPU_REG_BLACKWHITE_E(sps->profile_idc >= 100 && sps->chroma_format_idc == 0) | in set_params()
448 ctrls->sps->chroma_format_idc == 0) in set_buffers()
H A Dhantro_drv.c260 if (sps->chroma_format_idc > 1) in hantro_try_ctrl()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_common.h49 unsigned char chroma_format_idc; member
H A Dvdec_h264_req_common.c97 GET_MTK_VDEC_PARAM(chroma_format_idc); in mtk_vdec_h264_copy_sps_params()
H A Dvdec_hevc_req_multi_if.c80 unsigned char chroma_format_idc; member
451 GET_HEVC_VDEC_PARAM(chroma_format_idc); in vdec_hevc_copy_sps_params()
/linux/drivers/media/platform/allegro-dvt/
H A Dnal-h264.h111 unsigned int chroma_format_idc; member
H A Dnal-h264.c226 rbsp_uev(rbsp, &sps->chroma_format_idc); in nal_h264_rbsp_sps()
228 if (sps->chroma_format_idc == 3) in nal_h264_rbsp_sps()
H A Dnal-hevc.h210 unsigned int chroma_format_idc; member
H A Dnal-hevc.c350 rbsp_uev(rbsp, &sps->chroma_format_idc); in nal_hevc_rbsp_sps()
351 if (sps->chroma_format_idc == 3) in nal_hevc_rbsp_sps()
H A Dallegro-core.c1840 sps->chroma_format_idc = 1; /* Only 4:2:0 sampling supported */ in allegro_hevc_write_sps()
/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.c36 if (sps->chroma_format_idc != 1) in cedrus_try_ctrl()
51 if (sps->chroma_format_idc != 1) in cedrus_try_ctrl()
H A Dcedrus_h264.c423 reg |= (sps->chroma_format_idc & 0x7) << 19; in cedrus_set_params()
H A Dcedrus_h265.c576 VE_DEC_H265_DEC_SPS_HDR_CHROMA_FORMAT_IDC(sps->chroma_format_idc); in cedrus_h265_setup()
/linux/drivers/media/v4l2-core/
H A Dv4l2-ctrls-core.c1054 p_h264_sps->chroma_format_idc = 1; in std_validate_compound()
1062 if (p_h264_sps->chroma_format_idc < 3) in std_validate_compound()
1078 p_h264_sps->chroma_format_idc > 1) in std_validate_compound()
1082 p_h264_sps->chroma_format_idc > 2) in std_validate_compound()
1084 if (p_h264_sps->chroma_format_idc > 3) in std_validate_compound()
/linux/drivers/media/test-drivers/visl/
H A Dvisl-trace-h264.h44 __entry->s.chroma_format_idc,
/linux/Documentation/admin-guide/media/
H A Dvisl.rst132 chroma_format_idc 1
/linux/include/uapi/linux/
H A Dv4l2-controls.h1409 * @chroma_format_idc: see H264 specification.
1429 __u8 chroma_format_idc;
2187 * @chroma_format_idc: specifies the chroma sampling
2216 __u8 chroma_format_idc;
1427 __u8 chroma_format_idc; global() member
2212 __u8 chroma_format_idc; global() member