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.c667 vui_t *ps_vui, in ihevcd_parse_vui_parameters() argument
674 …BITS_PARSE("aspect_ratio_info_present_flag", ps_vui->u1_aspect_ratio_info_present_flag, ps_bitstrm… in ihevcd_parse_vui_parameters()
676 ps_vui->u1_aspect_ratio_idc = SAR_UNUSED; in ihevcd_parse_vui_parameters()
679 if(ps_vui->u1_aspect_ratio_info_present_flag) in ihevcd_parse_vui_parameters()
681 BITS_PARSE("aspect_ratio_idc", ps_vui->u1_aspect_ratio_idc, ps_bitstrm, 8); in ihevcd_parse_vui_parameters()
682 switch(ps_vui->u1_aspect_ratio_idc) in ihevcd_parse_vui_parameters()
759 ps_vui->u2_sar_width = u2_sar_width; in ihevcd_parse_vui_parameters()
760 ps_vui->u2_sar_height = u2_sar_height; in ihevcd_parse_vui_parameters()
762 BITS_PARSE("overscan_info_present_flag", ps_vui->u1_overscan_info_present_flag, ps_bitstrm, 1); in ihevcd_parse_vui_parameters()
763 ps_vui->u1_overscan_appropriate_flag = 0; in ihevcd_parse_vui_parameters()
[all …]
Dihevcd_api.c3064 vui_t *ps_vui; in ihevcd_get_vui_params() local
3095 ps_vui = &ps_sps->s_vui_parameters; in ihevcd_get_vui_params()
3098 ps_op->u1_aspect_ratio_info_present_flag = ps_vui->u1_aspect_ratio_info_present_flag; in ihevcd_get_vui_params()
3099 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ihevcd_get_vui_params()
3100 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ihevcd_get_vui_params()
3101 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ihevcd_get_vui_params()
3102 ps_op->u1_overscan_info_present_flag = ps_vui->u1_overscan_info_present_flag; in ihevcd_get_vui_params()
3103 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ihevcd_get_vui_params()
3104 ps_op->u1_video_signal_type_present_flag = ps_vui->u1_video_signal_type_present_flag; in ihevcd_get_vui_params()
3105 ps_op->u1_video_format = ps_vui->u1_video_format; in ihevcd_get_vui_params()
[all …]
/external/libavc/decoder/
Dih264d_api.c3592 vui_t *ps_vui; in ih264d_get_vui_params() local
3618 ps_vui = &ps_sps->s_vui; in ih264d_get_vui_params()
3620 ps_op->u1_aspect_ratio_idc = ps_vui->u1_aspect_ratio_idc; in ih264d_get_vui_params()
3621 ps_op->u2_sar_width = ps_vui->u2_sar_width; in ih264d_get_vui_params()
3622 ps_op->u2_sar_height = ps_vui->u2_sar_height; in ih264d_get_vui_params()
3623 ps_op->u1_overscan_appropriate_flag = ps_vui->u1_overscan_appropriate_flag; in ih264d_get_vui_params()
3624 ps_op->u1_video_format = ps_vui->u1_video_format; in ih264d_get_vui_params()
3625 ps_op->u1_video_full_range_flag = ps_vui->u1_video_full_range_flag; in ih264d_get_vui_params()
3626 ps_op->u1_colour_primaries = ps_vui->u1_colour_primaries; in ih264d_get_vui_params()
3627 ps_op->u1_tfr_chars = ps_vui->u1_tfr_chars; in ih264d_get_vui_params()
[all …]