/third_party/ffmpeg/libavcodec/ |
H A D | v210x.c | 45 uint16_t *ydst, *udst, *vdst, *yend; in decode_frame() local 60 ydst = (uint16_t *)pic->data[0]; in decode_frame() 63 yend = ydst + width; in decode_frame() 70 *ydst++ = (v >> 6 ) & 0xFFC0; in decode_frame() 74 *ydst++ = (v >> 16) & 0xFFC0; in decode_frame() 76 if (ydst >= yend) { in decode_frame() 77 ydst += pic->linesize[0] / 2 - width; in decode_frame() 80 yend = ydst + width; in decode_frame() 86 *ydst++ = (v << 4 ) & 0xFFC0; in decode_frame() 90 *ydst in decode_frame() [all...] |
H A D | huffyuvdec.c | 991 uint8_t *ydst, *udst, *vdst; in decode_slice() local 996 ydst = p->data[0] + p->linesize[0] * (y + y_offset); in decode_slice() 998 lefty = s->llviddsp.add_left_pred(ydst, s->temp[0], in decode_slice() 1002 s->llviddsp.add_bytes(ydst, ydst - fake_ystride, width); in decode_slice() 1011 ydst = p->data[0] + p->linesize[0] * (y + y_offset); in decode_slice() 1016 lefty = s->llviddsp.add_left_pred(ydst, s->temp[0], in decode_slice() 1024 s->llviddsp.add_bytes(ydst, ydst - fake_ystride, width); in decode_slice() 1089 uint8_t *ydst, *uds in decode_slice() local [all...] |
H A D | huffyuvenc.c | 792 uint8_t *ydst, *udst, *vdst; in encode_frame() local 796 ydst = p->data[0] + p->linesize[0] * y; in encode_frame() 797 s->llvidencdsp.sub_median_pred(s->temp[0], ydst - fake_ystride, ydst, width, &lefty, &lefttopy); in encode_frame() 803 ydst = p->data[0] + p->linesize[0] * y; in encode_frame() 807 s->llvidencdsp.sub_median_pred(s->temp[0], ydst - fake_ystride, ydst, width, &lefty, &lefttopy); in encode_frame() 815 uint8_t *ydst, *udst, *vdst; in encode_frame() local 819 ydst = p->data[0] + p->linesize[0] * y; in encode_frame() 822 s->llvidencdsp.diff_bytes(s->temp[1], ydst, yds in encode_frame() [all...] |
/third_party/ffmpeg/libswscale/ |
H A D | rgb2rgb_template.c | 531 static inline void yuy2toyv12_c(const uint8_t *src, uint8_t *ydst, in yuy2toyv12_c() argument 542 ydst[2 * i + 0] = src[4 * i + 0]; in yuy2toyv12_c() 544 ydst[2 * i + 1] = src[4 * i + 2]; in yuy2toyv12_c() 547 ydst += lumStride; in yuy2toyv12_c() 551 ydst[2 * i + 0] = src[4 * i + 0]; in yuy2toyv12_c() 552 ydst[2 * i + 1] = src[4 * i + 2]; in yuy2toyv12_c() 556 ydst += lumStride; in yuy2toyv12_c() 612 static inline void uyvytoyv12_c(const uint8_t *src, uint8_t *ydst, in uyvytoyv12_c() argument 624 ydst[2 * i + 0] = src[4 * i + 1]; in uyvytoyv12_c() 626 ydst[ in uyvytoyv12_c() 649 ff_rgb24toyv12_c(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, int width, int height, int lumStride, int chromStride, int srcStride, int32_t *rgb2yuv) ff_rgb24toyv12_c() argument 871 yuyvtoyuv420_c(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) yuyvtoyuv420_c() argument 891 yuyvtoyuv422_c(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) yuyvtoyuv422_c() argument 909 uyvytoyuv420_c(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) uyvytoyuv420_c() argument 929 uyvytoyuv422_c(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) uyvytoyuv422_c() argument [all...] |
H A D | rgb2rgb.h | 79 void ff_rgb24toyv12_c(const uint8_t *src, uint8_t *ydst, uint8_t *udst, 102 extern void (*yuy2toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, 127 extern void (*ff_rgb24toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, 154 extern void (*uyvytoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, 157 extern void (*uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, 160 extern void (*yuyvtoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, 163 extern void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src,
|
H A D | rgb2rgb.c | 77 void (*yuy2toyv12)(const uint8_t *src, uint8_t *ydst, 81 void (*ff_rgb24toyv12)(const uint8_t *src, uint8_t *ydst, 104 void (*uyvytoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, 107 void (*uyvytoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, 110 void (*yuyvtoyuv420)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, 113 void (*yuyvtoyuv422)(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
|
H A D | swscale_unscaled.c | 378 uint8_t *ydst = dstParam[0] + dstStride[0] * srcSliceY; in yuyvToYuv420Wrapper() local 382 yuyvtoyuv420(ydst, udst, vdst, src[0], c->srcW, srcSliceH, dstStride[0], in yuyvToYuv420Wrapper() 395 uint8_t *ydst = dstParam[0] + dstStride[0] * srcSliceY; in yuyvToYuv422Wrapper() local 399 yuyvtoyuv422(ydst, udst, vdst, src[0], c->srcW, srcSliceH, dstStride[0], in yuyvToYuv422Wrapper() 409 uint8_t *ydst = dstParam[0] + dstStride[0] * srcSliceY; in uyvyToYuv420Wrapper() local 413 uyvytoyuv420(ydst, udst, vdst, src[0], c->srcW, srcSliceH, dstStride[0], in uyvyToYuv420Wrapper() 426 uint8_t *ydst = dstParam[0] + dstStride[0] * srcSliceY; in uyvyToYuv422Wrapper() local 430 uyvytoyuv422(ydst, udst, vdst, src[0], c->srcW, srcSliceH, dstStride[0], in uyvyToYuv422Wrapper()
|
/third_party/ffmpeg/libswscale/x86/ |
H A D | rgb2rgb_template.c | 1239 static inline void RENAME(yuy2toyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, in yuy2toyv12() argument 1294 ::"r"(src), "r"(ydst), "r"(udst), "r"(vdst), "g" (chromWidth) in yuy2toyv12() 1298 ydst += lumStride; in yuy2toyv12() 1324 ::"r"(src), "r"(ydst), "r"(udst), "r"(vdst), "g" (chromWidth) in yuy2toyv12() 1329 ydst += lumStride; in yuy2toyv12() 1441 static inline void RENAME(uyvytoyv12)(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, in uyvytoyv12() argument 1496 ::"r"(src), "r"(ydst), "r"(udst), "r"(vdst), "g" (chromWidth) in uyvytoyv12() 1500 ydst += lumStride; in uyvytoyv12() 1526 ::"r"(src), "r"(ydst), "r"(udst), "r"(vdst), "g" (chromWidth) in uyvytoyv12() 1531 ydst in uyvytoyv12() 1547 rgb24toyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, int width, int height, int lumStride, int chromStride, int srcStride, int32_t *rgb2yuv) rgb24toyv12() argument 2304 yuyvtoyuv420(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) yuyvtoyuv420() argument 2329 yuyvtoyuv422(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) yuyvtoyuv422() argument 2352 uyvytoyuv420(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) uyvytoyuv420() argument 2378 uyvytoyuv422(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, const uint8_t *src, int width, int height, int lumStride, int chromStride, int srcStride) uyvytoyuv422() argument [all...] |
H A D | rgb2rgb.c | 133 void ff_uyvytoyuv422_sse2(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, 136 void ff_uyvytoyuv422_avx(uint8_t *ydst, uint8_t *udst, uint8_t *vdst,
|
H A D | rgb_2_rgb.asm | 174 ; uyvytoyuv422(uint8_t *ydst, uint8_t *udst, uint8_t *vdst, 179 cglobal uyvytoyuv422, 9, 14, 8, ydst, udst, vdst, src, w, h, lum_stride, chrom_stride, src_stride, wtwo, whalf, tmp, x, back_w
|
/third_party/ffmpeg/libavfilter/ |
H A D | vsrc_testsrc.c | 1139 uint8_t *ydst = frame->data[0]; in yuvtest_fill_picture8() local 1150 ydst[x] = c; in yuvtest_fill_picture8() 1155 ydst += ylinesize; in yuvtest_fill_picture8() 1165 ydst[x] = mid; in yuvtest_fill_picture8() 1170 ydst += ylinesize; in yuvtest_fill_picture8() 1179 ydst[x] = mid; in yuvtest_fill_picture8() 1184 ydst += ylinesize; in yuvtest_fill_picture8() 1196 uint16_t *ydst = (uint16_t *)frame->data[0]; in yuvtest_fill_picture16() local 1207 ydst[x] = c; in yuvtest_fill_picture16() 1212 ydst in yuvtest_fill_picture16() [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | iterator_enc.c | 196 uint8_t* const ydst = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorExport() local 206 ExportBlock(ysrc, ydst, pic->y_stride, w, h); in VP8IteratorExport()
|
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | frame_dec.c | 413 uint8_t* const ydst = dec->cache_y_ - ysize + y_offset; in FinishRow() local 437 io->y = ydst; in FinishRow() 488 memcpy(dec->cache_y_ - ysize, ydst + 16 * dec->cache_y_stride_, ysize); in FinishRow()
|
/third_party/astc-encoder/Source/ |
H A D | astcenccli_image_load_store.cpp | 1240 unsigned int ydst = ymod; in load_ktx_uncompressed_image() local 1246 dst = static_cast<void*>(&data8[4 * dim_x * ydst]); in load_ktx_uncompressed_image() 1252 dst = static_cast<void*>(&data16[4 * dim_x * ydst]); in load_ktx_uncompressed_image() 2015 unsigned int ydst = ymod; in load_dds_uncompressed_image() local 2021 dst = static_cast<void*>(&data8[4 * dim_x * ydst]); in load_dds_uncompressed_image() 2027 dst = static_cast<void*>(&data16[4 * dim_x * ydst]); in load_dds_uncompressed_image()
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | sw_rgb.c | 84 declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, in check_uyvy_to_422p()
|