Lines Matching refs:avcSeqParams

949     VAEncSequenceParameterBufferH264 avcSeqParams = VAEncSequenceParameterBufferH264();  in renderSequenceParams()  local
983 avcSeqParams.intra_period = mComParams.intraPeriod; in renderSequenceParams()
984 avcSeqParams.intra_idr_period = mVideoParamsAVC.idrInterval; in renderSequenceParams()
985 avcSeqParams.ip_period = mVideoParamsAVC.ipPeriod; in renderSequenceParams()
986 avcSeqParams.picture_width_in_mbs = (mComParams.resolution.width + 15) / 16; in renderSequenceParams()
987 avcSeqParams.picture_height_in_mbs = (mComParams.resolution.height + 15) / 16; in renderSequenceParams()
989 level = calcLevel (avcSeqParams.picture_width_in_mbs * avcSeqParams.picture_height_in_mbs); in renderSequenceParams()
990 avcSeqParams.level_idc = level; in renderSequenceParams()
991 avcSeqParams.bits_per_second = mComParams.rcParams.bitRate; in renderSequenceParams()
1005 avcSeqParams.intra_period = mComParams.intraPeriod; in renderSequenceParams()
1007 avcSeqParams.vui_parameters_present_flag = mVideoParamsAVC.VUIFlag; in renderSequenceParams()
1008 avcSeqParams.num_units_in_tick = frameRateDenom; in renderSequenceParams()
1009 avcSeqParams.time_scale = 2 * frameRateNum; in renderSequenceParams()
1010 avcSeqParams.seq_parameter_set_id = 0; in renderSequenceParams()
1015 avcSeqParams.frame_cropping_flag = true; in renderSequenceParams()
1016 avcSeqParams.frame_crop_left_offset = mVideoParamsAVC.crop.LeftOffset; in renderSequenceParams()
1017 avcSeqParams.frame_crop_right_offset = mVideoParamsAVC.crop.RightOffset; in renderSequenceParams()
1018 avcSeqParams.frame_crop_top_offset = mVideoParamsAVC.crop.TopOffset; in renderSequenceParams()
1019 avcSeqParams.frame_crop_bottom_offset = mVideoParamsAVC.crop.BottomOffset; in renderSequenceParams()
1021 avcSeqParams.frame_cropping_flag = false; in renderSequenceParams()
1024 avcSeqParams.frame_cropping_flag = true; in renderSequenceParams()
1026 avcSeqParams.frame_crop_right_offset = ( AWidth - mComParams.resolution.width ) / 2; in renderSequenceParams()
1030 avcSeqParams.frame_cropping_flag = true; in renderSequenceParams()
1032 avcSeqParams.frame_crop_bottom_offset = ( AHeight - mComParams.resolution.height ) / 2; in renderSequenceParams()
1036 …if(avcSeqParams.vui_parameters_present_flag && (mVideoParamsAVC.SAR.SarWidth || mVideoParamsAVC.SA… in renderSequenceParams()
1037 avcSeqParams.vui_fields.bits.aspect_ratio_info_present_flag = true; in renderSequenceParams()
1038 avcSeqParams.aspect_ratio_idc = 0xff /* Extended_SAR */; in renderSequenceParams()
1039 avcSeqParams.sar_width = mVideoParamsAVC.SAR.SarWidth; in renderSequenceParams()
1040 avcSeqParams.sar_height = mVideoParamsAVC.SAR.SarHeight; in renderSequenceParams()
1043 avcSeqParams.max_num_ref_frames = 1; in renderSequenceParams()
1045 if(avcSeqParams.ip_period > 1) in renderSequenceParams()
1046 avcSeqParams.max_num_ref_frames = 2; in renderSequenceParams()
1049 LOG_V( "seq_parameter_set_id = %d\n", (uint32_t)avcSeqParams.seq_parameter_set_id); in renderSequenceParams()
1050 LOG_V( "level_idc = %d\n", (uint32_t)avcSeqParams.level_idc); in renderSequenceParams()
1051 LOG_V( "intra_period = %d\n", avcSeqParams.intra_period); in renderSequenceParams()
1052 LOG_V( "idr_interval = %d\n", avcSeqParams.intra_idr_period); in renderSequenceParams()
1053 LOG_V( "picture_width_in_mbs = %d\n", avcSeqParams.picture_width_in_mbs); in renderSequenceParams()
1054 LOG_V( "picture_height_in_mbs = %d\n", avcSeqParams.picture_height_in_mbs); in renderSequenceParams()
1063 avcSeqParams.seq_fields.bits.frame_mbs_only_flag = 1; in renderSequenceParams()
1064 avcSeqParams.seq_fields.bits.pic_order_cnt_type = 0; in renderSequenceParams()
1065 avcSeqParams.seq_fields.bits.direct_8x8_inference_flag = mVideoParamsAVC.bDirect8x8Inference; in renderSequenceParams()
1067 avcSeqParams.seq_fields.bits.log2_max_frame_num_minus4 = 0; in renderSequenceParams()
1068 avcSeqParams.seq_fields.bits.log2_max_pic_order_cnt_lsb_minus4 = 2; in renderSequenceParams()
1080 sizeof(avcSeqParams), 1, &avcSeqParams, in renderSequenceParams()
1096 VAEncSequenceParameterBufferH264 *avcSeqParams; in renderPackedSequenceParams() local
1103 vaStatus = vaMapBuffer(mVADisplay, mSeqParamBuf, (void **)&avcSeqParams); in renderPackedSequenceParams()
1106 length_in_bits = build_packed_seq_buffer(&packed_seq_buffer, mComParams.profile, avcSeqParams); in renderPackedSequenceParams()