/external/libavc/encoder/ |
D | ih264e_encode_header.c | 158 WORD32 ih264e_generate_vui(bitstrm_t *ps_bitstrm, vui_t *ps_vui) in ih264e_generate_vui() argument 163 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_info_present_flag, 1, in ih264e_generate_vui() 166 if(ps_vui->u1_aspect_ratio_info_present_flag) in ih264e_generate_vui() 168 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_idc, 8, return_status, in ih264e_generate_vui() 170 if(255 == ps_vui->u1_aspect_ratio_idc) /* Extended_SAR */ in ih264e_generate_vui() 172 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_width, 16, return_status, in ih264e_generate_vui() 175 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_height, 16, return_status, in ih264e_generate_vui() 181 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_info_present_flag, 1, in ih264e_generate_vui() 184 if(ps_vui->u1_overscan_info_present_flag) in ih264e_generate_vui() 187 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_appropriate_flag, 1, in ih264e_generate_vui() [all …]
|
D | ih264e_api.c | 5296 vui_t *ps_vui = &ps_cfg->s_vui; in ih264e_set_vui_params() local 5300 ps_vui->u1_aspect_ratio_info_present_flag = in ih264e_set_vui_params() 5302 ps_vui->u1_aspect_ratio_idc = ps_ip->u1_aspect_ratio_idc; in ih264e_set_vui_params() 5303 ps_vui->u2_sar_width = ps_ip->u2_sar_width; in ih264e_set_vui_params() 5304 ps_vui->u2_sar_height = ps_ip->u2_sar_height; in ih264e_set_vui_params() 5305 ps_vui->u1_overscan_info_present_flag = in ih264e_set_vui_params() 5307 ps_vui->u1_overscan_appropriate_flag = ps_ip->u1_overscan_appropriate_flag; in ih264e_set_vui_params() 5308 ps_vui->u1_video_signal_type_present_flag = in ih264e_set_vui_params() 5310 ps_vui->u1_video_format = ps_ip->u1_video_format; in ih264e_set_vui_params() 5311 ps_vui->u1_video_full_range_flag = ps_ip->u1_video_full_range_flag; in ih264e_set_vui_params() [all …]
|
D | ih264e_encode_header.h | 105 vui_t *ps_vui
|
/external/libhevc/encoder/ |
D | ihevce_encode_header_sei_vui.c | 1809 vui_t *ps_vui, in ihevce_populate_picture_timing_sei() argument 1818 WORD32 field_seq_flag = ps_vui->u1_field_seq_flag; in ihevce_populate_picture_timing_sei() 1820 if(ps_vui->u1_frame_field_info_present_flag) in ihevce_populate_picture_timing_sei() 1925 sei_params_t *ps_sei, vui_t *ps_vui, sps_t *ps_sps, ihevce_vui_sei_params_t *ps_vui_sei_prms) in ihevce_populate_buffering_period_sei() argument 1933 hrd_params_t *ps_vui_hrd_parameters = &ps_vui->s_vui_hrd_parameters; in ihevce_populate_buffering_period_sei() 1946 ps_vui->s_vui_hrd_parameters.u1_initial_cpb_removal_delay_length_minus1 + 1; in ihevce_populate_buffering_period_sei() 1961 if(ps_vui->s_vui_hrd_parameters.u1_nal_hrd_parameters_present_flag) in ihevce_populate_buffering_period_sei() 1966 if(1 == ps_vui->s_vui_hrd_parameters.u1_sub_pic_cpb_params_present_flag) in ihevce_populate_buffering_period_sei() 1968 ASSERT(1 == ps_vui->s_vui_hrd_parameters.u1_sub_pic_cpb_params_present_flag); in ihevce_populate_buffering_period_sei() 1991 ps_vui->s_vui_hrd_parameters.u1_sub_pic_cpb_params_present_flag) in ihevce_populate_buffering_period_sei() [all …]
|
D | ihevce_encode_header_sei_vui.h | 144 vui_t *ps_vui, 149 sei_params_t *ps_sei, vui_t *ps_vui, sps_t *ps_sps, ihevce_vui_sei_params_t *ps_vui_sei_prms); 168 vui_t *ps_vui,
|
D | ihevce_rc_interface.c | 5764 void ihevce_vbv_complaince_init_level(void *pv_ctxt, vui_t *ps_vui) in ihevce_vbv_complaince_init_level() argument 5769 …(float)((float)ps_vui->u4_vui_time_scale / ps_vui->u4_vui_num_units_in_tick); //rc_get_frame_rate… in ihevce_vbv_complaince_init_level() 5771 if(1 == ps_vui->s_vui_hrd_parameters.u1_sub_pic_cpb_params_present_flag) in ihevce_vbv_complaince_init_level() 5773 ASSERT(1 == ps_vui->s_vui_hrd_parameters.u1_sub_pic_cpb_params_present_flag); in ihevce_vbv_complaince_init_level() 5776 … (ps_vui->s_vui_hrd_parameters.as_sub_layer_hrd_params[0].au4_bit_rate_du_value_minus1[0] + in ihevce_vbv_complaince_init_level() 5778 << (6 + ps_vui->s_vui_hrd_parameters in ihevce_vbv_complaince_init_level() 5782 … (ps_vui->s_vui_hrd_parameters.as_sub_layer_hrd_params[0].au4_cpb_size_du_value_minus1[0] + in ihevce_vbv_complaince_init_level() 5784 << (4 + ps_vui->s_vui_hrd_parameters in ihevce_vbv_complaince_init_level() 5790 (ps_vui->s_vui_hrd_parameters.as_sub_layer_hrd_params[0].au4_bit_rate_value_minus1[0] + in ihevce_vbv_complaince_init_level() 5792 << (6 + ps_vui->s_vui_hrd_parameters in ihevce_vbv_complaince_init_level() [all …]
|
D | ihevce_rc_interface.h | 207 void ihevce_vbv_complaince_init_level(void *pv_ctxt, vui_t *ps_vui);
|
/external/libhevc/decoder/ |
D | ihevcd_parse_headers.c | 765 vui_t *ps_vui, in ihevcd_parse_vui_parameters() argument 772 …BITS_PARSE("aspect_ratio_info_present_flag", ps_vui->u1_aspect_ratio_info_present_flag, ps_bitstrm… in ihevcd_parse_vui_parameters() 774 ps_vui->u1_aspect_ratio_idc = SAR_UNUSED; in ihevcd_parse_vui_parameters() 777 if(ps_vui->u1_aspect_ratio_info_present_flag) in ihevcd_parse_vui_parameters() 779 BITS_PARSE("aspect_ratio_idc", ps_vui->u1_aspect_ratio_idc, ps_bitstrm, 8); in ihevcd_parse_vui_parameters() 780 switch(ps_vui->u1_aspect_ratio_idc) in ihevcd_parse_vui_parameters() 857 ps_vui->u2_sar_width = u2_sar_width; in ihevcd_parse_vui_parameters() 858 ps_vui->u2_sar_height = u2_sar_height; in ihevcd_parse_vui_parameters() 860 BITS_PARSE("overscan_info_present_flag", ps_vui->u1_overscan_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters() 861 ps_vui->u1_overscan_appropriate_flag = 0; in ihevcd_parse_vui_parameters() [all …]
|
D | ihevcd_api.c | 3094 vui_t *ps_vui; in ihevcd_get_vui_params() local 3125 ps_vui = &ps_sps->s_vui_parameters; in ihevcd_get_vui_params() 3128 ps_op->u1_aspect_ratio_info_present_flag = ps_vui->u1_aspect_ratio_info_present_flag; in ihevcd_get_vui_params() 3129 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ihevcd_get_vui_params() 3130 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ihevcd_get_vui_params() 3131 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ihevcd_get_vui_params() 3132 ps_op->u1_overscan_info_present_flag = ps_vui->u1_overscan_info_present_flag; in ihevcd_get_vui_params() 3133 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ihevcd_get_vui_params() 3134 ps_op->u1_video_signal_type_present_flag = ps_vui->u1_video_signal_type_present_flag; in ihevcd_get_vui_params() 3135 ps_op->u1_video_format = ps_vui->u1_video_format; in ihevcd_get_vui_params() [all …]
|
/external/libavc/decoder/ |
D | ih264d_api.c | 3575 vui_t *ps_vui; in ih264d_get_vui_params() local 3601 ps_vui = &ps_sps->s_vui; in ih264d_get_vui_params() 3603 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ih264d_get_vui_params() 3604 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ih264d_get_vui_params() 3605 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ih264d_get_vui_params() 3606 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ih264d_get_vui_params() 3607 ps_op->u1_video_format = ps_vui->u1_video_format; in ih264d_get_vui_params() 3608 ps_op->u1_video_full_range_flag = ps_vui->u1_video_full_range_flag; in ih264d_get_vui_params() 3609 ps_op->u1_colour_primaries = ps_vui->u1_colour_primaries; in ih264d_get_vui_params() 3610 ps_op->u1_tfr_chars = ps_vui->u1_tfr_chars; in ih264d_get_vui_params() [all …]
|