Home
last modified time | relevance | path

Searched refs:a_stride (Results 1 – 25 of 39) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/dec/
Dbuffer_dec.c55 const int a_stride = abs(buf->a_stride); in CheckDecBuffer() local
59 const uint64_t a_size = MIN_BUFFER_SIZE(width, height, a_stride); in CheckDecBuffer()
70 ok &= (a_stride >= width); in CheckDecBuffer()
98 int uv_stride = 0, a_stride = 0; in AllocateBuffer() local
114 a_stride = w; in AllocateBuffer()
115 a_size = (uint64_t)a_stride * h; in AllocateBuffer()
141 buf->a_stride = a_stride; in AllocateBuffer()
170 buf->a += (H - 1) * buf->a_stride; in WebPFlipBuffer()
171 buf->a_stride = -buf->a_stride; in WebPFlipBuffer()
295 WebPCopyPlane(src->a, src->a_stride, dst->a, dst->a_stride, in WebPCopyDecBufferPixels()
Didec_dec.c719 uint8_t* a, size_t a_size, int a_stride) { in WebPINewYUVA() argument
726 luma_stride = u_stride = v_stride = a_stride = 0; in WebPINewYUVA()
734 if (a_size == 0 || a_stride == 0) return NULL; in WebPINewYUVA()
754 idec->output_.u.YUVA.a_stride = a_stride; in WebPINewYUVA()
873 int* stride, int* uv_stride, int* a_stride) { in WebPIDecGetYUVA() argument
888 if (a_stride != NULL) *a_stride = src->u.YUVA.a_stride; in WebPIDecGetYUVA()
Dio_dec.c131 uint8_t* dst = buf->a + (size_t)io->mb_y * buf->a_stride; in EmitAlphaYUV()
139 dst += buf->a_stride; in EmitAlphaYUV()
143 FillAlphaPlane(dst, mb_w, mb_h, buf->a_stride); in EmitAlphaYUV()
274 uint8_t* const dst_a = buf->a + (size_t)p->last_y * buf->a_stride; in EmitRescaledAlphaYUV()
280 WebPMultRows(dst_y, buf->y_stride, dst_a, buf->a_stride, in EmitRescaledAlphaYUV()
287 buf->a_stride); in EmitRescaledAlphaYUV()
348 buf->a, out_width, out_height, buf->a_stride, 1, in InitYUVRescaler()
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/
Dbuffer_dec.c55 const int a_stride = abs(buf->a_stride); in CheckDecBuffer() local
59 const uint64_t a_size = MIN_BUFFER_SIZE(width, height, a_stride); in CheckDecBuffer()
70 ok &= (a_stride >= width); in CheckDecBuffer()
98 int uv_stride = 0, a_stride = 0; in AllocateBuffer() local
114 a_stride = w; in AllocateBuffer()
115 a_size = (uint64_t)a_stride * h; in AllocateBuffer()
142 buf->a_stride = a_stride; in AllocateBuffer()
171 buf->a += (H - 1) * buf->a_stride; in WebPFlipBuffer()
172 buf->a_stride = -buf->a_stride; in WebPFlipBuffer()
297 WebPCopyPlane(src->a, src->a_stride, dst->a, dst->a_stride, in WebPCopyDecBufferPixels()
Didec_dec.c714 uint8_t* a, size_t a_size, int a_stride) { in WebPINewYUVA() argument
721 luma_stride = u_stride = v_stride = a_stride = 0; in WebPINewYUVA()
729 if (a_size == 0 || a_stride == 0) return NULL; in WebPINewYUVA()
749 idec->output_.u.YUVA.a_stride = a_stride; in WebPINewYUVA()
868 int* stride, int* uv_stride, int* a_stride) { in WebPIDecGetYUVA() argument
883 if (a_stride != NULL) *a_stride = src->u.YUVA.a_stride; in WebPIDecGetYUVA()
Dio_dec.c136 uint8_t* dst = buf->a + io->mb_y * buf->a_stride; in EmitAlphaYUV()
144 dst += buf->a_stride; in EmitAlphaYUV()
148 FillAlphaPlane(dst, mb_w, mb_h, buf->a_stride); in EmitAlphaYUV()
279 uint8_t* const dst_a = buf->a + p->last_y * buf->a_stride; in EmitRescaledAlphaYUV()
285 WebPMultRows(dst_y, buf->y_stride, dst_a, buf->a_stride, in EmitRescaledAlphaYUV()
292 buf->a_stride); in EmitRescaledAlphaYUV()
344 buf->a, out_width, out_height, buf->a_stride, 1, in InitYUVRescaler()
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/
Dpicture_tools_enc.c55 static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr, in SmoothenBlock() argument
68 alpha_ptr += a_stride; in SmoothenBlock()
79 alpha_ptr += a_stride; in SmoothenBlock()
115 const int a_stride = pic->a_stride; in WebPCleanupTransparentArea() local
127 if (SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
143 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
146 a_ptr += SIZE * a_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()
227 (y + 1 == pic->height) ? a_ptr : a_ptr + pic->a_stride; in WebPBlendAlpha()
[all …]
Dpicture_rescale_enc.c74 WebPCopyPlane(src->a, src->a_stride, in WebPPictureCopy()
75 dst->a, dst->a_stride, dst->width, dst->height); in WebPPictureCopy()
113 dst->a = src->a + top * src->a_stride + left; in WebPPictureView()
114 dst->a_stride = src->a_stride; in WebPPictureView()
149 const int a_offset = top * pic->a_stride + left; in WebPPictureCrop()
150 WebPCopyPlane(pic->a + a_offset, pic->a_stride, in WebPPictureCrop()
151 tmp.a, tmp.a_stride, width, height); in WebPPictureCrop()
193 WebPMultRows(pic->y, pic->y_stride, pic->a, pic->a_stride, in AlphaMultiplyY()
225 RescalePlane(pic->a, prev_width, prev_height, pic->a_stride, in WebPPictureRescale()
226 tmp.a, width, height, tmp.a_stride, work, 1); in WebPPictureRescale()
Dpicture_enc.c58 picture->a_stride = 0; in WebPPictureResetBufferYUVA()
97 int a_width, a_stride; in WebPPictureAllocYUVA() local
112 a_stride = a_width; in WebPPictureAllocYUVA()
115 a_size = (uint64_t)a_stride * height; in WebPPictureAllocYUVA()
134 picture->a_stride = a_stride; in WebPPictureAllocYUVA()
Dpicture_csp_enc.c62 1, picture->a_stride); in WebPPictureHasTransparency()
879 picture->a, picture->a_stride); in ImportYUVAFromRGBA()
927 dst_a, picture->a_stride); in ImportYUVAFromRGBA()
928 dst_a += 2 * picture->a_stride; in ImportYUVAFromRGBA()
1080 const uint8_t* const src = picture->a + y * picture->a_stride; in WebPPictureYUVAToARGB()
Dalpha_enc.c311 assert(pic->a_stride >= width); in EncodeAlpha()
333 WebPCopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); in EncodeAlpha()
/third_party/skia/third_party/externals/libwebp/src/enc/
Dpicture_tools_enc.c55 static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr, in SmoothenBlock() argument
68 alpha_ptr += a_stride; in SmoothenBlock()
79 alpha_ptr += a_stride; in SmoothenBlock()
128 const int a_stride = pic->a_stride; in WebPCleanupTransparentArea() local
140 if (SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
156 SmoothenBlock(a_ptr + x, a_stride, y_ptr + x, y_stride, in WebPCleanupTransparentArea()
159 a_ptr += SIZE * a_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()
222 (y + 1 == pic->height) ? a_ptr : a_ptr + pic->a_stride; in WebPBlendAlpha()
[all …]
Dpicture_rescale_enc.c74 WebPCopyPlane(src->a, src->a_stride, in WebPPictureCopy()
75 dst->a, dst->a_stride, dst->width, dst->height); in WebPPictureCopy()
113 dst->a = src->a + top * src->a_stride + left; in WebPPictureView()
114 dst->a_stride = src->a_stride; in WebPPictureView()
149 const int a_offset = top * pic->a_stride + left; in WebPPictureCrop()
150 WebPCopyPlane(pic->a + a_offset, pic->a_stride, in WebPPictureCrop()
151 tmp.a, tmp.a_stride, width, height); in WebPPictureCrop()
196 WebPMultRows(pic->y, pic->y_stride, pic->a, pic->a_stride, in AlphaMultiplyY()
228 if (!RescalePlane(pic->a, prev_width, prev_height, pic->a_stride, in WebPPictureRescale()
229 tmp.a, width, height, tmp.a_stride, work, 1)) { in WebPPictureRescale()
Dpicture_enc.c58 picture->a_stride = 0; in WebPPictureResetBufferYUVA()
97 int a_width, a_stride; in WebPPictureAllocYUVA() local
112 a_stride = a_width; in WebPPictureAllocYUVA()
115 a_size = (uint64_t)a_stride * height; in WebPPictureAllocYUVA()
134 picture->a_stride = a_stride; in WebPPictureAllocYUVA()
Dpicture_csp_enc.c71 1, picture->a_stride); in WebPPictureHasTransparency()
883 picture->a, picture->a_stride); in ImportYUVAFromRGBA()
931 dst_a, picture->a_stride); in ImportYUVAFromRGBA()
932 dst_a += 2 * picture->a_stride; in ImportYUVAFromRGBA()
1084 const uint8_t* const src = picture->a + y * picture->a_stride; in WebPPictureYUVAToARGB()
Dalpha_enc.c311 assert(pic->a_stride >= width); in EncodeAlpha()
333 WebPCopyPlane(pic->a, pic->a_stride, quant_alpha, width, width, height); in EncodeAlpha()
/third_party/ffmpeg/libavcodec/
Dintrax8dsp.c344 static void x8_loop_filter(uint8_t *ptr, const ptrdiff_t a_stride, in x8_loop_filter() argument
352 p0 = ptr[-5 * a_stride]; in x8_loop_filter()
353 p1 = ptr[-4 * a_stride]; in x8_loop_filter()
354 p2 = ptr[-3 * a_stride]; in x8_loop_filter()
355 p3 = ptr[-2 * a_stride]; in x8_loop_filter()
356 p4 = ptr[-1 * a_stride]; in x8_loop_filter()
358 p6 = ptr[1 * a_stride]; in x8_loop_filter()
359 p7 = ptr[2 * a_stride]; in x8_loop_filter()
360 p8 = ptr[3 * a_stride]; in x8_loop_filter()
361 p9 = ptr[4 * a_stride]; in x8_loop_filter()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c206 output_buffer->u.YUVA.a_stride = has_alpha ? pic->a_stride : 0; in ReadWebP()
210 output_buffer->u.YUVA.a_size = pic->height * pic->a_stride; in ReadWebP()
Dimage_enc.c447 const int a_stride = buffer->u.YUVA.a_stride; in WebPWriteAlphaPlane() local
455 a += a_stride; in WebPWriteAlphaPlane()
499 src_a += yuv->a_stride; in WebPWritePGM()
541 src_a += yuv->a_stride; in WebPWriteYUV()
/third_party/skia/third_party/externals/libwebp/imageio/
Dwebpdec.c206 output_buffer->u.YUVA.a_stride = has_alpha ? pic->a_stride : 0; in ReadWebP()
210 output_buffer->u.YUVA.a_size = pic->height * pic->a_stride; in ReadWebP()
Dimage_enc.c447 const int a_stride = buffer->u.YUVA.a_stride; in WebPWriteAlphaPlane() local
455 a += a_stride; in WebPWriteAlphaPlane()
499 src_a += yuv->a_stride; in WebPWritePGM()
541 src_a += yuv->a_stride; in WebPWriteYUV()
/third_party/skia/third_party/externals/libwebp/src/webp/
Ddecode.h193 int a_stride; // alpha stride member
314 uint8_t* a, size_t a_size, int a_stride);
358 int* width, int* height, int* stride, int* uv_stride, int* a_stride);
/third_party/flutter/skia/third_party/externals/libwebp/src/webp/
Ddecode.h196 int a_stride; // alpha stride member
317 uint8_t* a, size_t a_size, int a_stride);
361 int* width, int* height, int* stride, int* uv_stride, int* a_stride);
/third_party/ffmpeg/libavcodec/arm/
Dhevcdsp_init_neon.c172 … int a_stride, int b_stride, int16_t *sao_offset_val, uint8_t *edge_idx);
185 int a_stride, b_stride; in ff_hevc_sao_edge_filter_neon_8_wrapper() local
188 a_stride = pos[eo][0][0] + pos[eo][0][1] * stride_src; in ff_hevc_sao_edge_filter_neon_8_wrapper()
191 …ff_hevc_sao_edge_filter_neon_8(dst, src, stride_dst, stride_src, width, height, a_stride, b_stride… in ff_hevc_sao_edge_filter_neon_8_wrapper()
/third_party/ffmpeg/libavcodec/x86/
Dhevc_sao.asm256 cglobal hevc_sao_edge_filter_%1_8, 4, 9, 8, dst, src, dststride, offset, eo, a_stride, b_stride, he…
262 cglobal hevc_sao_edge_filter_%1_8, 1, 6, 8, dst, src, dststride, a_stride, b_stride, height

12