Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-overlay-composition.c1017 gint argb_a, argb_r, argb_g, argb_b; in gst_video_overlay_rectangle_apply_global_alpha() local
1047 argb_a = GST_VIDEO_INFO_COMP_POFFSET (&rect->info, 3); in gst_video_overlay_rectangle_apply_global_alpha()
1048 argb_r = (argb_a + 1) % 4; in gst_video_overlay_rectangle_apply_global_alpha()
1049 argb_g = (argb_a + 2) % 4; in gst_video_overlay_rectangle_apply_global_alpha()
1050 argb_b = (argb_a + 3) % 4; in gst_video_overlay_rectangle_apply_global_alpha()
1058 (guint8) ((double) (dst[argb_r] * 255) / (double) dst[argb_a]) * in gst_video_overlay_rectangle_apply_global_alpha()
1061 (guint8) ((double) (dst[argb_g] * 255) / (double) dst[argb_a]) * in gst_video_overlay_rectangle_apply_global_alpha()
1064 (guint8) ((double) (dst[argb_b] * 255) / (double) dst[argb_a]) * in gst_video_overlay_rectangle_apply_global_alpha()
1067 dst[argb_a] = na; in gst_video_overlay_rectangle_apply_global_alpha()