Home
last modified time | relevance | path

Searched refs:y_stride (Results 1 – 25 of 65) sorted by relevance

123

/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_tools_enc.c56 int y_stride, int width, int height) { in SmoothenBlock() argument
69 luma_ptr += y_stride; in SmoothenBlock()
80 luma_ptr += y_stride; in SmoothenBlock()
113 const int y_stride = pic->y_stride; in WebPCleanupTransparentArea() local
127 if (SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
135 Flatten(y_ptr + x, values[0], y_stride, SIZE); in WebPCleanupTransparentArea()
143 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
147 y_ptr += SIZE * y_stride; in WebPCleanupTransparentArea()
154 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
158 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
[all …]
Dpicture_rescale_enc.c67 WebPCopyPlane(src->y, src->y_stride, in WebPPictureCopy()
68 dst->y, dst->y_stride, dst->width, dst->height); in WebPPictureCopy()
107 dst->y = src->y + top * src->y_stride + left; in WebPPictureView()
110 dst->y_stride = src->y_stride; in WebPPictureView()
139 const int y_offset = top * pic->y_stride + left; in WebPPictureCrop()
141 WebPCopyPlane(pic->y + y_offset, pic->y_stride, in WebPPictureCrop()
142 tmp.y, tmp.y_stride, width, height); in WebPPictureCrop()
193 WebPMultRows(pic->y, pic->y_stride, pic->a, pic->a_stride, in AlphaMultiplyY()
232 RescalePlane(pic->y, prev_width, prev_height, pic->y_stride, in WebPPictureRescale()
233 tmp.y, width, height, tmp.y_stride, work, 1); in WebPPictureRescale()
Dpicture_enc.c57 picture->y_stride = picture->uv_stride = 0; in WebPPictureResetBufferYUVA()
93 const int y_stride = width; in WebPPictureAllocYUVA() local
113 y_size = (uint64_t)y_stride * height; in WebPPictureAllocYUVA()
132 picture->y_stride = y_stride; in WebPPictureAllocYUVA()
Diterator_enc.c135 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorImport()
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()
196 uint8_t* const ydst = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorExport()
206 ExportBlock(ysrc, ydst, pic->y_stride, w, h); in VP8IteratorExport()
Dpicture_csp_enc.c418 dst_y += picture->y_stride; in ConvertWRGBToYUV()
911 dst_y + picture->y_stride, width); in ImportYUVAFromRGBA()
915 dst_y + picture->y_stride, width); in ImportYUVAFromRGBA()
922 dst_y + picture->y_stride, width, rg); in ImportYUVAFromRGBA()
924 dst_y += 2 * picture->y_stride; in ImportYUVAFromRGBA()
1059 cur_y += picture->y_stride; in WebPPictureYUVAToARGB()
1067 upsample(cur_y, cur_y + picture->y_stride, top_u, top_v, cur_u, cur_v, in WebPPictureYUVAToARGB()
1069 cur_y += 2 * picture->y_stride; in WebPPictureYUVAToARGB()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_tools_enc.c56 int y_stride, int width, int height) { in SmoothenBlock() argument
69 luma_ptr += y_stride; in SmoothenBlock()
80 luma_ptr += y_stride; in SmoothenBlock()
126 const int y_stride = pic->y_stride; in WebPCleanupTransparentArea() local
140 if (SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
148 Flatten(y_ptr + x, values[0], y_stride, SIZE); in WebPCleanupTransparentArea()
156 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
160 y_ptr += SIZE * y_stride; in WebPCleanupTransparentArea()
167 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
171 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
[all …]
Dpicture_rescale_enc.c67 WebPCopyPlane(src->y, src->y_stride, in WebPPictureCopy()
68 dst->y, dst->y_stride, dst->width, dst->height); in WebPPictureCopy()
107 dst->y = src->y + top * src->y_stride + left; in WebPPictureView()
110 dst->y_stride = src->y_stride; in WebPPictureView()
139 const int y_offset = top * pic->y_stride + left; in WebPPictureCrop()
141 WebPCopyPlane(pic->y + y_offset, pic->y_stride, in WebPPictureCrop()
142 tmp.y, tmp.y_stride, width, height); in WebPPictureCrop()
196 WebPMultRows(pic->y, pic->y_stride, pic->a, pic->a_stride, in AlphaMultiplyY()
237 if (!RescalePlane(pic->y, prev_width, prev_height, pic->y_stride, in WebPPictureRescale()
238 tmp.y, width, height, tmp.y_stride, work, 1) || in WebPPictureRescale()
Dpicture_enc.c57 picture->y_stride = picture->uv_stride = 0; in WebPPictureResetBufferYUVA()
93 const int y_stride = width; in WebPPictureAllocYUVA() local
113 y_size = (uint64_t)y_stride * height; in WebPPictureAllocYUVA()
132 picture->y_stride = y_stride; in WebPPictureAllocYUVA()
Diterator_enc.c135 const uint8_t* const ysrc = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorImport()
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()
196 uint8_t* const ydst = pic->y + (y * pic->y_stride + x) * 16; in VP8IteratorExport()
206 ExportBlock(ysrc, ydst, pic->y_stride, w, h); in VP8IteratorExport()
Dpicture_csp_enc.c422 dst_y += picture->y_stride; in ConvertWRGBToYUV()
915 dst_y + picture->y_stride, width); in ImportYUVAFromRGBA()
919 dst_y + picture->y_stride, width); in ImportYUVAFromRGBA()
926 dst_y + picture->y_stride, width, rg); in ImportYUVAFromRGBA()
928 dst_y += 2 * picture->y_stride; in ImportYUVAFromRGBA()
1063 cur_y += picture->y_stride; in WebPPictureYUVAToARGB()
1071 upsample(cur_y, cur_y + picture->y_stride, top_u, top_v, cur_u, cur_v, in WebPPictureYUVAToARGB()
1073 cur_y += 2 * picture->y_stride; in WebPPictureYUVAToARGB()
/third_party/skia/third_party/externals/libwebp/src/dec/
Dbuffer_dec.c52 const int y_stride = abs(buf->y_stride); in CheckDecBuffer() local
56 const uint64_t y_size = MIN_BUFFER_SIZE(width, height, y_stride); in CheckDecBuffer()
63 ok &= (y_stride >= width); in CheckDecBuffer()
129 buf->y_stride = stride; in AllocateBuffer()
163 buf->y += (H - 1) * buf->y_stride; in WebPFlipBuffer()
164 buf->y_stride = -buf->y_stride; in WebPFlipBuffer()
288 WebPCopyPlane(src->y, src->y_stride, dst->y, dst->y_stride, in WebPCopyDecBufferPixels()
Dio_dec.c28 uint8_t* const y_dst = buf->y + (size_t)io->mb_y * buf->y_stride; in EmitYUV()
35 WebPCopyPlane(io->y, io->y_stride, y_dst, buf->y_stride, mb_w, mb_h); in EmitYUV()
46 WebPSamplerProcessPlane(io->y, io->y_stride, in EmitSampledRGB()
88 cur_y += 2 * io->y_stride; in EmitFancyRGB()
89 upsample(cur_y - io->y_stride, cur_y, in EmitFancyRGB()
94 cur_y += io->y_stride; in EmitFancyRGB()
262 WebPMultRows((uint8_t*)io->y, io->y_stride, in EmitRescaledYUV()
265 num_lines_out = Rescale(io->y, io->y_stride, mb_h, scaler); in EmitRescaledYUV()
276 uint8_t* const dst_y = buf->y + (size_t)p->last_y * buf->y_stride; in EmitRescaledAlphaYUV()
280 WebPMultRows(dst_y, buf->y_stride, dst_a, buf->a_stride, in EmitRescaledAlphaYUV()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dbuffer_dec.c52 const int y_stride = abs(buf->y_stride); in CheckDecBuffer() local
56 const uint64_t y_size = MIN_BUFFER_SIZE(width, height, y_stride); in CheckDecBuffer()
63 ok &= (y_stride >= width); in CheckDecBuffer()
130 buf->y_stride = stride; in AllocateBuffer()
164 buf->y += (H - 1) * buf->y_stride; in WebPFlipBuffer()
165 buf->y_stride = -buf->y_stride; in WebPFlipBuffer()
290 WebPCopyPlane(src->y, src->y_stride, dst->y, dst->y_stride, in WebPCopyDecBufferPixels()
Dio_dec.c28 uint8_t* const y_dst = buf->y + io->mb_y * buf->y_stride; in EmitYUV()
37 memcpy(y_dst + j * buf->y_stride, io->y + j * io->y_stride, mb_w); in EmitYUV()
51 WebPSamplerProcessPlane(io->y, io->y_stride, in EmitSampledRGB()
93 cur_y += 2 * io->y_stride; in EmitFancyRGB()
94 upsample(cur_y - io->y_stride, cur_y, in EmitFancyRGB()
99 cur_y += io->y_stride; in EmitFancyRGB()
267 WebPMultRows((uint8_t*)io->y, io->y_stride, in EmitRescaledYUV()
270 num_lines_out = Rescale(io->y, io->y_stride, mb_h, scaler); in EmitRescaledYUV()
281 uint8_t* const dst_y = buf->y + p->last_y * buf->y_stride; in EmitRescaledAlphaYUV()
285 WebPMultRows(dst_y, buf->y_stride, dst_a, buf->a_stride, in EmitRescaledAlphaYUV()
[all …]
/third_party/ffmpeg/libavcodec/
Dtruemotion2.c86 int y_stride, uv_stride; member
425 Ystride = ctx->y_stride;\
841 memcpy(Y - 4 - 1 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
842 memcpy(Y - 4 - 2 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
843 memcpy(Y - 4 - 3 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
844 memcpy(Y - 4 - 4 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
846 memcpy(Y - 4 + 1 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
847 memcpy(Y - 4 + 2 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
848 memcpy(Y - 4 + 3 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
849 memcpy(Y - 4 + 4 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
[all …]
Ddvdec.c322 int y_stride, linesize; in dv_decode_video_segment() local
479 y_stride = (s->frame->linesize[0] << in dv_decode_video_segment()
482 y_stride = (2 << log2_blocksize); in dv_decode_video_segment()
495 mb[2].idct_put(y_ptr + y_stride, linesize, block + 2 * 64); in dv_decode_video_segment()
496 mb[3].idct_put(y_ptr + (1 << log2_blocksize) + y_stride, linesize, block + 3 * 64); in dv_decode_video_segment()
524 y_stride = (mb_y == 134) ? (1 << log2_blocksize) : in dv_decode_video_segment()
535 (mb++)->idct_put(c_ptr + y_stride, linesize, block); in dv_decode_video_segment()
Ddvenc.c844 ptrdiff_t linesize, y_stride; in dv_encode_video_segment() local
877 y_stride = s->frame->linesize[0] * (1 << (3*!enc_blk->dct_mode)); in dv_encode_video_segment()
879 y_stride = 16; in dv_encode_video_segment()
895 dv_init_enc_block(enc_blk + 2, y_ptr + y_stride, linesize, s, 0) + in dv_encode_video_segment()
896 dv_init_enc_block(enc_blk + 3, y_ptr + 8 + y_stride, linesize, s, 0); in dv_encode_video_segment()
906 y_stride = (mb_y == 134) ? 8 : (s->frame->linesize[j] * (1 << (3*!enc_blk->dct_mode))); in dv_encode_video_segment()
929 vs_bit_size += dv_init_enc_block(enc_blk++, c_ptr + y_stride, in dv_encode_video_segment()
Dvp9recon.c247 ptr, td->y_stride, l, in intra_recon()
249 s->dsp.intra_pred[b->tx][mode](ptr, td->y_stride, l, a); in intra_recon()
251 s->dsp.itxfm_add[tx][txtp](ptr, td->y_stride, in intra_recon()
255 dst += 4 * step1d * td->y_stride; in intra_recon()
619 s->dsp.itxfm_add[tx][DCT_DCT](ptr, td->y_stride, in inter_recon()
622 dst += 4 * td->y_stride * step1d; in inter_recon()
/third_party/ffmpeg/libswscale/arm/
Drgb2yuv_neon_common.S81 alias y_stride, r5, \set
106 load_arg y_stride, 5
113 sub y_padding, y_stride, width
120 add y1, y0, y_stride
136 add y0_end, y1, y_stride
140 add y1, y0, y_stride
Dswscale_unscaled.c29 int y_stride, int c_stride, int src_stride,
34 int y_stride, int c_stride, int src_stride,
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c203 output_buffer->u.YUVA.y_stride = pic->y_stride; in ReadWebP()
207 output_buffer->u.YUVA.y_size = pic->height * pic->y_stride; in ReadWebP()
/third_party/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c203 output_buffer->u.YUVA.y_stride = pic->y_stride; in ReadWebP()
207 output_buffer->u.YUVA.y_size = pic->height * pic->y_stride; in ReadWebP()
/third_party/gstreamer/gstplugins_good/gst/alpha/
Dgstalpha.c1358 gint y_stride, uv_stride; in gst_alpha_set_planar_yuv_ayuv() local
1366 y_stride = GST_VIDEO_FRAME_COMP_STRIDE (in_frame, 0); in gst_alpha_set_planar_yuv_ayuv()
1410 srcY_tmp = srcY = srcY_tmp + y_stride; in gst_alpha_set_planar_yuv_ayuv()
1447 srcY_tmp = srcY = srcY_tmp + y_stride; in gst_alpha_set_planar_yuv_ayuv()
1471 gint y_stride, uv_stride; in gst_alpha_chroma_key_planar_yuv_ayuv() local
1488 y_stride = GST_VIDEO_FRAME_COMP_STRIDE (in_frame, 0); in gst_alpha_chroma_key_planar_yuv_ayuv()
1544 srcY_tmp = srcY = srcY_tmp + y_stride; in gst_alpha_chroma_key_planar_yuv_ayuv()
1584 srcY_tmp = srcY = srcY_tmp + y_stride; in gst_alpha_chroma_key_planar_yuv_ayuv()
1607 gint y_stride, uv_stride; in gst_alpha_set_planar_yuv_argb() local
1624 y_stride = GST_VIDEO_FRAME_COMP_STRIDE (in_frame, 0); in gst_alpha_set_planar_yuv_argb()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dyuv.c52 void WebPSamplerProcessPlane(const uint8_t* y, int y_stride, in WebPSamplerProcessPlane() argument
59 y += y_stride; in WebPSamplerProcessPlane()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dyuv.c52 void WebPSamplerProcessPlane(const uint8_t* y, int y_stride, in WebPSamplerProcessPlane() argument
59 y += y_stride; in WebPSamplerProcessPlane()

123