Home
last modified time | relevance | path

Searched refs:trans_color (Results 1 – 25 of 29) sorted by relevance

12

/third_party/gstreamer/gstplugins_base/tests/icles/
Dtest-colorkey.c42 static GdkRGBA trans_color; variable
63 gdk_cairo_set_source_rgba (cr, &trans_color); in redraw_overlay()
125 trans_color.red = (color & 0xff0000) >> 8; in msg_state_changed()
126 trans_color.green = (color & 0xff00); in msg_state_changed()
127 trans_color.blue = (color & 0xff) << 8; in msg_state_changed()
/third_party/skia/third_party/externals/libpng/
Dpngrtran.c1248 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations()
1282 png_ptr->trans_color.red = png_ptr->trans_color.green = in png_init_rgb_transformations()
1283 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
3233 == png_ptr->trans_color.gray) in png_do_compose()
3263 == png_ptr->trans_color.gray) in png_do_compose()
3300 == png_ptr->trans_color.gray) in png_do_compose()
3331 == png_ptr->trans_color.gray) in png_do_compose()
3368 == png_ptr->trans_color.gray) in png_do_compose()
3397 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
3410 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
[all …]
Dpngget.c1094 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument
1110 if (trans_color != NULL) in png_get_tRNS()
1111 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
1116 if (trans_color != NULL) in png_get_tRNS()
1118 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
Dpngset.c995 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument
1026 if (trans_color != NULL) in png_set_tRNS()
1034 trans_color->gray > sample_max) || in png_set_tRNS()
1036 (trans_color->red > sample_max || in png_set_tRNS()
1037 trans_color->green > sample_max || in png_set_tRNS()
1038 trans_color->blue > sample_max))) in png_set_tRNS()
1044 info_ptr->trans_color = *trans_color; in png_set_tRNS()
Dpngtest.c1368 png_color_16p trans_color; in test_one_file() local
1371 &trans_color) != 0) in test_one_file()
1376 (int)trans_color->gray > sample_max) || in test_one_file()
1378 ((int)trans_color->red > sample_max || in test_one_file()
1379 (int)trans_color->green > sample_max || in test_one_file()
1380 (int)trans_color->blue > sample_max)))) in test_one_file()
1382 trans_color); in test_one_file()
Dpnginfo.h154 png_color_16 trans_color; /* transparent color for non-palette image */ member
Dpngstruct.h316 png_color_16 trans_color; /* transparent color for non-paletted files */ member
Dpngrutil.c1853 png_ptr->trans_color.gray = png_get_uint_16(buf); in png_handle_tRNS()
1869 png_ptr->trans_color.red = png_get_uint_16(buf); in png_handle_tRNS()
1870 png_ptr->trans_color.green = png_get_uint_16(buf + 2); in png_handle_tRNS()
1871 png_ptr->trans_color.blue = png_get_uint_16(buf + 4); in png_handle_tRNS()
1915 &(png_ptr->trans_color)); in png_handle_tRNS()
Dpng.h2142 png_color_16p *trans_color));
2148 png_const_color_16p trans_color));
Dpngwrite.c231 png_write_tRNS(png_ptr, info_ptr->trans_alpha, &(info_ptr->trans_color), in png_write_info()
Dpngread.c2202 trans = png_ptr->trans_color.gray; in png_image_read_colormap()
/third_party/flutter/skia/third_party/externals/libpng/
Dpngrtran.c1248 int trans_gray = png_ptr->trans_color.gray; in png_init_rgb_transformations()
1282 png_ptr->trans_color.red = png_ptr->trans_color.green = in png_init_rgb_transformations()
1283 png_ptr->trans_color.blue = (png_uint_16)trans_gray; in png_init_rgb_transformations()
3233 == png_ptr->trans_color.gray) in png_do_compose()
3263 == png_ptr->trans_color.gray) in png_do_compose()
3300 == png_ptr->trans_color.gray) in png_do_compose()
3331 == png_ptr->trans_color.gray) in png_do_compose()
3368 == png_ptr->trans_color.gray) in png_do_compose()
3397 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
3410 if (*sp == png_ptr->trans_color.gray) in png_do_compose()
[all …]
Dpngget.c1094 png_bytep *trans_alpha, int *num_trans, png_color_16p *trans_color) in png_get_tRNS() argument
1110 if (trans_color != NULL) in png_get_tRNS()
1111 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
1116 if (trans_color != NULL) in png_get_tRNS()
1118 *trans_color = &(info_ptr->trans_color); in png_get_tRNS()
Dpngset.c995 png_const_bytep trans_alpha, int num_trans, png_const_color_16p trans_color) in png_set_tRNS() argument
1026 if (trans_color != NULL) in png_set_tRNS()
1034 trans_color->gray > sample_max) || in png_set_tRNS()
1036 (trans_color->red > sample_max || in png_set_tRNS()
1037 trans_color->green > sample_max || in png_set_tRNS()
1038 trans_color->blue > sample_max))) in png_set_tRNS()
1044 info_ptr->trans_color = *trans_color; in png_set_tRNS()
Dpngtest.c1368 png_color_16p trans_color; in test_one_file() local
1371 &trans_color) != 0) in test_one_file()
1376 (int)trans_color->gray > sample_max) || in test_one_file()
1378 ((int)trans_color->red > sample_max || in test_one_file()
1379 (int)trans_color->green > sample_max || in test_one_file()
1380 (int)trans_color->blue > sample_max)))) in test_one_file()
1382 trans_color); in test_one_file()
Dpnginfo.h154 png_color_16 trans_color; /* transparent color for non-palette image */ member
Dpngstruct.h316 png_color_16 trans_color; /* transparent color for non-paletted files */ member
Dpngrutil.c1853 png_ptr->trans_color.gray = png_get_uint_16(buf); in png_handle_tRNS()
1869 png_ptr->trans_color.red = png_get_uint_16(buf); in png_handle_tRNS()
1870 png_ptr->trans_color.green = png_get_uint_16(buf + 2); in png_handle_tRNS()
1871 png_ptr->trans_color.blue = png_get_uint_16(buf + 4); in png_handle_tRNS()
1915 &(png_ptr->trans_color)); in png_handle_tRNS()
Dpng.h2142 png_color_16p *trans_color));
2148 png_const_color_16p trans_color));
Dpngwrite.c231 png_write_tRNS(png_ptr, info_ptr->trans_alpha, &(info_ptr->trans_color), in png_write_info()
Dpngread.c2202 trans = png_ptr->trans_color.gray; in png_image_read_colormap()
/third_party/ffmpeg/libavcodec/
Dgifdec.c76 int trans_color; /**< color value that is used instead of transparent color */ member
177 gif_fill(frame, s->trans_color); in gif_read_image()
229 s->stored_bg_color = s->trans_color; in gif_read_image()
548 offsetof(GifState, trans_color), AV_OPT_TYPE_INT,
/third_party/ffmpeg/tests/fate/
Dgif.mak5 fate-gif-disposal-background: CMD = framecrc -trans_color 0 -i $(TARGET_SAMPLES)/gif/m4nb.gif -pix_…
/third_party/flutter/skia/third_party/externals/libpng/contrib/libtests/
Dpngvalid.c5278 png_color_16p trans_color = 0; in standard_info_part1() local
5280 if (png_get_tRNS(pp, pi, 0, 0, &trans_color) & PNG_INFO_tRNS) in standard_info_part1()
5282 if (trans_color == 0) in standard_info_part1()
5289 trans_color->gray; in standard_info_part1()
5294 dp->transparent.red = trans_color->red; in standard_info_part1()
5295 dp->transparent.green = trans_color->green; in standard_info_part1()
5296 dp->transparent.blue = trans_color->blue; in standard_info_part1()
/third_party/skia/third_party/externals/libpng/contrib/libtests/
Dpngvalid.c5278 png_color_16p trans_color = 0; in standard_info_part1() local
5280 if (png_get_tRNS(pp, pi, 0, 0, &trans_color) & PNG_INFO_tRNS) in standard_info_part1()
5282 if (trans_color == 0) in standard_info_part1()
5289 trans_color->gray; in standard_info_part1()
5294 dp->transparent.red = trans_color->red; in standard_info_part1()
5295 dp->transparent.green = trans_color->green; in standard_info_part1()
5296 dp->transparent.blue = trans_color->blue; in standard_info_part1()

12