Searched refs:yuv_color (Results 1 – 3 of 3) sorted by relevance
/third_party/ffmpeg/libavfilter/ |
D | vf_drawbox.c | 76 unsigned char yuv_color[4]; member 99 s->yuv_color[Y] = RGB_TO_Y_CCIR(rgba_color[0], rgba_color[1], rgba_color[2]); in init() 100 s->yuv_color[U] = RGB_TO_U_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0); in init() 101 s->yuv_color[V] = RGB_TO_V_CCIR(rgba_color[0], rgba_color[1], rgba_color[2], 0); in init() 102 s->yuv_color[A] = rgba_color[3]; in init() 200 s->yuv_color[Y], s->yuv_color[U], s->yuv_color[V], s->yuv_color[A]); in config_input() 239 row[0][x ] = s->yuv_color[Y]; in filter_frame() 240 row[1][x >> s->hsub] = s->yuv_color[U]; in filter_frame() 241 row[2][x >> s->hsub] = s->yuv_color[V]; in filter_frame() 242 row[3][x ] = s->yuv_color[A]; in filter_frame() [all …]
|
D | vf_fillborders.c | 51 uint8_t yuv_color[4]; member 330 s->yuv_color[Y] = RGB_TO_Y_CCIR(s->rgba_color[R], s->rgba_color[G], s->rgba_color[B]); in config_input() 331 s->yuv_color[U] = RGB_TO_U_CCIR(s->rgba_color[R], s->rgba_color[G], s->rgba_color[B], 0); in config_input() 332 s->yuv_color[V] = RGB_TO_V_CCIR(s->rgba_color[R], s->rgba_color[G], s->rgba_color[B], 0); in config_input() 333 s->yuv_color[A] = s->rgba_color[A]; in config_input() 343 memcpy(s->fill, s->yuv_color, sizeof(s->yuv_color)); in config_input()
|
D | vf_signalstats.c | 49 int yuv_color[3]; member 100 s->yuv_color[0] = (( 66*r + 129*g + 25*b + (1<<7)) >> 8) + 16; in init() 101 s->yuv_color[1] = ((-38*r + -74*g + 112*b + (1<<7)) >> 8) + 128; in init() 102 s->yuv_color[2] = ((112*r + -94*g + -18*b + (1<<7)) >> 8) + 128; in init() 205 f->data[0][y * f->linesize[0] + x] = s->yuv_color[0]; in burn_frame8() 206 f->data[1][chromay * f->linesize[1] + chromax] = s->yuv_color[1]; in burn_frame8() 207 f->data[2][chromay * f->linesize[2] + chromax] = s->yuv_color[2]; in burn_frame8() 215 AV_WN16(f->data[0] + y * f->linesize[0] + x * 2, s->yuv_color[0] * mult); in burn_frame16() 216 AV_WN16(f->data[1] + chromay * f->linesize[1] + chromax * 2, s->yuv_color[1] * mult); in burn_frame16() 217 AV_WN16(f->data[2] + chromay * f->linesize[2] + chromax * 2, s->yuv_color[2] * mult); in burn_frame16()
|