/third_party/flutter/skia/third_party/externals/sdl/test/ |
D | testoverlay2.c | 170 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/ |
D | vp56dsp.c | 30 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/ |
D | tjunittest-gtest-wrapper.cpp | 23 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/libjpeg-turbo/cmakescripts/ |
D | testclean.cmake | 7 *_GRAY.yuv 12 *_420.yuv 17 *_422.yuv 22 *_444.yuv 27 *_440.yuv 32 *_411.yuv
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/cmakescripts/ |
D | testclean.cmake | 7 *_GRAY.yuv 12 *_420.yuv 17 *_422.yuv 22 *_444.yuv 27 *_440.yuv 32 *_411.yuv
|
/third_party/flutter/skia/third_party/externals/libwebp/imageio/ |
D | image_enc.c | 470 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/skia/third_party/externals/libwebp/imageio/ |
D | image_enc.c | 470 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/gstreamer/gstplugins_bad/ext/vulkan/shaders/ |
D | rgb_to_yuy2.frag | 48 vec3 yuv; 49 yuv.x = yuv1.x; 50 yuv.yz = (yuv1.yz + yuv2.yz) * 0.5; 53 outColor0 = vec4(yuv[out_reorder_idx[0]], yuv[out_reorder_idx[1]], 0.0, 1.0); 55 outColor0 = vec4(yuv[out_reorder_idx[2]], yuv[out_reorder_idx[3]], 0.0, 1.0);
|
D | upsample_yuy2.glsl | 28 vec3 yuv; 29 yuv.x = texture(tex, texCoord)[inReorderIdx[0]]; 34 yuv.y = texel[inReorderIdx[1]]; 35 yuv.z = texel[inReorderIdx[3]]; 37 return yuv;
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_yuv.c | 70 xa_yuv_bind_samplers(struct xa_context *r, struct xa_surface *yuv[]) in xa_yuv_bind_samplers() argument 88 u_sampler_view_default_template(&view_templ, yuv[i]->tex, in xa_yuv_bind_samplers() 89 yuv[i]->tex->format); in xa_yuv_bind_samplers() 92 r->pipe->create_sampler_view(r->pipe, yuv[i]->tex, &view_templ); in xa_yuv_bind_samplers() 121 struct xa_surface *dst, struct xa_surface *yuv[]) in xa_yuv_planar_blit() argument 137 xa_yuv_bind_samplers(r, yuv); in xa_yuv_planar_blit() 153 scale_x * w, scale_y * h, x, y, w, h, yuv); in xa_yuv_planar_blit()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | tjunittest.c | 913 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/openh264/autotest/performanceTest/ |
D | run_perfTest.sh | 41 echo put yuv and cfg file into ./EncoderPerfTest folder as 45 echo case_720p/yuv 46 echo case_720p/yuv/xxx1.yuv 47 echo case_720p/yuv/xxx2.yuv
|
/third_party/libdrm/tests/util/ |
D | pattern.c | 159 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/tests/ref/vsynth_lena/ |
D | yuv | 1 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/ffmpeg/tests/ref/vsynth1/ |
D | yuv | 1 eaa66c3b27a2602e882befe154a8b119 *./tests/data/vsynth1/yuv.avi 2 7610060 ./tests/data/vsynth1/yuv.avi 3 c5ccac874dbf808e9088bc3107860042 *./tests/data/yuv.vsynth1.out.yuv
|
/third_party/ffmpeg/libswscale/x86/ |
D | yuv_2_rgb.asm | 286 %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/mesa3d/src/util/format/ |
D | u_format.csv | 50 # - color space: rgb, srgb, yuv, zs 178 # http://www.fourcc.org/yuv.php#UYVY 179 PIPE_FORMAT_UYVY , subsampled, 2, 1, 1, x32 , , , , xyz1, yuv 180 # http://www.fourcc.org/yuv.php#YUYV (a.k.a http://www.fourcc.org/yuv.php#YUY2) 181 PIPE_FORMAT_YUYV , subsampled, 2, 1, 1, x32 , , , , xyz1, yuv 183 PIPE_FORMAT_AYUV , other, 4, 4, 1, un8 , , , , xyzw, yuv 184 PIPE_FORMAT_XYUV , other, 4, 4, 1, un8 , , , , xyz1, yuv 395 PIPE_FORMAT_YV12 , planar3, 1, 1, 1, , , , , xyzw, yuv 396 PIPE_FORMAT_YV16 , planar3, 1, 1, 1, , , , , xyzw, yuv 397 PIPE_FORMAT_IYUV , planar3, 1, 1, 1, , , , , xyzw, yuv [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | colorspacedsp_template.c | 59 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/skia/third_party/externals/opengl-registry/extensions/EXT/ |
D | EXT_YUV_target.txt | 110 available to specify color space standard formula for yuv to rgb transformation. 134 will be available for rgb to yuv or yuv to rgb color space conversion. 138 The function rgb_2_yuv will apply rgb to yuv color conversion 144 used for color space conversion and for output yuv color value. 148 The function yuv_2_rgb will apply yuv to rgb color conversion 151 yuv value using x, y & z channels of a vec3 variable, correspondingly 154 used for color space conversion and for output yuv color value. 158 A shader which produces yuv format color output must qualify the fragment 159 shader output variable with new yuv layout qualifier as described below. 161 layout (yuv) out vec4 color; [all …]
|
/third_party/openGLES/extensions/EXT/ |
D | EXT_YUV_target.txt | 110 available to specify color space standard formula for yuv to rgb transformation. 134 will be available for rgb to yuv or yuv to rgb color space conversion. 138 The function rgb_2_yuv will apply rgb to yuv color conversion 144 used for color space conversion and for output yuv color value. 148 The function yuv_2_rgb will apply yuv to rgb color conversion 151 yuv value using x, y & z channels of a vec3 variable, correspondingly 154 used for color space conversion and for output yuv color value. 158 A shader which produces yuv format color output must qualify the fragment 159 shader output variable with new yuv layout qualifier as described below. 161 layout (yuv) out vec4 color; [all …]
|
/third_party/openh264/testbin/ |
D | CmdLineExample.sh | 5 ../h264dec ../res/test_vd_1d.264 test_vd_1d.yuv 6 ../h264dec ../res/test_vd_rc.264 test_vd_rc.yuv 7 ../h264dec ../res/Static.264 Static.yuv
|
/third_party/ffmpeg/tests/ref/vsynth/ |
D | vsynth1-yuv | 1 795ce63f1fe371b98822b1cb385b062f *tests/data/fate/vsynth1-yuv.avi 2 7610052 tests/data/fate/vsynth1-yuv.avi 3 c5ccac874dbf808e9088bc3107860042 *tests/data/fate/vsynth1-yuv.out.rawvideo
|
D | vsynth_lena-yuv | 1 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
|
D | vsynth3-yuv | 1 7935fee60d3eb567baf312900616dec0 *tests/data/fate/vsynth3-yuv.avi 2 93552 tests/data/fate/vsynth3-yuv.avi 3 a038ad7c3c09f776304ef7accdea9c74 *tests/data/fate/vsynth3-yuv.out.rawvideo
|
D | vsynth2-yuv | 1 5eda550fac21e8913cbb2c88e4f0791a *tests/data/fate/vsynth2-yuv.avi 2 7610052 tests/data/fate/vsynth2-yuv.avi 3 36d7ca943916e1743cefa609eba0205c *tests/data/fate/vsynth2-yuv.out.rawvideo
|