Home
last modified time | relevance | path

Searched refs:display_primaries (Results 1 – 25 of 31) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-hdr.c37 (m)->display_primaries[0].x, (m)->display_primaries[0].y, \
38 (m)->display_primaries[1].x, (m)->display_primaries[1].y, \
39 (m)->display_primaries[2].x, (m)->display_primaries[2].y, \
89 for (i = 0; i < G_N_ELEMENTS (minfo->display_primaries); i++) { in gst_video_mastering_display_info_from_string()
94 minfo->display_primaries[i].x = (guint16) val; in gst_video_mastering_display_info_from_string()
100 minfo->display_primaries[i].y = (guint16) val; in gst_video_mastering_display_info_from_string()
175 for (i = 0; i < G_N_ELEMENTS (minfo->display_primaries); i++) { in gst_video_mastering_display_info_is_equal()
176 if (minfo->display_primaries[i].x != other->display_primaries[i].x || in gst_video_mastering_display_info_is_equal()
177 minfo->display_primaries[i].y != other->display_primaries[i].y) in gst_video_mastering_display_info_is_equal()
Dvideo-hdr.h67 GstVideoMasteringDisplayInfoCoordinates display_primaries[3]; member
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvh265enc.c440 minfo->display_primaries[0].x, minfo->display_primaries[0].y, in gst_nv_h265_enc_create_mastering_display_sei_nal()
441 minfo->display_primaries[1].x, minfo->display_primaries[1].y, in gst_nv_h265_enc_create_mastering_display_sei_nal()
442 minfo->display_primaries[2].x, minfo->display_primaries[2].y, in gst_nv_h265_enc_create_mastering_display_sei_nal()
460 minfo->display_primaries[(i + 1) % 3].x); in gst_nv_h265_enc_create_mastering_display_sei_nal()
462 minfo->display_primaries[(i + 1) % 3].y); in gst_nv_h265_enc_create_mastering_display_sei_nal()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtphdrext-colorspace.c178 GST_WRITE_UINT16_BE (ptr, self->mdi.display_primaries[i].x); in gst_rtp_header_extension_colorspace_write()
180 GST_WRITE_UINT16_BE (ptr, self->mdi.display_primaries[i].y); in gst_rtp_header_extension_colorspace_write()
300 &mastering_display_info->display_primaries[i].x)) { in parse_colorspace_with_hdr_meta()
305 &mastering_display_info->display_primaries[i].y)) { in parse_colorspace_with_hdr_meta()
/third_party/ffmpeg/libavfilter/
Dvf_showinfo.c172 av_q2d(mastering_display->display_primaries[0][0]), in dump_mastering_display()
173 av_q2d(mastering_display->display_primaries[0][1]), in dump_mastering_display()
174 av_q2d(mastering_display->display_primaries[1][0]), in dump_mastering_display()
175 av_q2d(mastering_display->display_primaries[1][1]), in dump_mastering_display()
176 av_q2d(mastering_display->display_primaries[2][0]), in dump_mastering_display()
177 av_q2d(mastering_display->display_primaries[2][1]), in dump_mastering_display()
Dvf_tonemap_vaapi.c94 av_q2d(hdr_meta->display_primaries[j][0])), in tonemap_vaapi_save_metadata()
98 av_q2d(hdr_meta->display_primaries[j][1])), in tonemap_vaapi_save_metadata()
/third_party/ffmpeg/libavutil/
Dmastering_display_metadata.h42 AVRational display_primaries[3][2]; member
/third_party/ffmpeg/libavformat/
Ddump.c347 av_q2d(metadata->display_primaries[0][0]), in dump_mastering_display_metadata()
348 av_q2d(metadata->display_primaries[0][1]), in dump_mastering_display_metadata()
349 av_q2d(metadata->display_primaries[1][0]), in dump_mastering_display_metadata()
350 av_q2d(metadata->display_primaries[1][1]), in dump_mastering_display_metadata()
351 av_q2d(metadata->display_primaries[2][0]), in dump_mastering_display_metadata()
352 av_q2d(metadata->display_primaries[2][1]), in dump_mastering_display_metadata()
Dmatroskaenc.c888 av_q2d(metadata->display_primaries[0][0])); in mkv_write_video_color()
890 av_q2d(metadata->display_primaries[0][1])); in mkv_write_video_color()
892 av_q2d(metadata->display_primaries[1][0])); in mkv_write_video_color()
894 av_q2d(metadata->display_primaries[1][1])); in mkv_write_video_color()
896 av_q2d(metadata->display_primaries[2][0])); in mkv_write_video_color()
898 av_q2d(metadata->display_primaries[2][1])); in mkv_write_video_color()
Dmxfenc.c1294 avio_wb16(pb, rescale_mastering_chroma(metadata->display_primaries[0][0])); in mxf_write_cdci_common()
1295 avio_wb16(pb, rescale_mastering_chroma(metadata->display_primaries[0][1])); in mxf_write_cdci_common()
1296 avio_wb16(pb, rescale_mastering_chroma(metadata->display_primaries[1][0])); in mxf_write_cdci_common()
1297 avio_wb16(pb, rescale_mastering_chroma(metadata->display_primaries[1][1])); in mxf_write_cdci_common()
1298 avio_wb16(pb, rescale_mastering_chroma(metadata->display_primaries[2][0])); in mxf_write_cdci_common()
1299 avio_wb16(pb, rescale_mastering_chroma(metadata->display_primaries[2][1])); in mxf_write_cdci_common()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11pluginutils.cpp146 dxgi_hdr10->RedPrimary[0] = minfo->display_primaries[0].x; in gst_d3d11_hdr_meta_data_to_dxgi()
147 dxgi_hdr10->RedPrimary[1] = minfo->display_primaries[0].y; in gst_d3d11_hdr_meta_data_to_dxgi()
148 dxgi_hdr10->GreenPrimary[0] = minfo->display_primaries[1].x; in gst_d3d11_hdr_meta_data_to_dxgi()
149 dxgi_hdr10->GreenPrimary[1] = minfo->display_primaries[1].y; in gst_d3d11_hdr_meta_data_to_dxgi()
150 dxgi_hdr10->BluePrimary[0] = minfo->display_primaries[2].x; in gst_d3d11_hdr_meta_data_to_dxgi()
151 dxgi_hdr10->BluePrimary[1] = minfo->display_primaries[2].y; in gst_d3d11_hdr_meta_data_to_dxgi()
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavviddec.c1261 for (i = 0; i < G_N_ELEMENTS (gst->display_primaries); i++) { in mastering_display_metadata_av_to_gst()
1262 gst->display_primaries[i].x = (guint16) gst_util_uint64_scale (chroma_scale, in mastering_display_metadata_av_to_gst()
1263 av->display_primaries[i][0].num, av->display_primaries[i][0].den); in mastering_display_metadata_av_to_gst()
1264 gst->display_primaries[i].y = (guint16) gst_util_uint64_scale (chroma_scale, in mastering_display_metadata_av_to_gst()
1265 av->display_primaries[i][1].num, av->display_primaries[i][1].den); in mastering_display_metadata_av_to_gst()
1479 minfo.display_primaries[0].x, minfo.display_primaries[0].y, in gst_ffmpegviddec_negotiate()
1480 minfo.display_primaries[1].x, minfo.display_primaries[1].y, in gst_ffmpegviddec_negotiate()
1481 minfo.display_primaries[2].x, minfo.display_primaries[2].y, in gst_ffmpegviddec_negotiate()
/third_party/ffmpeg/libavcodec/
Dhevc_sei.h69 uint16_t display_primaries[3][2]; member
Dhevc_sei.c60 s->display_primaries[i][0] = get_bits(gb, 16); in decode_nal_sei_mastering_display_info()
61 s->display_primaries[i][1] = get_bits(gb, 16); in decode_nal_sei_mastering_display_info()
Dpngdec.c70 uint32_t display_primaries[3][2]; member
1337 s->display_primaries[i][0] = bytestream2_get_be32(&s->gb); in decode_frame_common()
1338 s->display_primaries[i][1] = bytestream2_get_be32(&s->gb); in decode_frame_common()
1514 mdm->display_primaries[i][0] = av_make_q(s->display_primaries[i][0], 100000); in output_frame()
1515 mdm->display_primaries[i][1] = av_make_q(s->display_primaries[i][1], 100000); in output_frame()
Dlibdav1d.c365 … mastering->display_primaries[i][0] = av_make_q(p->mastering_display->primaries[i][0], 1 << 16); in libdav1d_receive_frame()
366 … mastering->display_primaries[i][1] = av_make_q(p->mastering_display->primaries[i][1], 1 << 16); in libdav1d_receive_frame()
Dhevcdec.c2784 … metadata->display_primaries[i][0].num = s->sei.mastering_display.display_primaries[j][0]; in set_side_data()
2785 metadata->display_primaries[i][0].den = chroma_den; in set_side_data()
2786 … metadata->display_primaries[i][1].num = s->sei.mastering_display.display_primaries[j][1]; in set_side_data()
2787 metadata->display_primaries[i][1].den = chroma_den; in set_side_data()
2804 av_q2d(metadata->display_primaries[0][0]), in set_side_data()
2805 av_q2d(metadata->display_primaries[0][1]), in set_side_data()
2806 av_q2d(metadata->display_primaries[1][0]), in set_side_data()
2807 av_q2d(metadata->display_primaries[1][1]), in set_side_data()
2808 av_q2d(metadata->display_primaries[2][0]), in set_side_data()
2809 av_q2d(metadata->display_primaries[2][1]), in set_side_data()
Dvaapi_encode_h265.c779 av_q2d(mdm->display_primaries[j][0])), in vaapi_encode_h265_init_picture_params()
783 av_q2d(mdm->display_primaries[j][1])), in vaapi_encode_h265_init_picture_params()
/third_party/gstreamer/gstplugins_bad/ext/x265/
Dgstx265enc.c953 minfo.display_primaries[1].x, minfo.display_primaries[1].y, in gst_x265_enc_init_encoder_locked()
954 minfo.display_primaries[2].x, minfo.display_primaries[2].y, in gst_x265_enc_init_encoder_locked()
955 minfo.display_primaries[0].x, minfo.display_primaries[0].y, in gst_x265_enc_init_encoder_locked()
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgsth265parse.c598 for (j = 0, k = 2; j < G_N_ELEMENTS (minfo.display_primaries); j++, k++) { in gst_h265_parse_process_sei()
599 minfo.display_primaries[j].x = in gst_h265_parse_process_sei()
602 minfo.display_primaries[j].y = in gst_h265_parse_process_sei()
625 minfo.display_primaries[0].x, minfo.display_primaries[0].y, in gst_h265_parse_process_sei()
626 minfo.display_primaries[1].x, minfo.display_primaries[1].y, in gst_h265_parse_process_sei()
627 minfo.display_primaries[2].x, minfo.display_primaries[2].y, in gst_h265_parse_process_sei()
Dgsth264parse.c849 for (j = 0, k = 2; j < G_N_ELEMENTS (minfo.display_primaries); j++, k++) { in gst_h264_parse_process_sei()
850 minfo.display_primaries[j].x = in gst_h264_parse_process_sei()
853 minfo.display_primaries[j].y = in gst_h264_parse_process_sei()
876 minfo.display_primaries[0].x, minfo.display_primaries[0].y, in gst_h264_parse_process_sei()
877 minfo.display_primaries[1].x, minfo.display_primaries[1].y, in gst_h264_parse_process_sei()
878 minfo.display_primaries[2].x, minfo.display_primaries[2].y, in gst_h264_parse_process_sei()
/third_party/ffmpeg/fftools/
Dffprobe.c2003 print_q("red_x", metadata->display_primaries[0][0], '/'); in print_pkt_side_data()
2004 print_q("red_y", metadata->display_primaries[0][1], '/'); in print_pkt_side_data()
2005 print_q("green_x", metadata->display_primaries[1][0], '/'); in print_pkt_side_data()
2006 print_q("green_y", metadata->display_primaries[1][1], '/'); in print_pkt_side_data()
2007 print_q("blue_x", metadata->display_primaries[2][0], '/'); in print_pkt_side_data()
2008 print_q("blue_y", metadata->display_primaries[2][1], '/'); in print_pkt_side_data()
2326 print_q("red_x", metadata->display_primaries[0][0], '/'); in show_frame()
2327 print_q("red_y", metadata->display_primaries[0][1], '/'); in show_frame()
2328 print_q("green_x", metadata->display_primaries[1][0], '/'); in show_frame()
2329 print_q("green_y", metadata->display_primaries[1][1], '/'); in show_frame()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkh265enc.c268 mastering_display_info->display_primaries[i].x; in gst_msdkh265enc_add_mdcv_sei()
270 mastering_display_info->display_primaries[i].y; in gst_msdkh265enc_add_mdcv_sei()
/third_party/mesa3d/include/drm-uapi/
Ddrm_mode.h849 } display_primaries[3]; member
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-mux.c2717 value = (gdouble) minfo->display_primaries[0].x / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2720 value = (gdouble) minfo->display_primaries[0].y / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2723 value = (gdouble) minfo->display_primaries[1].x / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2726 value = (gdouble) minfo->display_primaries[1].y / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2729 value = (gdouble) minfo->display_primaries[2].x / chroma_scale; in gst_matroska_mux_write_mastering_metadata()
2732 value = (gdouble) minfo->display_primaries[2].y / chroma_scale; in gst_matroska_mux_write_mastering_metadata()

12