Home
last modified time | relevance | path

Searched refs:picParam (Results 1 – 5 of 5) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dinit.cpp32 AVCPicParamSet *picParam = video->currPicParams; in SetEncodeParam() local
235 picParam->pic_parameter_set_id = (uint)(-1); /* start with zero */ in SetEncodeParam()
236 picParam->seq_parameter_set_id = (uint)(-1); /* start with zero */ in SetEncodeParam()
237 picParam->entropy_coding_mode_flag = 0; /* default to CAVLC */ in SetEncodeParam()
238 picParam->pic_order_present_flag = 0; /* default for now, will need it for B-slice */ in SetEncodeParam()
244 picParam->num_slice_groups_minus1 = encParam->num_slice_group - 1; in SetEncodeParam()
246 if (picParam->num_slice_groups_minus1 > 0) in SetEncodeParam()
248 picParam->slice_group_map_type = encParam->fmo_type; in SetEncodeParam()
252 for (ii = 0; ii <= (int)picParam->num_slice_groups_minus1; ii++) in SetEncodeParam()
254 picParam->run_length_minus1[ii] = encParam->run_length_minus1[ii]; in SetEncodeParam()
[all …]
Dheader.cpp231 AVCPicParamSet *picParam = video->currPicParams; in EncodePPS() local
235 status = ue_v(stream, picParam->pic_parameter_set_id); in EncodePPS()
236 status = ue_v(stream, picParam->seq_parameter_set_id); in EncodePPS()
237 status = BitstreamWrite1Bit(stream, picParam->entropy_coding_mode_flag); in EncodePPS()
238 status = BitstreamWrite1Bit(stream, picParam->pic_order_present_flag); in EncodePPS()
244 status = ue_v(stream, picParam->num_slice_groups_minus1); in EncodePPS()
245 if (picParam->num_slice_groups_minus1 > 0) in EncodePPS()
247 status = ue_v(stream, picParam->slice_group_map_type); in EncodePPS()
248 if (picParam->slice_group_map_type == 0) in EncodePPS()
250 for (iGroup = 0; iGroup <= (int)picParam->num_slice_groups_minus1; iGroup++) in EncodePPS()
[all …]
Davcenc_lib.h107 …CEnc_Status VerifyProfile(AVCEncObject *video, AVCSeqParamSet *seqParam, AVCPicParamSet *picParam);
122 …AVCEnc_Status VerifyLevel(AVCEncObject *video, AVCSeqParamSet *seqParam, AVCPicParamSet *picParam);
Drate_control.cpp341 AVCPicParamSet *picParam = video->currPicParams; in RCInitFrameQP() local
398 picParam->pic_init_qs_minus26 = 0; in RCInitFrameQP()
399 picParam->pic_init_qp_minus26 = video->QPy - 26; in RCInitFrameQP()
/external/opencore/codecs_v2/video/avc_h264/dec/src/
Dheader.cpp321 AVCPicParamSet *picParam; in DecodePPS() local
355 video->currPicParams = picParam = decvid->picParams[pic_parameter_set_id]; in DecodePPS()
356 picParam->seq_parameter_set_id = seq_parameter_set_id; in DecodePPS()
357 picParam->pic_parameter_set_id = pic_parameter_set_id; in DecodePPS()
359 BitstreamRead1Bit(stream, (uint*)&(picParam->entropy_coding_mode_flag)); in DecodePPS()
360 if (picParam->entropy_coding_mode_flag) in DecodePPS()
365 BitstreamRead1Bit(stream, (uint*)&(picParam->pic_order_present_flag)); in DecodePPS()
366 ue_v(stream, &(picParam->num_slice_groups_minus1)); in DecodePPS()
368 if (picParam->num_slice_groups_minus1 > MAX_NUM_SLICE_GROUP - 1) in DecodePPS()
374 picParam->slice_group_change_rate_minus1 = 0; /* default value */ in DecodePPS()
[all …]