Home
last modified time | relevance | path

Searched refs:yuv (Results 1 - 25 of 60) sorted by relevance

123

/third_party/ffmpeg/libavcodec/
H A Dvp56dsp.c31 static void pfx ## _edge_filter_ ## suf(uint8_t *yuv, ptrdiff_t stride, \
38 v = (yuv[-pix2_inc] + 3*(yuv[0]-yuv[-pix_inc]) - yuv[pix_inc] + 4)>>3;\
40 yuv[-pix_inc] = av_clip_uint8(yuv[-pix_inc] + v); \
41 yuv[0] = av_clip_uint8(yuv[0] - v); \
42 yuv
[all...]
H A Dvp56dsp.h28 void (*edge_filter_hor)(uint8_t *yuv, ptrdiff_t stride, int t);
29 void (*edge_filter_ver)(uint8_t *yuv, ptrdiff_t stride, int t);
H A Ddpx.c167 int yuv, color_trc, color_spec; in decode_frame() local
337 yuv = 1; in decode_frame()
341 yuv = 0; in decode_frame()
346 yuv = 0; in decode_frame()
350 yuv = 1; in decode_frame()
354 yuv = 1; in decode_frame()
358 yuv = 1; in decode_frame()
453 if (yuv) { in decode_frame()
H A Dhuffyuv.h72 int yuv; member
/third_party/ffmpeg/tests/fate/
H A Dlibswscale.mak20 FATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-colorspace
21 fate-sws-yuv-colorspace: tests/data/vsynth1.yuv
22 fate-sws-yuv-colorspace: ffmpeg$(PROGSSUF)$(EXESUF)
23 fate-sws-yuv-colorspace: CMD = framecrc \
24 -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth1.yuv \
28 FATE_LIBSWSCALE-$(CONFIG_RAWVIDEO_DEMUXER) += fate-sws-yuv-range
29 fate-sws-yuv-range: tests/data/vsynth1.yuv
30 fate-sws-yuv
[all...]
H A Dvcodec.mak1 fate-vsynth1-%: SRC = tests/data/vsynth1.yuv
2 fate-vsynth2-%: SRC = tests/data/vsynth2.yuv
3 fate-vsynth_lena-%: SRC = tests/data/vsynth_lena.yuv
4 fate-vsynth3-%: SRC = tests/data/vsynth3.yuv
34 fate-vsynth1-vc2-4%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth1-vc2-%=%) \
37 fate-vsynth2-vc2-4%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth2-vc2-%=%) \
40 fate-vsynth_lena-vc2-4%: ENCOPTS = -pix_fmt yuv$(@:fate-vsynth_lena-vc2-%=%) \
442 FATE_VCODEC-$(call ENCDEC, RAWVIDEO, AVI) += yuv
443 fate-vsynth%-yuv: CODEC = rawvideo
475 $(FATE_VSYNTH1): tests/data/vsynth1.yuv
[all...]
H A Dffmpeg.mak45 fate-force_key_frames: tests/data/vsynth_lena.yuv
47 "rawvideo -s 352x288 -pix_fmt yuv420p" tests/data/vsynth_lena.yuv \
58 fate-sub2video: tests/data/vsynth_lena.yuv
60 -f rawvideo -r 5 -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \
99 fate-shortest: tests/data/vsynth_lena.yuv
100 fate-shortest: CMD = framecrc -auto_conversion_filters -f lavfi -i "sine=3000:d=10" -f lavfi -i "sine=1000:d=1" -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -idct simple -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv -filter_complex "[0:a:0][1:a:0]amix=inputs=2[audio]" -map 2:v:0 -map "[audio]" -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -idct simple -dct fastint -qscale 10 -threads 1 -c:v mpeg4 -c:a ac3_fixed -shortest
151 tests/data/audio_shorter_than_video.nut: tests/data/vsynth_lena.yuv
154 -sws_flags +accurate_rnd+bitexact -fflags +bitexact -flags +bitexact -idct simple -f rawvideo -s 352x288 -pix_fmt yuv420p -i $(TARGET_PATH)/tests/data/vsynth_lena.yuv \
/third_party/skia/third_party/externals/libjpeg-turbo/gtest/
H A 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, in
[all...]
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_yuv.c70 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()
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() local
109 xa_yuv_planar_blit(struct xa_context *r, int src_x, int src_y, int src_w, int src_h, int dst_x, int dst_y, int dst_w, int dst_h, struct xa_box *box, unsigned int num_boxes, const float conversion_matrix[], struct xa_surface *dst, struct xa_surface *yuv[]) xa_yuv_planar_blit() argument
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Dtjunittest.c54 printf("-yuv = test YUV encoding/decoding support\n"); in usage()
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, in argument
959 testFourByte422(int yuv, int noyuvpad, int autoalloc) testFourByte422() argument
969 testThreeByte420(int yuv, int noyuvpad, int autoalloc) testThreeByte420() argument
978 testFourByte420(int yuv, int noyuvpad, int autoalloc) testFourByte420() argument
988 testThreeByte440(int yuv, int noyuvpad, int autoalloc) testThreeByte440() argument
997 testFourByte440(int yuv, int noyuvpad, int autoalloc) testFourByte440() argument
1007 testThreeByte411(int yuv, int noyuvpad, int autoalloc) testThreeByte411() argument
1016 testFourByte411(int yuv, int noyuvpad, int autoalloc) testFourByte411() argument
1026 testOnlyGray(int yuv, int noyuvpad, int autoalloc) testOnlyGray() argument
1035 testThreeByteGray(int yuv, int noyuvpad, int autoalloc) testThreeByteGray() argument
1044 testFourByteGray(int yuv, int noyuvpad, int autoalloc) testFourByteGray() argument
1053 testBufSize(int yuv, int noyuvpad, int autoalloc) testBufSize() argument
[all...]
/third_party/skia/third_party/externals/libwebp/imageio/
H A 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 in WebPWriteYUV() local
[all...]
/third_party/libdrm/tests/util/
H A 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, plane in fill_smpte()
847 const struct util_yuv_info *yuv = &info->yuv; fill_tiles_yuv_planar() local
880 const struct util_yuv_info *yuv = &info->yuv; fill_tiles_yuv_packed() local
[all...]
H A Dformat.h59 const struct util_yuv_info yuv; member
/third_party/ffmpeg/libavfilter/
H A Dcolorspacedsp_template.c59 pixel **yuv = (pixel **) _yuv; in yuv2rgb() local
60 const pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in yuv2rgb()
135 pixel **yuv = (pixel **) _yuv; in rgb2yuv() local
136 pixel *yuv0 = yuv[0], *yuv1 = yuv[1], *yuv2 = yuv[2]; in rgb2yuv()
214 pixel **yuv = (pixel **) _yuv; in rgb2yuv_fsb() local
215 pixel *yuv0 = yuv[ in rgb2yuv_fsb()
[all...]
H A 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],
68 /* Direct yuv-to-yuv conversion (input and output are both user-provided
H A Davf_showcqt.c751 c[x].yuv.y = cm[0][0] * r + cm[0][1] * g + cm[0][2] * b; in yuv_from_cqt()
752 c[x].yuv.u = cm[1][0] * r + cm[1][1] * g + cm[1][2] * b; in yuv_from_cqt()
753 c[x].yuv.v = cm[2][0] * r + cm[2][1] * g + cm[2][2] * b; in yuv_from_cqt()
793 *lpy++ = lrintf(mul * c[x].yuv.y + 16.0f); \
794 *lpu++ = lrintf(mul * c[x].yuv.u + 128.0f); \
795 *lpv++ = lrintf(mul * c[x].yuv.v + 128.0f); \
806 *lpy++ = lrintf(mul * c[x].yuv.y + 16.0f); \
893 *lpy = lrintf(c.yuv.y + 16.0f); \
894 *lpu = lrintf(c.yuv.u + 128.0f); \
895 *lpv = lrintf(c.yuv
[all...]
H A Dvf_signalstats.c601 const int yuv = in->data[0][w + i]; in filter_frame8() local
603 masky |= yuv; in filter_frame8()
604 histy[yuv]++; in filter_frame8()
605 dify += abs(yuv - prev->data[0][pw + i]); in filter_frame8()
823 const int yuv = AV_RN16(in->data[0] + w + i * 2); in filter_frame16() local
825 masky |= yuv; in filter_frame16()
826 histy[yuv]++; in filter_frame16()
827 dify += abs(yuv - (int)AV_RN16(prev->data[0] + pw + i * 2)); in filter_frame16()
H A Dvf_colormatrix.c135 static void solve_coefficients(double cm[3][3], double rgb[3][3], double yuv[3][3]) in solve_coefficients() argument
140 cm[i][j] = yuv[i][0] * rgb[0][j] + yuv[i][1] * rgb[1][j] + yuv[i][2] * rgb[2][j]; in solve_coefficients()
/third_party/ffmpeg/libswscale/x86/
H A Dyuv_2_rgb.asm289 %ifidn %1, yuv
362 yuv2rgb_fn yuv, rgb, 32
363 yuv2rgb_fn yuv, bgr, 32
366 yuv2rgb_fn yuv, rgb, 15
367 yuv2rgb_fn yuv, rgb, 16
370 yuv2rgb_fn yuv, rgb, 24
371 yuv2rgb_fn yuv, bgr, 24
374 yuv2rgb_fn yuv, rgb, 24
375 yuv2rgb_fn yuv, bgr, 24
376 yuv2rgb_fn yuv, rg
[all...]
/third_party/ffmpeg/libavcodec/arm/
H A Dvp6dsp_init_arm.c28 void ff_vp6_edge_filter_hor_neon(uint8_t *yuv, ptrdiff_t stride, int t);
29 void ff_vp6_edge_filter_ver_neon(uint8_t *yuv, ptrdiff_t stride, int t);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A DShaderVars.cpp51 yuv(false), in ShaderVariable()
89 yuv(other.yuv), in ShaderVariable()
121 yuv = other.yuv; in operator =()
141 yuv != other.yuv || interpolation != other.interpolation || in operator ==()
/third_party/skia/tests/
H A DPDFJpegEmbedTest.cpp99 bool yuv = jpegColorType == SkEncodedInfo::kYUV_Color; in SkIsJFIF() local
100 bool goodColorType = yuv || jpegColorType == SkEncodedInfo::kGray_Color; in SkIsJFIF()
103 *info = {jpegSize, yuv ? SkJFIFInfo::kYCbCr : SkJFIFInfo::kGrayscale}; in SkIsJFIF()
/third_party/ffmpeg/tests/
H A DMakefile38 tests/data/vsynth1.yuv: tests/videogen$(HOSTEXESUF) | tests/data
41 tests/data/vsynth2.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data
44 tests/data/vsynth_lena.yuv: tests/rotozoom$(HOSTEXESUF) | tests/data
47 tests/data/vsynth3.yuv: tests/videogen$(HOSTEXESUF) | tests/data
63 tests/data/%.sw tests/data/asynth% tests/data/vsynth%.yuv tests/vsynth%/00.pgm tests/data/%.nut: TAG = GEN
/third_party/skia/gm/
H A Dwacky_yuv_formats.cpp370 static void convert_rgba_to_yuva(const float mtx[20], SkColor col, uint8_t yuv[4]) { in convert_rgba_to_yuva() argument
375 yuv[0] = SkTPin(SkScalarRoundToInt(mtx[ 0]*r + mtx[ 1]*g + mtx[ 2]*b + mtx[ 4]*255), 0, 255); in convert_rgba_to_yuva()
376 yuv[1] = SkTPin(SkScalarRoundToInt(mtx[ 5]*r + mtx[ 6]*g + mtx[ 7]*b + mtx[ 9]*255), 0, 255); in convert_rgba_to_yuva()
377 yuv[2] = SkTPin(SkScalarRoundToInt(mtx[10]*r + mtx[11]*g + mtx[12]*b + mtx[14]*255), 0, 255); in convert_rgba_to_yuva()
378 yuv[3] = SkColorGetA(col); in convert_rgba_to_yuva()
795 int numRows = 1 + (kLast_YUVFormat + 1); // original + #-yuv-formats
1107 auto yuv = fImages[opaque][tagged]->makeColorSpace(fTargetColorSpace, dContext); variable
1108 SkASSERT(yuv); variable
1109 SkASSERT(SkColorSpace::Equals(yuv->colorSpace(), fTargetColorSpace.get()));
1110 canvas->drawImage(yuv,
[all...]
/third_party/skia/src/codec/
H A DSkJpegCodec.cpp910 JSAMPARRAY yuv[3]; in onGetYUVAPlanes() local
914 yuv[0] = &rowptrs[0]; // Y rows (DCTSIZE or 2 * DCTSIZE) in onGetYUVAPlanes()
915 yuv[1] = &rowptrs[2 * DCTSIZE]; // U rows (DCTSIZE) in onGetYUVAPlanes()
916 yuv[2] = &rowptrs[3 * DCTSIZE]; // V rows (DCTSIZE) in onGetYUVAPlanes()
943 JDIMENSION linesRead = jpeg_read_raw_data(dinfo, yuv, numRowsPerBlock); in onGetYUVAPlanes()
977 JDIMENSION linesRead = jpeg_read_raw_data(dinfo, yuv, numRowsPerBlock); in onGetYUVAPlanes()

Completed in 22 milliseconds

123