Home
last modified time | relevance | path

Searched refs:uv_stride (Results 1 – 25 of 48) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_rescale_enc.c69 WebPCopyPlane(src->u, src->uv_stride, dst->u, dst->uv_stride, in WebPPictureCopy()
71 WebPCopyPlane(src->v, src->uv_stride, dst->v, dst->uv_stride, in WebPPictureCopy()
108 dst->u = src->u + (top >> 1) * src->uv_stride + (left >> 1); in WebPPictureView()
109 dst->v = src->v + (top >> 1) * src->uv_stride + (left >> 1); in WebPPictureView()
111 dst->uv_stride = src->uv_stride; in WebPPictureView()
140 const int uv_offset = (top / 2) * pic->uv_stride + left / 2; in WebPPictureCrop()
143 WebPCopyPlane(pic->u + uv_offset, pic->uv_stride, in WebPPictureCrop()
144 tmp.u, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
145 WebPCopyPlane(pic->v + uv_offset, pic->uv_stride, in WebPPictureCrop()
146 tmp.v, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
[all …]
Diterator_enc.c136 const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8; in VP8IteratorImport()
137 const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8; in VP8IteratorImport()
144 ImportBlock(usrc, pic->uv_stride, it->yuv_in_ + U_OFF_ENC, uv_w, uv_h, 8); in VP8IteratorImport()
145 ImportBlock(vsrc, pic->uv_stride, it->yuv_in_ + V_OFF_ENC, uv_w, uv_h, 8); in VP8IteratorImport()
157 it->u_left_[-1] = usrc[- 1 - pic->uv_stride]; in VP8IteratorImport()
158 it->v_left_[-1] = vsrc[- 1 - pic->uv_stride]; in VP8IteratorImport()
161 ImportLine(usrc - 1, pic->uv_stride, it->u_left_, uv_h, 8); in VP8IteratorImport()
162 ImportLine(vsrc - 1, pic->uv_stride, it->v_left_, uv_h, 8); in VP8IteratorImport()
171 ImportLine(usrc - pic->uv_stride, 1, tmp_32 + 16, uv_w, 8); in VP8IteratorImport()
172 ImportLine(vsrc - pic->uv_stride, 1, tmp_32 + 16 + 8, uv_w, 8); in VP8IteratorImport()
[all …]
Dpicture_tools_enc.c127 const int uv_stride = pic->uv_stride; in WebPCleanupTransparentArea() local
149 Flatten(u_ptr + (x >> 1), values[1], uv_stride, SIZE2); in WebPCleanupTransparentArea()
150 Flatten(v_ptr + (x >> 1), values[2], uv_stride, SIZE2); in WebPCleanupTransparentArea()
161 u_ptr += SIZE2 * uv_stride; in WebPCleanupTransparentArea()
162 v_ptr += SIZE2 * uv_stride; in WebPCleanupTransparentArea()
238 u_ptr += pic->uv_stride; in WebPBlendAlpha()
239 v_ptr += pic->uv_stride; in WebPBlendAlpha()
Dpicture_enc.c57 picture->y_stride = picture->uv_stride = 0; in WebPPictureResetBufferYUVA()
96 const int uv_stride = uv_width; in WebPPictureAllocYUVA() local
114 uv_size = (uint64_t)uv_stride * uv_height; in WebPPictureAllocYUVA()
133 picture->uv_stride = uv_stride; in WebPPictureAllocYUVA()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_rescale_enc.c69 WebPCopyPlane(src->u, src->uv_stride, dst->u, dst->uv_stride, in WebPPictureCopy()
71 WebPCopyPlane(src->v, src->uv_stride, dst->v, dst->uv_stride, in WebPPictureCopy()
108 dst->u = src->u + (top >> 1) * src->uv_stride + (left >> 1); in WebPPictureView()
109 dst->v = src->v + (top >> 1) * src->uv_stride + (left >> 1); in WebPPictureView()
111 dst->uv_stride = src->uv_stride; in WebPPictureView()
140 const int uv_offset = (top / 2) * pic->uv_stride + left / 2; in WebPPictureCrop()
143 WebPCopyPlane(pic->u + uv_offset, pic->uv_stride, in WebPPictureCrop()
144 tmp.u, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
145 WebPCopyPlane(pic->v + uv_offset, pic->uv_stride, in WebPPictureCrop()
146 tmp.v, tmp.uv_stride, HALVE(width), HALVE(height)); in WebPPictureCrop()
[all …]
Diterator_enc.c136 const uint8_t* const usrc = pic->u + (y * pic->uv_stride + x) * 8; in VP8IteratorImport()
137 const uint8_t* const vsrc = pic->v + (y * pic->uv_stride + x) * 8; in VP8IteratorImport()
144 ImportBlock(usrc, pic->uv_stride, it->yuv_in_ + U_OFF_ENC, uv_w, uv_h, 8); in VP8IteratorImport()
145 ImportBlock(vsrc, pic->uv_stride, it->yuv_in_ + V_OFF_ENC, uv_w, uv_h, 8); in VP8IteratorImport()
157 it->u_left_[-1] = usrc[- 1 - pic->uv_stride]; in VP8IteratorImport()
158 it->v_left_[-1] = vsrc[- 1 - pic->uv_stride]; in VP8IteratorImport()
161 ImportLine(usrc - 1, pic->uv_stride, it->u_left_, uv_h, 8); in VP8IteratorImport()
162 ImportLine(vsrc - 1, pic->uv_stride, it->v_left_, uv_h, 8); in VP8IteratorImport()
171 ImportLine(usrc - pic->uv_stride, 1, tmp_32 + 16, uv_w, 8); in VP8IteratorImport()
172 ImportLine(vsrc - pic->uv_stride, 1, tmp_32 + 16 + 8, uv_w, 8); in VP8IteratorImport()
[all …]
Dpicture_tools_enc.c114 const int uv_stride = pic->uv_stride; in WebPCleanupTransparentArea() local
136 Flatten(u_ptr + (x >> 1), values[1], uv_stride, SIZE2); in WebPCleanupTransparentArea()
137 Flatten(v_ptr + (x >> 1), values[2], uv_stride, SIZE2); in WebPCleanupTransparentArea()
148 u_ptr += SIZE2 * uv_stride; in WebPCleanupTransparentArea()
149 v_ptr += SIZE2 * uv_stride; in WebPCleanupTransparentArea()
243 u_ptr += pic->uv_stride; in WebPBlendAlpha()
244 v_ptr += pic->uv_stride; in WebPBlendAlpha()
Dpicture_enc.c57 picture->y_stride = picture->uv_stride = 0; in WebPPictureResetBufferYUVA()
96 const int uv_stride = uv_width; in WebPPictureAllocYUVA() local
114 uv_size = (uint64_t)uv_stride * uv_height; in WebPPictureAllocYUVA()
133 picture->uv_stride = uv_stride; in WebPPictureAllocYUVA()
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/
Dsimple_api_fuzzer.c44 int stride, uv_stride; in LLVMFuzzerTestOneInput() local
45 buf = WebPDecodeYUV(data, size, &w, &h, &u, &v, &stride, &uv_stride); in LLVMFuzzerTestOneInput()
67 const int uv_stride = (w + 1) / 2; in LLVMFuzzerTestOneInput() local
68 size_t u_size = uv_stride * (h + 1) / 2; in LLVMFuzzerTestOneInput()
69 size_t v_size = uv_stride * (h + 1) / 2; in LLVMFuzzerTestOneInput()
79 u_buf, u_size, uv_stride, v_buf, v_size, uv_stride); in LLVMFuzzerTestOneInput()
/third_party/ffmpeg/libavcodec/
Dtruemotion2.c86 int y_stride, uv_stride; member
426 Vstride = ctx->uv_stride;\
427 Ustride = ctx->uv_stride;\
862 memcpy(U - 2 - 1 * ctx->uv_stride, U - 2, ctx->uv_stride); in tm2_decode_blocks()
863 memcpy(V - 2 - 1 * ctx->uv_stride, V - 2, ctx->uv_stride); in tm2_decode_blocks()
864 memcpy(U - 2 - 2 * ctx->uv_stride, U - 2, ctx->uv_stride); in tm2_decode_blocks()
865 memcpy(V - 2 - 2 * ctx->uv_stride, V - 2, ctx->uv_stride); in tm2_decode_blocks()
867 memcpy(U - 2 + 1 * ctx->uv_stride, U - 2, ctx->uv_stride); in tm2_decode_blocks()
868 memcpy(V - 2 + 1 * ctx->uv_stride, V - 2, ctx->uv_stride); in tm2_decode_blocks()
869 memcpy(U - 2 + 2 * ctx->uv_stride, U - 2, ctx->uv_stride); in tm2_decode_blocks()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c36 WebPCopyPlane(io->u, io->uv_stride, u_dst, buf->u_stride, uv_w, uv_h); in EmitYUV()
37 WebPCopyPlane(io->v, io->uv_stride, v_dst, buf->v_stride, uv_w, uv_h); in EmitYUV()
47 io->u, io->v, io->uv_stride, in EmitSampledRGB()
85 cur_u += io->uv_stride; in EmitFancyRGB()
86 cur_v += io->uv_stride; in EmitFancyRGB()
266 Rescale(io->u, io->uv_stride, uv_mb_h, p->scaler_u); in EmitRescaledYUV()
267 Rescale(io->v, io->uv_stride, uv_mb_h, p->scaler_v); in EmitRescaledYUV()
396 p->scaler_u, uv_mb_h - uv_j, io->u + (size_t)uv_j * io->uv_stride, in EmitRescaledRGB()
397 io->uv_stride); in EmitRescaledRGB()
399 p->scaler_v, uv_mb_h - uv_j, io->v + (size_t)uv_j * io->uv_stride, in EmitRescaledRGB()
[all …]
Dbuffer_dec.c98 int uv_stride = 0, a_stride = 0; in AllocateBuffer() local
111 uv_stride = (w + 1) / 2; in AllocateBuffer()
112 uv_size = (uint64_t)uv_stride * ((h + 1) / 2); in AllocateBuffer()
132 buf->u_stride = uv_stride; in AllocateBuffer()
135 buf->v_stride = uv_stride; in AllocateBuffer()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dio_dec.c40 memcpy(u_dst + j * buf->u_stride, io->u + j * io->uv_stride, uv_w); in EmitYUV()
41 memcpy(v_dst + j * buf->v_stride, io->v + j * io->uv_stride, uv_w); in EmitYUV()
52 io->u, io->v, io->uv_stride, in EmitSampledRGB()
90 cur_u += io->uv_stride; in EmitFancyRGB()
91 cur_v += io->uv_stride; in EmitFancyRGB()
271 Rescale(io->u, io->uv_stride, uv_mb_h, p->scaler_u); in EmitRescaledYUV()
272 Rescale(io->v, io->uv_stride, uv_mb_h, p->scaler_v); in EmitRescaledYUV()
391 io->u + uv_j * io->uv_stride, io->uv_stride); in EmitRescaledRGB()
394 io->v + uv_j * io->uv_stride, io->uv_stride); in EmitRescaledRGB()
Dbuffer_dec.c98 int uv_stride = 0, a_stride = 0; in AllocateBuffer() local
111 uv_stride = (w + 1) / 2; in AllocateBuffer()
112 uv_size = (uint64_t)uv_stride * ((h + 1) / 2); in AllocateBuffer()
133 buf->u_stride = uv_stride; in AllocateBuffer()
136 buf->v_stride = uv_stride; in AllocateBuffer()
/third_party/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c204 output_buffer->u.YUVA.u_stride = pic->uv_stride; in ReadWebP()
205 output_buffer->u.YUVA.v_stride = pic->uv_stride; in ReadWebP()
208 output_buffer->u.YUVA.u_size = (pic->height + 1) / 2 * pic->uv_stride; in ReadWebP()
209 output_buffer->u.YUVA.v_size = (pic->height + 1) / 2 * pic->uv_stride; in ReadWebP()
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c204 output_buffer->u.YUVA.u_stride = pic->uv_stride; in ReadWebP()
205 output_buffer->u.YUVA.v_stride = pic->uv_stride; in ReadWebP()
208 output_buffer->u.YUVA.u_size = (pic->height + 1) / 2 * pic->uv_stride; in ReadWebP()
209 output_buffer->u.YUVA.v_size = (pic->height + 1) / 2 * pic->uv_stride; in ReadWebP()
/third_party/skia/third_party/externals/libwebp/examples/
Ddwebp.c145 uint32_t uv_stride = (w + 1) / 2 + 13; in AllocateExternalBuffer() local
147 + 2 * uv_stride * (h + 1) / 2; in AllocateExternalBuffer()
166 output_buffer->u.YUVA.u_stride = uv_stride; in AllocateExternalBuffer()
167 output_buffer->u.YUVA.u_size = uv_stride * (h + 1) / 2; in AllocateExternalBuffer()
171 output_buffer->u.YUVA.v_stride = uv_stride; in AllocateExternalBuffer()
172 output_buffer->u.YUVA.v_size = uv_stride * (h + 1) / 2; in AllocateExternalBuffer()
/third_party/flutter/skia/third_party/externals/libwebp/examples/
Ddwebp.c144 uint32_t uv_stride = (w + 1) / 2 + 13; in AllocateExternalBuffer() local
146 + 2 * uv_stride * (h + 1) / 2; in AllocateExternalBuffer()
165 output_buffer->u.YUVA.u_stride = uv_stride; in AllocateExternalBuffer()
166 output_buffer->u.YUVA.u_size = uv_stride * (h + 1) / 2; in AllocateExternalBuffer()
170 output_buffer->u.YUVA.v_stride = uv_stride; in AllocateExternalBuffer()
171 output_buffer->u.YUVA.v_size = uv_stride * (h + 1) / 2; in AllocateExternalBuffer()
/third_party/skia/third_party/externals/libwebp/src/webp/
Ddecode.h92 int* stride, int* uv_stride);
358 int* width, int* height, int* stride, int* uv_stride, int* a_stride);
364 int* width, int* height, int* stride, int* uv_stride) { in WebPIDecGetYUV() argument
366 stride, uv_stride, NULL); in WebPIDecGetYUV()
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Ddecode.h92 int* stride, int* uv_stride);
361 int* width, int* height, int* stride, int* uv_stride, int* a_stride);
367 int* width, int* height, int* stride, int* uv_stride) { in WebPIDecGetYUV() argument
369 stride, uv_stride, NULL); in WebPIDecGetYUV()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dyuv.c53 const uint8_t* u, const uint8_t* v, int uv_stride, in WebPSamplerProcessPlane() argument
61 u += uv_stride; in WebPSamplerProcessPlane()
62 v += uv_stride; in WebPSamplerProcessPlane()
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dyuv.c53 const uint8_t* u, const uint8_t* v, int uv_stride, in WebPSamplerProcessPlane() argument
61 u += uv_stride; in WebPSamplerProcessPlane()
62 v += uv_stride; in WebPSamplerProcessPlane()
/third_party/flutter/skia/third_party/externals/libwebp/extras/
Dextras.c42 memset(pic->u + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
43 memset(pic->v + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
/third_party/gstreamer/gstplugins_good/gst/alpha/
Dgstalpha.c1358 gint y_stride, uv_stride; in gst_alpha_set_planar_yuv_ayuv() local
1367 uv_stride = GST_VIDEO_FRAME_COMP_STRIDE (in_frame, 1); in gst_alpha_set_planar_yuv_ayuv()
1412 srcU_tmp = srcU = srcU_tmp + uv_stride; in gst_alpha_set_planar_yuv_ayuv()
1413 srcV_tmp = srcV = srcV_tmp + uv_stride; in gst_alpha_set_planar_yuv_ayuv()
1449 srcU_tmp = srcU = srcU_tmp + uv_stride; in gst_alpha_set_planar_yuv_ayuv()
1450 srcV_tmp = srcV = srcV_tmp + uv_stride; in gst_alpha_set_planar_yuv_ayuv()
1471 gint y_stride, uv_stride; in gst_alpha_chroma_key_planar_yuv_ayuv() local
1489 uv_stride = GST_VIDEO_FRAME_COMP_STRIDE (in_frame, 1); in gst_alpha_chroma_key_planar_yuv_ayuv()
1546 srcU_tmp = srcU = srcU_tmp + uv_stride; in gst_alpha_chroma_key_planar_yuv_ayuv()
1547 srcV_tmp = srcV = srcV_tmp + uv_stride; in gst_alpha_chroma_key_planar_yuv_ayuv()
[all …]
/third_party/skia/third_party/externals/libwebp/extras/
Dextras.c43 memset(pic->u + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()
44 memset(pic->v + (y >> 1) * pic->uv_stride, 128, uv_width); in WebPImportGray()

12