Home
last modified time | relevance | path

Searched refs:ysrc (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libswscale/
Dalphablend.c29 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 …int16_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()
102 … const uint16_t *a = (const uint16_t *)(src[plane_count] + srcStride[plane_count] * ysrc); in ff_sws_alphablendaway()
117 const uint8_t *s = src[plane ] + srcStride[plane] * ysrc; in ff_sws_alphablendaway()
[all …]
Drgb2rgb_template.c375 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 += lumStride; in yuvPlanartouyvy_c()
[all …]
Drgb2rgb.h90 extern void (*yv12toyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *d…
97 extern void (*yuv422ptoyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t…
113 extern void (*yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *d…
120 extern void (*yuv422ptouyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t…
Drgb2rgb.c61 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,
Dyuv2rgb.c103 #define PUTRGBA(dst, ysrc, asrc, i, s) \ argument
104 Y = ysrc[2 * i]; \
106 Y = ysrc[2 * i + 1]; \
/third_party/ffmpeg/libswscale/ppc/
Dyuv2yuv_altivec.c42 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/
Dvf_displace.c98 const uint8_t *ysrc = ypic->data[plane]; in displace_planar() local
107 int Y = y + ysrc[x] - 128; in displace_planar()
118 int Y = av_clip(y + ysrc[x] - 128, 0, h - 1); in displace_planar()
125 int Y = (y + ysrc[x] - 128) % h; in displace_planar()
137 int Y = y + ysrc[x] - 128; in displace_planar()
153 ysrc += ylinesize; in displace_planar()
172 const uint8_t *ysrc = ypic->data[0]; in displace_packed() local
183 int Y = y + (ysrc[x * step + c] - 128); in displace_packed()
196 int Y = av_clip(y + (ysrc[x * step + c] - 128), 0, h - 1); in displace_packed()
206 int Y = (y + (ysrc[x * step + c] - 128)) % h; in displace_packed()
[all …]
/third_party/skia/third_party/externals/libwebp/src/enc/
Diterator_enc.c135 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 + 15 * BPS, 16); in VP8IteratorSaveBoundary()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Diterator_enc.c135 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 + 15 * BPS, 16); in VP8IteratorSaveBoundary()
/third_party/ffmpeg/libswscale/x86/
Drgb2rgb_template.c1105 static inline void RENAME(yuvPlanartoyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t … in RENAME()
1143 ::"r"(dst), "r"(ysrc), "r"(usrc), "r"(vsrc), "g" (chromWidth) in RENAME()
1150 ysrc += lumStride; in RENAME()
1162 static inline void RENAME(yv12toyuy2)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc… in RENAME()
1167 …RENAME(yuvPlanartoyuy2)(ysrc, usrc, vsrc, dst, width, height, lumStride, chromStride, dstStride, 2… in RENAME()
1170 static inline void RENAME(yuvPlanartouyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t … in RENAME()
1208 ::"r"(dst), "r"(ysrc), "r"(usrc), "r"(vsrc), "g" (chromWidth) in RENAME()
1215 ysrc += lumStride; in RENAME()
1227 static inline void RENAME(yv12touyvy)(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc… in RENAME()
1232 …RENAME(yuvPlanartouyvy)(ysrc, usrc, vsrc, dst, width, height, lumStride, chromStride, dstStride, 2… in RENAME()
[all …]