Home
last modified time | relevance | path

Searched refs:vui (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/media/platform/allegro-dvt/
Dnal-h264.c126 struct nal_h264_vui_parameters *vui) in nal_h264_rbsp_vui_parameters() argument
128 if (!vui) { in nal_h264_rbsp_vui_parameters()
133 rbsp_bit(rbsp, &vui->aspect_ratio_info_present_flag); in nal_h264_rbsp_vui_parameters()
134 if (vui->aspect_ratio_info_present_flag) { in nal_h264_rbsp_vui_parameters()
135 rbsp_bits(rbsp, 8, &vui->aspect_ratio_idc); in nal_h264_rbsp_vui_parameters()
136 if (vui->aspect_ratio_idc == 255) { in nal_h264_rbsp_vui_parameters()
137 rbsp_bits(rbsp, 16, &vui->sar_width); in nal_h264_rbsp_vui_parameters()
138 rbsp_bits(rbsp, 16, &vui->sar_height); in nal_h264_rbsp_vui_parameters()
142 rbsp_bit(rbsp, &vui->overscan_info_present_flag); in nal_h264_rbsp_vui_parameters()
143 if (vui->overscan_info_present_flag) in nal_h264_rbsp_vui_parameters()
[all …]
Dnal-hevc.c265 struct nal_hevc_vui_parameters *vui) in nal_hevc_rbsp_vui_parameters() argument
267 if (!vui) { in nal_hevc_rbsp_vui_parameters()
272 rbsp_bit(rbsp, &vui->aspect_ratio_info_present_flag); in nal_hevc_rbsp_vui_parameters()
273 if (vui->aspect_ratio_info_present_flag) { in nal_hevc_rbsp_vui_parameters()
274 rbsp_bits(rbsp, 8, &vui->aspect_ratio_idc); in nal_hevc_rbsp_vui_parameters()
275 if (vui->aspect_ratio_idc == 255) { in nal_hevc_rbsp_vui_parameters()
276 rbsp_bits(rbsp, 16, &vui->sar_width); in nal_hevc_rbsp_vui_parameters()
277 rbsp_bits(rbsp, 16, &vui->sar_height); in nal_hevc_rbsp_vui_parameters()
281 rbsp_bit(rbsp, &vui->overscan_info_present_flag); in nal_hevc_rbsp_vui_parameters()
282 if (vui->overscan_info_present_flag) in nal_hevc_rbsp_vui_parameters()
[all …]
Dallegro-core.c1620 sps->vui.aspect_ratio_info_present_flag = 0; in allegro_h264_write_sps()
1621 sps->vui.overscan_info_present_flag = 0; in allegro_h264_write_sps()
1623 sps->vui.video_signal_type_present_flag = 1; in allegro_h264_write_sps()
1624 sps->vui.video_format = 5; /* unspecified */ in allegro_h264_write_sps()
1625 sps->vui.video_full_range_flag = nal_h264_full_range(channel->quantization); in allegro_h264_write_sps()
1626 sps->vui.colour_description_present_flag = 1; in allegro_h264_write_sps()
1627 sps->vui.colour_primaries = nal_h264_color_primaries(channel->colorspace); in allegro_h264_write_sps()
1628 sps->vui.transfer_characteristics = in allegro_h264_write_sps()
1630 sps->vui.matrix_coefficients = in allegro_h264_write_sps()
1633 sps->vui.chroma_loc_info_present_flag = 1; in allegro_h264_write_sps()
[all …]
Dnal-h264.h145 struct nal_h264_vui_parameters vui; member
Dnal-hevc.h255 struct nal_hevc_vui_parameters vui; member
/linux-6.6.21/drivers/media/platform/qcom/venus/
Dhfi_cmds.c858 struct hfi_h264_vui_timing_info *in = pdata, *vui = prop_data; in pkt_session_set_property_1x() local
860 vui->enable = in->enable; in pkt_session_set_property_1x()
861 vui->fixed_framerate = in->fixed_framerate; in pkt_session_set_property_1x()
862 vui->time_scale = in->time_scale; in pkt_session_set_property_1x()
863 pkt->shdr.hdr.size += sizeof(u32) + sizeof(*vui); in pkt_session_set_property_1x()
/linux-6.6.21/Documentation/userspace-api/media/v4l/
Dext-ctrls-codec.rst739 .. _v4l2-mpeg-video-h264-vui-sar-idc: