Home
last modified time | relevance | path

Searched refs:yuv (Results 1 – 25 of 154) sorted by relevance

1234567

/third_party/flutter/skia/third_party/externals/sdl/test/
Dtestoverlay2.c170 RGBtoYUV(Uint8 * rgb, int *yuv, int monochrome, int luminance) in RGBtoYUV() argument
174 yuv[0] = (int)(0.299 * rgb[0] + 0.587 * rgb[1] + 0.114 * rgb[2]); in RGBtoYUV()
175 yuv[1] = 128; in RGBtoYUV()
176 yuv[2] = 128; in RGBtoYUV()
178 yuv[0] = (int)(0.257 * rgb[0]) + (0.504 * rgb[1]) + (0.098 * rgb[2]) + 16; in RGBtoYUV()
179 yuv[1] = 128; in RGBtoYUV()
180 yuv[2] = 128; in RGBtoYUV()
184 yuv[0] = (int)(0.299 * rgb[0] + 0.587 * rgb[1] + 0.114 * rgb[2]); in RGBtoYUV()
185 yuv[1] = (int)((rgb[2] - yuv[0]) * 0.565 + 128); in RGBtoYUV()
186 yuv[2] = (int)((rgb[0] - yuv[0]) * 0.713 + 128); in RGBtoYUV()
[all …]
/third_party/ffmpeg/libavcodec/
Dvp56dsp.c30 static void pfx ## _edge_filter_ ## suf(uint8_t *yuv, ptrdiff_t stride, \
37 v = (yuv[-pix2_inc] + 3*(yuv[0]-yuv[-pix_inc]) - yuv[pix_inc] + 4)>>3;\
39 yuv[-pix_inc] = av_clip_uint8(yuv[-pix_inc] + v); \
40 yuv[0] = av_clip_uint8(yuv[0] - v); \
41 yuv += line_inc; \
/third_party/skia/third_party/externals/libjpeg-turbo/gtest/
Dtjunittest-gtest-wrapper.cpp23 extern "C" int testBmp(int yuv, int noyuvpad, int autoalloc);
24 extern "C" int testThreeByte444(int yuv, int noyuvpad, int autoalloc);
25 extern "C" int testFourByte444(int yuv, int noyuvpad, int autoalloc);
26 extern "C" int testThreeByte422(int yuv, int noyuvpad, int autoalloc);
27 extern "C" int testFourByte422(int yuv, int noyuvpad, int autoalloc);
28 extern "C" int testThreeByte420(int yuv, int noyuvpad, int autoalloc);
29 extern "C" int testFourByte420(int yuv, int noyuvpad, int autoalloc);
30 extern "C" int testThreeByte440(int yuv, int noyuvpad, int autoalloc);
31 extern "C" int testFourByte440(int yuv, int noyuvpad, int autoalloc);
32 extern "C" int testThreeByte411(int yuv, int noyuvpad, int autoalloc);
[all …]
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/cmakescripts/
Dtestclean.cmake7 *_GRAY.yuv
12 *_420.yuv
17 *_422.yuv
22 *_444.yuv
27 *_440.yuv
32 *_411.yuv
/third_party/ffmpeg/tests/ref/vsynth1/
Dyuv1 eaa66c3b27a2602e882befe154a8b119 *./tests/data/vsynth1/yuv.avi
2 7610060 ./tests/data/vsynth1/yuv.avi
3 c5ccac874dbf808e9088bc3107860042 *./tests/data/yuv.vsynth1.out.yuv
/third_party/ffmpeg/tests/ref/vsynth_lena/
Dyuv1 3d5ee6d2023bc15bba898819e4977e46 *./tests/data/vsynth_lena/yuv.avi
2 7610060 ./tests/data/vsynth_lena/yuv.avi
3 dde5895817ad9d219f79a52d0bdfb001 *./tests/data/yuv.vsynth_lena.out.yuv
/third_party/skia/third_party/externals/libwebp/imageio/
Dimage_enc.c470 const WebPYUVABuffer* const yuv = &buffer->u.YUVA; in WebPWritePGM() local
471 const uint8_t* src_y = yuv->y; in WebPWritePGM()
472 const uint8_t* src_u = yuv->u; in WebPWritePGM()
473 const uint8_t* src_v = yuv->v; in WebPWritePGM()
474 const uint8_t* src_a = yuv->a; in WebPWritePGM()
488 src_y += yuv->y_stride; in WebPWritePGM()
493 src_u += yuv->u_stride; in WebPWritePGM()
494 src_v += yuv->v_stride; in WebPWritePGM()
499 src_a += yuv->a_stride; in WebPWritePGM()
514 const WebPYUVABuffer* const yuv = &buffer->u.YUVA; in WebPWriteYUV() local
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dimage_enc.c470 const WebPYUVABuffer* const yuv = &buffer->u.YUVA; in WebPWritePGM() local
471 const uint8_t* src_y = yuv->y; in WebPWritePGM()
472 const uint8_t* src_u = yuv->u; in WebPWritePGM()
473 const uint8_t* src_v = yuv->v; in WebPWritePGM()
474 const uint8_t* src_a = yuv->a; in WebPWritePGM()
488 src_y += yuv->y_stride; in WebPWritePGM()
493 src_u += yuv->u_stride; in WebPWritePGM()
494 src_v += yuv->v_stride; in WebPWritePGM()
499 src_a += yuv->a_stride; in WebPWritePGM()
514 const WebPYUVABuffer* const yuv = &buffer->u.YUVA; in WebPWriteYUV() local
[all …]
/third_party/ffmpeg/tests/ref/vsynth/
Dvsynth_lena-yuv1 2f4102cd4375383c0a3b6114a502996f *tests/data/fate/vsynth_lena-yuv.avi
2 7610052 tests/data/fate/vsynth_lena-yuv.avi
3 dde5895817ad9d219f79a52d0bdfb001 *tests/data/fate/vsynth_lena-yuv.out.rawvideo
Dvsynth2-yuv1 5eda550fac21e8913cbb2c88e4f0791a *tests/data/fate/vsynth2-yuv.avi
2 7610052 tests/data/fate/vsynth2-yuv.avi
3 36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-yuv.out.rawvideo
Dvsynth1-yuv1 795ce63f1fe371b98822b1cb385b062f *tests/data/fate/vsynth1-yuv.avi
2 7610052 tests/data/fate/vsynth1-yuv.avi
3 c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-yuv.out.rawvideo
Dvsynth3-yuv1 7935fee60d3eb567baf312900616dec0 *tests/data/fate/vsynth3-yuv.avi
2 93552 tests/data/fate/vsynth3-yuv.avi
3 a038ad7c3c09f776304ef7accdea9c74 *tests/data/fate/vsynth3-yuv.out.rawvideo
/third_party/skia/third_party/externals/libjpeg-turbo/
Dtjunittest.c913 static void initTJUnitTest(int yuv, int noyuvpad, int autoalloc) in initTJUnitTest() argument
915 doYUV = yuv ? 1 : 0; in initTJUnitTest()
923 int testBmp(int yuv, int noyuvpad, int autoalloc) in testBmp() argument
925 initTJUnitTest(yuv, noyuvpad, autoalloc); in testBmp()
931 int testThreeByte444(int yuv, int noyuvpad, int autoalloc) in testThreeByte444() argument
933 initTJUnitTest(yuv, noyuvpad, autoalloc); in testThreeByte444()
940 int testFourByte444(int yuv, int noyuvpad, int autoalloc) in testFourByte444() argument
942 initTJUnitTest(yuv, noyuvpad, autoalloc); in testFourByte444()
950 int testThreeByte422(int yuv, int noyuvpad, int autoalloc) in testThreeByte422() argument
952 initTJUnitTest(yuv, noyuvpad, autoalloc); in testThreeByte422()
[all …]
/third_party/libdrm/tests/util/
Dpattern.c159 static void fill_smpte_yuv_planar(const struct util_yuv_info *yuv, in fill_smpte_yuv_planar() argument
192 unsigned int cs = yuv->chroma_stride; in fill_smpte_yuv_planar()
193 unsigned int xsub = yuv->xsub; in fill_smpte_yuv_planar()
194 unsigned int ysub = yuv->ysub; in fill_smpte_yuv_planar()
263 static void fill_smpte_yuv_packed(const struct util_yuv_info *yuv, void *mem, in fill_smpte_yuv_packed() argument
295 unsigned char *y_mem = (yuv->order & YUV_YC) ? mem : mem + 1; in fill_smpte_yuv_packed()
296 unsigned char *c_mem = (yuv->order & YUV_CY) ? mem : mem + 1; in fill_smpte_yuv_packed()
297 unsigned int u = (yuv->order & YUV_YCrCb) ? 2 : 0; in fill_smpte_yuv_packed()
298 unsigned int v = (yuv->order & YUV_YCbCr) ? 2 : 0; in fill_smpte_yuv_packed()
694 return fill_smpte_yuv_packed(&info->yuv, planes[0], width, in fill_smpte()
[all …]
/third_party/ffmpeg/libswscale/x86/
Dyuv_2_rgb.asm286 %ifidn %1, yuv
362 yuv2rgb_fn yuv, rgb, 24
363 yuv2rgb_fn yuv, bgr, 24
364 yuv2rgb_fn yuv, rgb, 32
365 yuv2rgb_fn yuv, bgr, 32
368 yuv2rgb_fn yuv, rgb, 15
369 yuv2rgb_fn yuv, rgb, 16
372 yuv2rgb_fn yuv, rgb, 24
373 yuv2rgb_fn yuv, bgr, 24
376 yuv2rgb_fn yuv, rgb, 24
[all …]
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp.h28 uint8_t *yuv[3], const ptrdiff_t yuv_stride[3],
31 typedef void (*rgb2yuv_fn)(uint8_t *yuv[3], const ptrdiff_t yuv_stride[3],
35 typedef void (*rgb2yuv_fsb_fn)(uint8_t *yuv[3], const ptrdiff_t yuv_stride[3],
Dcolorspacedsp_template.c59 pixel **yuv = (pixel **) _yuv; in fn() local
60 const pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in fn()
135 pixel **yuv = (pixel **) _yuv; in fn() local
136 pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in fn()
214 pixel **yuv = (pixel **) _yuv; in fn() local
215 pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in fn()
/third_party/ffmpeg/tests/ref/pixfmt/
Dbgr241 6bb61113e7b70eb09dbcec356122a0e2 *tests/data/pixfmt/bgr24.yuv
2 304128 tests/data/pixfmt/bgr24.yuv
Dyuvj420p1 e176bd14185788110e055f945de7f95f *tests/data/pixfmt/yuvj420p.yuv
2 304128 tests/data/pixfmt/yuvj420p.yuv
Dyuv410p1 507c7e9f0c97660385df977469ca9e6d *tests/data/pixfmt/yuv410p.yuv
2 304128 tests/data/pixfmt/yuv410p.yuv
Dyuvj444p1 c10442da177c9f1d12be3c53be6fa12c *tests/data/pixfmt/yuvj444p.yuv
2 304128 tests/data/pixfmt/yuvj444p.yuv
Dyuyv4221 ac68f9fdd9d55efd0306d9b004038761 *tests/data/pixfmt/yuyv422.yuv
2 304128 tests/data/pixfmt/yuyv422.yuv
Dyuv420p1 5641dba168ff665af1cdb4a91e1afdd6 *tests/data/pixfmt/yuv420p.yuv
2 304128 tests/data/pixfmt/yuv420p.yuv
Dyuv440p1 00b85790df5740bab95e2559d81603a7 *tests/data/pixfmt/yuv440p.yuv
2 304128 tests/data/pixfmt/yuv440p.yuv
Drgb5651 efa7c0337cc00c796c6df615223716f1 *tests/data/pixfmt/rgb565.yuv
2 304128 tests/data/pixfmt/rgb565.yuv

1234567