Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavfilter/
Dvf_colorchannelmixer.c122 int have_alpha, int pl) in filter_slice_rgba_planar() argument
149 const uint8_t ain = have_alpha ? srca[j] : 0; in filter_slice_rgba_planar()
159 (have_alpha == 1 ? s->lut[R][A][ain] : 0); in filter_slice_rgba_planar()
163 (have_alpha == 1 ? s->lut[G][A][ain] : 0); in filter_slice_rgba_planar()
167 (have_alpha == 1 ? s->lut[B][A][ain] : 0); in filter_slice_rgba_planar()
186 if (have_alpha == 1) { in filter_slice_rgba_planar()
208 int have_alpha, int depth, int pl) in filter_slice_rgba16_planar() argument
235 const uint16_t ain = have_alpha ? srca[j] : 0; in filter_slice_rgba16_planar()
245 (have_alpha == 1 ? s->lut[R][A][ain] : 0); in filter_slice_rgba16_planar()
249 (have_alpha == 1 ? s->lut[G][A][ain] : 0); in filter_slice_rgba16_planar()
[all …]
Dvf_drawbox.c82 int have_alpha; member
136 s->have_alpha = desc->flags & AV_PIX_FMT_FLAG_ALPHA; in config_input()
223 if (s->have_alpha && s->replace) { in filter_frame()
395 if (drawgrid->have_alpha && drawgrid->replace) { in drawgrid_filter_frame()
Dvf_v360.c4156 int have_alpha; in config_output() local
4650 have_alpha = !!(desc->flags & AV_PIX_FMT_FLAG_ALPHA); in config_output()
4667 err = allocate_plane(s, sizeof_uv, sizeof_ker, sizeof_mask * have_alpha * s->alpha, i); in config_output()
/third_party/skia/third_party/externals/libpng/
Dpngrtran.c3012 int have_alpha = (row_info->color_type & PNG_COLOR_MASK_ALPHA) != 0; in png_do_rgb_to_gray() local
3056 if (have_alpha != 0) in png_do_rgb_to_gray()
3085 if (have_alpha != 0) in png_do_rgb_to_gray()
3138 if (have_alpha != 0) in png_do_rgb_to_gray()
3173 if (have_alpha != 0) in png_do_rgb_to_gray()