• Home
  • Raw
  • Download

Lines Matching refs:seq_param

87 static  VAEncSequenceParameterBufferH264 seq_param;  variable
313 bitstream_put_ui(bs, seq_param.level_idc, 8); /* level_idc */ in sps_rbsp()
314 bitstream_put_ue(bs, seq_param.seq_parameter_set_id); /* seq_parameter_set_id */ in sps_rbsp()
324 …bitstream_put_ue(bs, seq_param.seq_fields.bits.log2_max_frame_num_minus4); /* log2_max_frame_num_m… in sps_rbsp()
325 …bitstream_put_ue(bs, seq_param.seq_fields.bits.pic_order_cnt_type); /* pic_order_cnt_type */ in sps_rbsp()
327 if (seq_param.seq_fields.bits.pic_order_cnt_type == 0) in sps_rbsp()
328 …bitstream_put_ue(bs, seq_param.seq_fields.bits.log2_max_pic_order_cnt_lsb_minus4); /* log2_max… in sps_rbsp()
333 bitstream_put_ue(bs, seq_param.max_num_ref_frames); /* num_ref_frames */ in sps_rbsp()
336 bitstream_put_ue(bs, seq_param.picture_width_in_mbs - 1); /* pic_width_in_mbs_minus1 */ in sps_rbsp()
337 bitstream_put_ue(bs, seq_param.picture_height_in_mbs - 1); /* pic_height_in_map_units_minus1 */ in sps_rbsp()
338 …bitstream_put_ui(bs, seq_param.seq_fields.bits.frame_mbs_only_flag, 1); /* frame_mbs_only_flag … in sps_rbsp()
340 if (!seq_param.seq_fields.bits.frame_mbs_only_flag) { in sps_rbsp()
344 …bitstream_put_ui(bs, seq_param.seq_fields.bits.direct_8x8_inference_flag, 1); /* direct_8x8_i… in sps_rbsp()
345 bitstream_put_ui(bs, seq_param.frame_cropping_flag, 1); /* frame_cropping_flag */ in sps_rbsp()
347 if (seq_param.frame_cropping_flag) { in sps_rbsp()
348 bitstream_put_ue(bs, seq_param.frame_crop_left_offset); /* frame_crop_left_offset */ in sps_rbsp()
349 bitstream_put_ue(bs, seq_param.frame_crop_right_offset); /* frame_crop_right_offset */ in sps_rbsp()
350 bitstream_put_ue(bs, seq_param.frame_crop_top_offset); /* frame_crop_top_offset */ in sps_rbsp()
351 … bitstream_put_ue(bs, seq_param.frame_crop_bottom_offset); /* frame_crop_bottom_offset */ in sps_rbsp()
1289 seq_param.level_idc = 41 /*SH_LEVEL_3*/; in render_sequence()
1290 seq_param.picture_width_in_mbs = frame_width_mbaligned / 16; in render_sequence()
1291 seq_param.picture_height_in_mbs = frame_height_mbaligned / 16; in render_sequence()
1292 seq_param.bits_per_second = frame_bitrate; in render_sequence()
1294 seq_param.intra_period = intra_period; in render_sequence()
1295 seq_param.intra_idr_period = intra_idr_period; in render_sequence()
1296 seq_param.ip_period = ip_period; in render_sequence()
1298 seq_param.max_num_ref_frames = num_ref_frames; in render_sequence()
1299 seq_param.seq_fields.bits.frame_mbs_only_flag = 1; in render_sequence()
1300 seq_param.time_scale = 900; in render_sequence()
1301 seq_param.num_units_in_tick = 15; /* Tc = num_units_in_tick / time_sacle */ in render_sequence()
1302 seq_param.seq_fields.bits.log2_max_pic_order_cnt_lsb_minus4 = Log2MaxPicOrderCntLsb - 4; in render_sequence()
1303 seq_param.seq_fields.bits.log2_max_frame_num_minus4 = Log2MaxFrameNum - 4;; in render_sequence()
1304 seq_param.seq_fields.bits.frame_mbs_only_flag = 1; in render_sequence()
1305 seq_param.seq_fields.bits.chroma_format_idc = 1; in render_sequence()
1306 seq_param.seq_fields.bits.direct_8x8_inference_flag = 1; in render_sequence()
1310 seq_param.frame_cropping_flag = 1; in render_sequence()
1311 seq_param.frame_crop_left_offset = 0; in render_sequence()
1312 seq_param.frame_crop_right_offset = (frame_width_mbaligned - frame_width)/2; in render_sequence()
1313 seq_param.frame_crop_top_offset = 0; in render_sequence()
1314 seq_param.frame_crop_bottom_offset = (frame_height_mbaligned - frame_height)/2; in render_sequence()
1319 sizeof(seq_param),1,&seq_param,&seq_param_buf); in render_sequence()
1964 memset(&seq_param, 0, sizeof(seq_param)); in encode_frames()