/third_party/ffmpeg/libswscale/ |
H A D | alphablend.c | 29 int plane, x, ysrc; in ff_sws_alphablendaway() local 53 for (ysrc = 0; ysrc < AV_CEIL_RSHIFT(srcSliceH, y_subsample); ysrc++) { in ff_sws_alphablendaway() 54 int y = ysrc + (srcSliceY >> y_subsample); in ff_sws_alphablendaway() 60 const uint16_t *s = (const uint16_t *)(src[plane ] + srcStride[plane ] * ysrc); in ff_sws_alphablendaway() 61 const uint16_t *a = (const uint16_t *)(src[plane_count] + (srcStride[plane_count] * ysrc << y_subsample)); in ff_sws_alphablendaway() 86 const uint8_t *s = src[plane ] + srcStride[plane] * ysrc; in ff_sws_alphablendaway() 87 const uint8_t *a = src[plane_count] + (srcStride[plane_count] * ysrc << y_subsample); in ff_sws_alphablendaway() 101 const uint16_t *s = (const uint16_t *)(src[plane ] + srcStride[plane ] * ysrc); in ff_sws_alphablendaway() [all...] |
H A D | rgb2rgb_template.c | 375 static inline void yuvPlanartoyuy2_c(const uint8_t *ysrc, const uint8_t *usrc, in yuvPlanartoyuy2_c() argument 387 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc; in yuvPlanartoyuy2_c() 401 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc; in yuvPlanartoyuy2_c() 420 ysrc += lumStride; in yuvPlanartoyuy2_c() 429 static inline void yv12toyuy2_c(const uint8_t *ysrc, const uint8_t *usrc, in yv12toyuy2_c() argument 435 yuvPlanartoyuy2_c(ysrc, usrc, vsrc, dst, width, height, lumStride, in yv12toyuy2_c() 439 static inline void yuvPlanartouyvy_c(const uint8_t *ysrc, const uint8_t *usrc, in yuvPlanartouyvy_c() argument 451 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc; in yuvPlanartouyvy_c() 465 const uint8_t *yc = ysrc, *uc = usrc, *vc = vsrc; in yuvPlanartouyvy_c() 484 ysrc in yuvPlanartouyvy_c() 493 yv12touyvy_c(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) yv12touyvy_c() argument 506 yuv422ptouyvy_c(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) yuv422ptouyvy_c() argument 518 yuv422ptoyuy2_c(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) yuv422ptoyuy2_c() argument [all...] |
H A D | rgb2rgb.h | 87 extern void (*yv12toyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, 94 extern void (*yuv422ptoyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, 110 extern void (*yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, 117 extern void (*yuv422ptouyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst,
|
H A D | rgb2rgb.c | 61 void (*yv12toyuy2)(const uint8_t *ysrc, const uint8_t *usrc, 65 void (*yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, 69 void (*yuv422ptoyuy2)(const uint8_t *ysrc, const uint8_t *usrc, 73 void (*yuv422ptouyvy)(const uint8_t *ysrc, const uint8_t *usrc,
|
H A D | yuv2rgb.c | 102 #define PUTRGBA(dst, ysrc, asrc, i, s) \ 103 Y = ysrc[2 * i]; \ 105 Y = ysrc[2 * i + 1]; \
|
/third_party/ffmpeg/libswscale/ppc/ |
H A D | yuv2yuv_altivec.c | 42 const uint8_t *ysrc = src[0]; in yv12toyuy2_unscaled_altivec() local 50 const vector unsigned char yperm = vec_lvsl(0, ysrc); in yv12toyuy2_unscaled_altivec() 66 vector unsigned char v_yA = vec_ld(i, ysrc); in yv12toyuy2_unscaled_altivec() 67 vector unsigned char v_yB = vec_ld(i + 16, ysrc); in yv12toyuy2_unscaled_altivec() 68 vector unsigned char v_yC = vec_ld(i + 32, ysrc); in yv12toyuy2_unscaled_altivec() 90 vector unsigned char v_y1 = vec_ld(i, ysrc); in yv12toyuy2_unscaled_altivec() 103 ysrc += lumStride; in yv12toyuy2_unscaled_altivec() 118 const uint8_t *ysrc = src[0]; in yv12touyvy_unscaled_altivec() local 127 const vector unsigned char yperm = vec_lvsl(0, ysrc); in yv12touyvy_unscaled_altivec() 142 vector unsigned char v_yA = vec_ld(i, ysrc); in yv12touyvy_unscaled_altivec() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | vf_displace.c | 93 const uint8_t *ysrc = ypic->data[plane]; in displace_planar() local 102 int Y = y + ysrc[x] - 128; in displace_planar() 113 int Y = av_clip(y + ysrc[x] - 128, 0, h - 1); in displace_planar() 120 int Y = (y + ysrc[x] - 128) % h; in displace_planar() 132 int Y = y + ysrc[x] - 128; in displace_planar() 148 ysrc += ylinesize; in displace_planar() 167 const uint8_t *ysrc = ypic->data[0]; in displace_packed() local 178 int Y = y + (ysrc[x * step + c] - 128); in displace_packed() 191 int Y = av_clip(y + (ysrc[x * step + c] - 128), 0, h - 1); in displace_packed() 201 int Y = (y + (ysrc[ in displace_packed() [all...] |
/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | iterator_enc.c | 135 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorImport() local 143 ImportBlock(ysrc, pic->y_stride, it->yuv_in_ + Y_OFF_ENC, w, h, 16); in VP8IteratorImport() 156 it->y_left_[-1] = ysrc[- 1 - pic->y_stride]; in VP8IteratorImport() 160 ImportLine(ysrc - 1, pic->y_stride, it->y_left_, h, 16); in VP8IteratorImport() 170 ImportLine(ysrc - pic->y_stride, 1, tmp_32, w, 16); in VP8IteratorImport() 192 const uint8_t* const ysrc = it->yuv_out_ + Y_OFF_ENC; in VP8IteratorExport() local 206 ExportBlock(ysrc, ydst, pic->y_stride, w, h); in VP8IteratorExport() 293 const uint8_t* const ysrc = it->yuv_out_ + Y_OFF_ENC; in VP8IteratorSaveBoundary() local 298 it->y_left_[i] = ysrc[15 + i * BPS]; in VP8IteratorSaveBoundary() 310 memcpy(it->y_top_, ysrc in VP8IteratorSaveBoundary() [all...] |
/third_party/ffmpeg/libswscale/x86/ |
H A D | rgb2rgb_template.c | 1085 static inline void RENAME(yuvPlanartoyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, in yuvPlanartoyuy2() argument 1123 ::"r"(dst), "r"(ysrc), "r"(usrc), "r"(vsrc), "g" (chromWidth) in yuvPlanartoyuy2() 1130 ysrc += lumStride; in yuvPlanartoyuy2() 1142 static inline void RENAME(yv12toyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, in yv12toyuy2() argument 1147 RENAME(yuvPlanartoyuy2)(ysrc, usrc, vsrc, dst, width, height, lumStride, chromStride, dstStride, 2); in yv12toyuy2() 1150 static inline void RENAME(yuvPlanartouyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, in yuvPlanartouyvy() argument 1188 ::"r"(dst), "r"(ysrc), "r"(usrc), "r"(vsrc), "g" (chromWidth) in yuvPlanartouyvy() 1195 ysrc += lumStride; in yuvPlanartouyvy() 1207 static inline void RENAME(yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, in yv12touyvy() argument 1212 RENAME(yuvPlanartouyvy)(ysrc, usr in yv12touyvy() 1218 yuv422ptouyvy(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) yuv422ptouyvy() argument 1228 yuv422ptoyuy2(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, int width, int height, int lumStride, int chromStride, int dstStride) yuv422ptoyuy2() argument [all...] |