Lines Matching defs:extS
38 AVCSeqParamSet* extS = NULL;
41 if (extSPS) extS = (AVCSeqParamSet*) extSPS;
61 if (extS)
63 video->MaxPicOrderCntLsb = 1 << (extS->log2_max_pic_order_cnt_lsb_minus4 + 4);
64 video->PicWidthInMbs = extS->pic_width_in_mbs_minus1 + 1;
65 video->PicHeightInMapUnits = extS->pic_height_in_map_units_minus1 + 1 ;
66 video->FrameHeightInMbs = (2 - extS->frame_mbs_only_flag) * video->PicHeightInMapUnits ;
89 if (!extS && !extP)
153 else if (extS) // use external SPS and PPS
155 seqParam->seq_parameter_set_id = extS->seq_parameter_set_id;
156 seqParam->log2_max_frame_num_minus4 = extS->log2_max_frame_num_minus4;
157 video->MaxFrameNum = 1 << (extS->log2_max_frame_num_minus4 + 4);
164 seqParam->pic_order_cnt_type = extS->pic_order_cnt_type;
167 if (/*extS->log2_max_pic_order_cnt_lsb_minus4<0 || (no need it's unsigned)*/
168 extS->log2_max_pic_order_cnt_lsb_minus4 > 12)
172 seqParam->log2_max_pic_order_cnt_lsb_minus4 = extS->log2_max_pic_order_cnt_lsb_minus4;
176 seqParam->delta_pic_order_always_zero_flag = extS->delta_pic_order_always_zero_flag;
177 seqParam->offset_for_non_ref_pic = extS->offset_for_non_ref_pic;
178 seqParam->offset_for_top_to_bottom_field = extS->offset_for_top_to_bottom_field;
179 seqParam->num_ref_frames_in_pic_order_cnt_cycle = extS->num_ref_frames_in_pic_order_cnt_cycle;
180 if (extS->offset_for_ref_frame == NULL)
184 for (ii = 0; ii < (int) extS->num_ref_frames; ii++)
186 seqParam->offset_for_ref_frame[ii] = extS->offset_for_ref_frame[ii];
190 if (extS->num_ref_frames > 16 /*|| extS->num_ref_frames<0 (no need, it's unsigned)*/)
194 seqParam->num_ref_frames = extS->num_ref_frames; /* num reference frame range 0...16*/
195 seqParam->gaps_in_frame_num_value_allowed_flag = extS->gaps_in_frame_num_value_allowed_flag;
196 seqParam->pic_width_in_mbs_minus1 = extS->pic_width_in_mbs_minus1;
197 seqParam->pic_height_in_map_units_minus1 = extS->pic_height_in_map_units_minus1;
198 seqParam->frame_mbs_only_flag = extS->frame_mbs_only_flag;
199 if (extS->frame_mbs_only_flag != TRUE)
203 seqParam->mb_adaptive_frame_field_flag = extS->mb_adaptive_frame_field_flag;
204 if (extS->mb_adaptive_frame_field_flag != FALSE)
209 seqParam->direct_8x8_inference_flag = extS->direct_8x8_inference_flag;
210 seqParam->frame_cropping_flag = extS->frame_cropping_flag ;
211 if (extS->frame_cropping_flag != FALSE)
220 seqParam->vui_parameters_present_flag = extS->vui_parameters_present_flag;
221 if (extS->vui_parameters_present_flag)
223 memcpy(&(seqParam->vui_parameters), &(extS->vui_parameters), sizeof(AVCVUIParams));
232 if (!extP && !extS)
533 if (!extS && !extP)
544 seqParam->profile_idc = extS->profile_idc;
545 seqParam->constrained_set0_flag = extS->constrained_set0_flag;
546 seqParam->constrained_set1_flag = extS->constrained_set1_flag;
547 seqParam->constrained_set2_flag = extS->constrained_set2_flag;
548 seqParam->constrained_set3_flag = extS->constrained_set3_flag;
549 seqParam->level_idc = extS->level_idc;