Home
last modified time | relevance | path

Searched refs:uv_stride (Results 1 – 25 of 29) 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()
Dpicture_csp_enc.c434 dst_u += picture->uv_stride; in ConvertWRGBToYUV()
435 dst_v += picture->uv_stride; in ConvertWRGBToYUV()
946 dst_u += picture->uv_stride; in ImportYUVAFromRGBA()
947 dst_v += picture->uv_stride; in ImportYUVAFromRGBA()
1069 cur_u += picture->uv_stride; in WebPPictureYUVAToARGB()
1070 cur_v += picture->uv_stride; in WebPPictureYUVAToARGB()
/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 …]
Dvp9recon.c276 ptr, td->uv_stride, l, col, x, w4, row, y, in intra_recon()
278 s->dsp.intra_pred[b->uvtx][mode](ptr, td->uv_stride, l, a); in intra_recon()
280 s->dsp.itxfm_add[uvtx][DCT_DCT](ptr, td->uv_stride, in intra_recon()
284 dst += 4 * uvstep1d * td->uv_stride; in intra_recon()
638 s->dsp.itxfm_add[uvtx][DCT_DCT](ptr, td->uv_stride, in inter_recon()
641 dst += 4 * uvstep1d * td->uv_stride; in inter_recon()
Dvp9dec.h172 ptrdiff_t y_stride, uv_stride; member
Dvp9.c1102 ptrdiff_t y_stride = f->linesize[0], uv_stride = f->linesize[1]; in decode_sb() local
1118 uvoff += hbs * 8 * uv_stride >> s->ss_v; in decode_sb()
1133 uvoff += hbs * 8 * uv_stride >> s->ss_v; in decode_sb()
1157 uvoff += hbs * 8 * uv_stride >> s->ss_v; in decode_sb()
1177 ptrdiff_t y_stride = f->linesize[0], uv_stride = f->linesize[1]; in decode_sb_mem() local
1187 uvoff += hbs * 8 * uv_stride >> s->ss_v; in decode_sb_mem()
1201 uvoff += hbs * 8 * uv_stride >> s->ss_v; in decode_sb_mem()
1213 uvoff += hbs * 8 * uv_stride >> s->ss_v; in decode_sb_mem()
Dlibwebpenc_common.c210 pic->uv_stride = frame->linesize[1]; in ff_libwebp_get_frame()
/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()
Dvp8_dec.h60 int uv_stride; // row stride for chroma member
Didec_dec.c873 int* stride, int* uv_stride, int* a_stride) { in WebPIDecGetYUVA() argument
887 if (uv_stride != NULL) *uv_stride = src->u.YUVA.u_stride; in WebPIDecGetYUVA()
Dwebp_dec.c660 int* stride, int* uv_stride) { in WebPDecodeYUV() argument
670 *uv_stride = buf->u_stride; in WebPDecodeYUV()
/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()
Dcwebp.c69 pic->u, pic->uv_stride, uv_width, uv_height); in ReadYUV()
71 pic->v, pic->uv_stride, uv_width, uv_height); in ReadYUV()
329 src_u += picture->uv_stride; in DumpPicture()
330 src_v += picture->uv_stride; in DumpPicture()
/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/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()
Dencode.h313 int y_stride, uv_stride; // luma/chroma strides. member
/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/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()
/third_party/gstreamer/gstplugins_bad/ext/webp/
Dgstwebpenc.c274 enc->webp_picture.uv_stride = GST_VIDEO_FRAME_COMP_STRIDE (&vframe, 1); in gst_webp_enc_handle_frame()

12