/external/libavc/encoder/ |
D | ih264e_encode_header.c | 160 WORD32 ih264e_generate_vui(bitstrm_t *ps_bitstrm, vui_t *ps_vui) in ih264e_generate_vui() argument 165 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_info_present_flag, 1, in ih264e_generate_vui() 168 if(ps_vui->u1_aspect_ratio_info_present_flag) in ih264e_generate_vui() 170 PUT_BITS(ps_bitstrm, ps_vui->u1_aspect_ratio_idc, 8, return_status, in ih264e_generate_vui() 172 if(255 == ps_vui->u1_aspect_ratio_idc) /* Extended_SAR */ in ih264e_generate_vui() 174 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_width, 16, return_status, in ih264e_generate_vui() 177 PUT_BITS(ps_bitstrm, ps_vui->u2_sar_height, 16, return_status, in ih264e_generate_vui() 183 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_info_present_flag, 1, in ih264e_generate_vui() 186 if(ps_vui->u1_overscan_info_present_flag) in ih264e_generate_vui() 189 PUT_BITS(ps_bitstrm, ps_vui->u1_overscan_appropriate_flag, 1, in ih264e_generate_vui() [all …]
|
D | ih264e_api.c | 5816 vui_t *ps_vui = &ps_cfg->s_vui; in ih264e_set_vui_params() local 5820 ps_vui->u1_aspect_ratio_info_present_flag = in ih264e_set_vui_params() 5822 ps_vui->u1_aspect_ratio_idc = ps_ip->u1_aspect_ratio_idc; in ih264e_set_vui_params() 5823 ps_vui->u2_sar_width = ps_ip->u2_sar_width; in ih264e_set_vui_params() 5824 ps_vui->u2_sar_height = ps_ip->u2_sar_height; in ih264e_set_vui_params() 5825 ps_vui->u1_overscan_info_present_flag = in ih264e_set_vui_params() 5827 ps_vui->u1_overscan_appropriate_flag = ps_ip->u1_overscan_appropriate_flag; in ih264e_set_vui_params() 5828 ps_vui->u1_video_signal_type_present_flag = in ih264e_set_vui_params() 5830 ps_vui->u1_video_format = ps_ip->u1_video_format; in ih264e_set_vui_params() 5831 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 | 135 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.h | 207 void ihevce_vbv_complaince_init_level(void *pv_ctxt, vui_t *ps_vui);
|
D | ihevce_rc_interface.c | 5770 void ihevce_vbv_complaince_init_level(void *pv_ctxt, vui_t *ps_vui) in ihevce_vbv_complaince_init_level() argument 5775 …(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() 5777 if(1 == ps_vui->s_vui_hrd_parameters.u1_sub_pic_cpb_params_present_flag) in ihevce_vbv_complaince_init_level() 5779 ASSERT(1 == ps_vui->s_vui_hrd_parameters.u1_sub_pic_cpb_params_present_flag); in ihevce_vbv_complaince_init_level() 5782 … (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() 5784 << (6 + ps_vui->s_vui_hrd_parameters in ihevce_vbv_complaince_init_level() 5788 … (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() 5790 << (4 + ps_vui->s_vui_hrd_parameters in ihevce_vbv_complaince_init_level() 5796 (ps_vui->s_vui_hrd_parameters.as_sub_layer_hrd_params[0].au4_bit_rate_value_minus1[0] + in ihevce_vbv_complaince_init_level() 5798 << (6 + ps_vui->s_vui_hrd_parameters in ihevce_vbv_complaince_init_level() [all …]
|
/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 | 3177 vui_t *ps_vui; in ihevcd_get_vui_params() local 3208 ps_vui = &ps_sps->s_vui_parameters; in ihevcd_get_vui_params() 3211 ps_op->u1_aspect_ratio_info_present_flag = ps_vui->u1_aspect_ratio_info_present_flag; in ihevcd_get_vui_params() 3212 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ihevcd_get_vui_params() 3213 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ihevcd_get_vui_params() 3214 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ihevcd_get_vui_params() 3215 ps_op->u1_overscan_info_present_flag = ps_vui->u1_overscan_info_present_flag; in ihevcd_get_vui_params() 3216 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ihevcd_get_vui_params() 3217 ps_op->u1_video_signal_type_present_flag = ps_vui->u1_video_signal_type_present_flag; in ihevcd_get_vui_params() 3218 ps_op->u1_video_format = ps_vui->u1_video_format; in ihevcd_get_vui_params() [all …]
|
/external/libavc/decoder/ |
D | ih264d_api.c | 3769 vui_t *ps_vui; in ih264d_get_vui_params() local 3795 ps_vui = &ps_sps->s_vui; in ih264d_get_vui_params() 3797 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ih264d_get_vui_params() 3798 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ih264d_get_vui_params() 3799 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ih264d_get_vui_params() 3800 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ih264d_get_vui_params() 3801 ps_op->u1_video_format = ps_vui->u1_video_format; in ih264d_get_vui_params() 3802 ps_op->u1_video_full_range_flag = ps_vui->u1_video_full_range_flag; in ih264d_get_vui_params() 3803 ps_op->u1_colour_primaries = ps_vui->u1_colour_primaries; in ih264d_get_vui_params() 3804 ps_op->u1_tfr_chars = ps_vui->u1_tfr_chars; in ih264d_get_vui_params() [all …]
|