Home
last modified time | relevance | path

Searched refs:ps_vui (Results 1 – 6 of 6) sorted by relevance

/external/libavc/encoder/
Dih264e_encode_header.c158 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 …]
Dih264e_api.c5278 vui_t *ps_vui = &ps_cfg->s_vui; in ih264e_set_vui_params() local
5282 ps_vui->u1_aspect_ratio_info_present_flag = in ih264e_set_vui_params()
5284 ps_vui->u1_aspect_ratio_idc = ps_ip->u1_aspect_ratio_idc; in ih264e_set_vui_params()
5285 ps_vui->u2_sar_width = ps_ip->u2_sar_width; in ih264e_set_vui_params()
5286 ps_vui->u2_sar_height = ps_ip->u2_sar_height; in ih264e_set_vui_params()
5287 ps_vui->u1_overscan_info_present_flag = in ih264e_set_vui_params()
5289 ps_vui->u1_overscan_appropriate_flag = ps_ip->u1_overscan_appropriate_flag; in ih264e_set_vui_params()
5290 ps_vui->u1_video_signal_type_present_flag = in ih264e_set_vui_params()
5292 ps_vui->u1_video_format = ps_ip->u1_video_format; in ih264e_set_vui_params()
5293 ps_vui->u1_video_full_range_flag = ps_ip->u1_video_full_range_flag; in ih264e_set_vui_params()
[all …]
Dih264e_encode_header.h105 vui_t *ps_vui
/external/libhevc/decoder/
Dihevcd_parse_headers.c668 vui_t *ps_vui, in ihevcd_parse_vui_parameters() argument
673 …BITS_PARSE("aspect_ratio_info_present_flag", ps_vui->u1_aspect_ratio_info_present_flag, ps_bitstrm… in ihevcd_parse_vui_parameters()
675 ps_vui->u1_aspect_ratio_idc = SAR_UNUSED; in ihevcd_parse_vui_parameters()
676 ps_vui->u2_sar_width = 0; in ihevcd_parse_vui_parameters()
677 ps_vui->u2_sar_height = 0; in ihevcd_parse_vui_parameters()
678 if(ps_vui->u1_aspect_ratio_info_present_flag) in ihevcd_parse_vui_parameters()
680 BITS_PARSE("aspect_ratio_idc", ps_vui->u1_aspect_ratio_idc, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
681 if(ps_vui->u1_aspect_ratio_idc == EXTENDED_SAR) in ihevcd_parse_vui_parameters()
683 BITS_PARSE("sar_width", ps_vui->u2_sar_width, ps_bitstrm, 16); in ihevcd_parse_vui_parameters()
684 BITS_PARSE("sar_height", ps_vui->u2_sar_height, ps_bitstrm, 16); in ihevcd_parse_vui_parameters()
[all …]
Dihevcd_api.c3059 vui_t *ps_vui; in ihevcd_get_vui_params() local
3090 ps_vui = &ps_sps->s_vui_parameters; in ihevcd_get_vui_params()
3093 ps_op->u1_aspect_ratio_info_present_flag = ps_vui->u1_aspect_ratio_info_present_flag; in ihevcd_get_vui_params()
3094 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ihevcd_get_vui_params()
3095 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ihevcd_get_vui_params()
3096 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ihevcd_get_vui_params()
3097 ps_op->u1_overscan_info_present_flag = ps_vui->u1_overscan_info_present_flag; in ihevcd_get_vui_params()
3098 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ihevcd_get_vui_params()
3099 ps_op->u1_video_signal_type_present_flag = ps_vui->u1_video_signal_type_present_flag; in ihevcd_get_vui_params()
3100 ps_op->u1_video_format = ps_vui->u1_video_format; in ihevcd_get_vui_params()
[all …]
/external/libavc/decoder/
Dih264d_api.c3534 vui_t *ps_vui; in ih264d_get_vui_params() local
3560 ps_vui = &ps_sps->s_vui; in ih264d_get_vui_params()
3562 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ih264d_get_vui_params()
3563 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ih264d_get_vui_params()
3564 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ih264d_get_vui_params()
3565 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ih264d_get_vui_params()
3566 ps_op->u1_video_format = ps_vui->u1_video_format; in ih264d_get_vui_params()
3567 ps_op->u1_video_full_range_flag = ps_vui->u1_video_full_range_flag; in ih264d_get_vui_params()
3568 ps_op->u1_colour_primaries = ps_vui->u1_colour_primaries; in ih264d_get_vui_params()
3569 ps_op->u1_tfr_chars = ps_vui->u1_tfr_chars; in ih264d_get_vui_params()
[all …]