Lines Matching defs:extP
39 AVCPicParamSet* extP = NULL;
42 if (extPPS) extP = (AVCPicParamSet*) extPPS;
89 if (!extS && !extP)
232 if (!extP && !extS)
336 else if (extP)// external PPS
338 picParam->pic_parameter_set_id = extP->pic_parameter_set_id - 1; /* to be increased by one */
339 picParam->seq_parameter_set_id = extP->seq_parameter_set_id;
340 picParam->entropy_coding_mode_flag = extP->entropy_coding_mode_flag;
341 if (extP->entropy_coding_mode_flag != 0) /* default to CAVLC */
345 picParam->pic_order_present_flag = extP->pic_order_present_flag; /* default for now, will need it for B-slice */
346 if (extP->pic_order_present_flag != 0)
351 if (/*(extP->num_slice_groups_minus1<0) || (no need it's unsigned) */
352 (extP->num_slice_groups_minus1 > MAX_NUM_SLICE_GROUP - 1))
356 picParam->num_slice_groups_minus1 = extP->num_slice_groups_minus1;
360 picParam->slice_group_map_type = extP->slice_group_map_type;
361 switch (extP->slice_group_map_type)
364 for (ii = 0; ii <= (int)extP->num_slice_groups_minus1; ii++)
366 picParam->run_length_minus1[ii] = extP->run_length_minus1[ii];
372 picParam->top_left[ii] = extP->top_left[ii];
373 picParam->bottom_right[ii] = extP->bottom_right[ii];
379 picParam->slice_group_change_direction_flag = extP->slice_group_change_direction_flag;
380 if (/*extP->slice_group_change_rate_minus1 < 0 || (no need, it's unsigned) */
381 extP->slice_group_change_rate_minus1 > video->PicSizeInMapUnits - 1)
385 picParam->slice_group_change_rate_minus1 = extP->slice_group_change_rate_minus1;
389 if (extP->pic_size_in_map_units_minus1 != video->PicSizeInMapUnits - 1)
394 picParam->pic_size_in_map_units_minus1 = extP->pic_size_in_map_units_minus1;
403 if (extP->slice_group_id == NULL)
409 picParam->slice_group_id[ii] = extP->slice_group_id[ii];
416 picParam->num_ref_idx_l0_active_minus1 = extP->num_ref_idx_l0_active_minus1;
417 picParam->num_ref_idx_l1_active_minus1 = extP->num_ref_idx_l1_active_minus1; /* default value */
423 if (extP->weighted_pred_flag)
429 picParam->weighted_bipred_idc = extP->weighted_bipred_idc; /* range 0,1,2 */
435 picParam->pic_init_qp_minus26 = extP->pic_init_qp_minus26; /* default, will be changed at slice level anyway */
440 picParam->pic_init_qs_minus26 = extP->pic_init_qs_minus26;
446 picParam->chroma_qp_index_offset = extP->chroma_qp_index_offset; /* default to zero for now */
452 picParam->deblocking_filter_control_present_flag = extP->deblocking_filter_control_present_flag;
454 picParam->constrained_intra_pred_flag = extP->constrained_intra_pred_flag;
455 if (extP->redundant_pic_cnt_present_flag != 0)
459 picParam->redundant_pic_cnt_present_flag = extP->redundant_pic_cnt_present_flag; /* default */
533 if (!extS && !extP)