Home
last modified time | relevance | path

Searched refs:seqParam (Results 1 – 4 of 4) sorted by relevance

/external/opencore/codecs_v2/video/avc_h264/enc/src/
Dinit.cpp31 AVCSeqParamSet *seqParam = video->currSeqParams; in SetEncodeParam() local
102 seqParam->log2_max_frame_num_minus4 = ii - 4;//LOG2_MAX_FRAME_NUM_MINUS4; /* default */ in SetEncodeParam()
108 seqParam->seq_parameter_set_id = 0; /* start with zero */ in SetEncodeParam()
110 seqParam->pic_order_cnt_type = encParam->poc_type; /* POC type */ in SetEncodeParam()
118 seqParam->log2_max_pic_order_cnt_lsb_minus4 = encParam->log2_max_poc_lsb_minus_4; in SetEncodeParam()
122 seqParam->delta_pic_order_always_zero_flag = encParam->delta_poc_zero_flag; in SetEncodeParam()
123 seqParam->offset_for_non_ref_pic = encParam->offset_poc_non_ref; in SetEncodeParam()
124 seqParam->offset_for_top_to_bottom_field = encParam->offset_top_bottom; in SetEncodeParam()
125 seqParam->num_ref_frames_in_pic_order_cnt_cycle = encParam->num_ref_in_cycle; in SetEncodeParam()
132 seqParam->offset_for_ref_frame[ii] = encParam->offset_poc_ref[ii]; in SetEncodeParam()
[all …]
Dheader.cpp28 AVCSeqParamSet *seqParam = video->currSeqParams; in EncodeSPS() local
29 AVCVUIParams *vui = &(seqParam->vui_parameters); in EncodeSPS()
35 status = BitstreamWriteBits(stream, 8, seqParam->profile_idc); in EncodeSPS()
36 status = BitstreamWrite1Bit(stream, seqParam->constrained_set0_flag); in EncodeSPS()
37 status = BitstreamWrite1Bit(stream, seqParam->constrained_set1_flag); in EncodeSPS()
38 status = BitstreamWrite1Bit(stream, seqParam->constrained_set2_flag); in EncodeSPS()
39 status = BitstreamWrite1Bit(stream, seqParam->constrained_set3_flag); in EncodeSPS()
46 status = BitstreamWriteBits(stream, 8, seqParam->level_idc); in EncodeSPS()
47 status = ue_v(stream, seqParam->seq_parameter_set_id); in EncodeSPS()
48 status = ue_v(stream, seqParam->log2_max_frame_num_minus4); in EncodeSPS()
[all …]
Davcenc_lib.h107 …AVCEnc_Status VerifyProfile(AVCEncObject *video, AVCSeqParamSet *seqParam, AVCPicParamSet *picPara…
122 …AVCEnc_Status VerifyLevel(AVCEncObject *video, AVCSeqParamSet *seqParam, AVCPicParamSet *picParam);
/external/opencore/codecs_v2/video/avc_h264/dec/src/
Dheader.cpp27 AVCSeqParamSet *seqParam; in DecodeSPS() local
76 seqParam = decvid->seqParams[seq_parameter_set_id]; in DecodeSPS()
78 seqParam->profile_idc = profile_idc; in DecodeSPS()
79 seqParam->constrained_set0_flag = constrained_set0_flag; in DecodeSPS()
80 seqParam->constrained_set1_flag = constrained_set1_flag; in DecodeSPS()
81 seqParam->constrained_set2_flag = constrained_set2_flag; in DecodeSPS()
82 seqParam->level_idc = level_idc; in DecodeSPS()
83 seqParam->seq_parameter_set_id = seq_parameter_set_id; in DecodeSPS()
86 ue_v(stream, &(seqParam->log2_max_frame_num_minus4)); in DecodeSPS()
88 if (seqParam->log2_max_frame_num_minus4 > 12) in DecodeSPS()
[all …]