Lines Matching refs:p_h264_sps
805 struct v4l2_ctrl_h264_sps *p_h264_sps;
877 p_h264_sps = p;
880 if (p_h264_sps->pic_order_cnt_type != 0) {
881 p_h264_sps->log2_max_pic_order_cnt_lsb_minus4 = 0;
882 } else if (p_h264_sps->pic_order_cnt_type != 1) {
883 p_h264_sps->num_ref_frames_in_pic_order_cnt_cycle = 0;
884 p_h264_sps->offset_for_non_ref_pic = 0;
885 p_h264_sps->offset_for_top_to_bottom_field = 0;
886 memset(&p_h264_sps->offset_for_ref_frame, 0,
887 sizeof(p_h264_sps->offset_for_ref_frame));
890 if (!V4L2_H264_SPS_HAS_CHROMA_FORMAT(p_h264_sps)) {
891 p_h264_sps->chroma_format_idc = 1;
892 p_h264_sps->bit_depth_luma_minus8 = 0;
893 p_h264_sps->bit_depth_chroma_minus8 = 0;
895 p_h264_sps->flags &=
898 if (p_h264_sps->chroma_format_idc < 3)
899 p_h264_sps->flags &=
903 if (p_h264_sps->flags & V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY)
904 p_h264_sps->flags &=
914 if (p_h264_sps->profile_idc < 122 &&
915 p_h264_sps->chroma_format_idc > 1)
918 if (p_h264_sps->profile_idc < 244 &&
919 p_h264_sps->chroma_format_idc > 2)
921 if (p_h264_sps->chroma_format_idc > 3)
924 if (p_h264_sps->bit_depth_luma_minus8 > 6)
926 if (p_h264_sps->bit_depth_chroma_minus8 > 6)
928 if (p_h264_sps->log2_max_frame_num_minus4 > 12)
930 if (p_h264_sps->pic_order_cnt_type > 2)
932 if (p_h264_sps->log2_max_pic_order_cnt_lsb_minus4 > 12)
934 if (p_h264_sps->max_num_ref_frames > V4L2_H264_REF_LIST_LEN)