Home
last modified time | relevance | path

Searched refs:a_stride (Results 1 - 22 of 22) sorted by relevance

/third_party/skia/third_party/externals/libwebp/src/enc/
H A 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_pt in WebPCleanupTransparentArea()
[all...]
H A 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()
[all...]
H A 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()
H A 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()
H A 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/
H A 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...]
H A Dlibwebpenc_common.c252 pic->a_stride = frame->linesize[3]; in ff_libwebp_get_frame()
H A Dhevcdsp_template.c336 int a_stride, b_stride; in sao_edge_filter() local
341 a_stride = pos[eo][0][0] + pos[eo][0][1] * stride_src; in sao_edge_filter()
345 int diff0 = CMP(src[x], src[x + a_stride]); in sao_edge_filter()
/third_party/skia/third_party/externals/libwebp/src/dec/
H A 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()
[all...]
H A 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()
H A Didec_dec.c719 uint8_t* a, size_t a_size, int a_stride) { in WebPINewYUVA()
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()
888 if (a_stride != NULL) *a_stride = src->u.YUVA.a_stride; in WebPIDecGetYUVA()
716 WebPINewYUVA(uint8_t* luma, size_t luma_size, int luma_stride, uint8_t* u, size_t u_size, int u_stride, uint8_t* v, size_t v_size, int v_stride, uint8_t* a, size_t a_size, int a_stride) WebPINewYUVA() argument
870 WebPIDecGetYUVA(const WebPIDecoder* idec, int* last_y, uint8_t** u, uint8_t** v, uint8_t** a, int* width, int* height, int* stride, int* uv_stride, int* a_stride) WebPIDecGetYUVA() argument
H A Dvp8l_dec.c659 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA()
/third_party/skia/third_party/externals/libwebp/imageio/
H A 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()
H A 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/
H A 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);
H A Dencode.h315 int a_stride; // stride of the alpha plane member
/third_party/ffmpeg/libavcodec/arm/
H A 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, sao_offset_val, edge_idx); in ff_hevc_sao_edge_filter_neon_8_wrapper()
/third_party/ffmpeg/libavcodec/x86/
H A Dhevc_sao_10bit.asm228 cglobal hevc_sao_edge_filter_%2_%1, 4, 9, 16, dst, src, dststride, offset, eo, a_stride, b_stride, height, tmp
236 cglobal hevc_sao_edge_filter_%2_%1, 1, 6, 8, 5*mmsize, dst, src, dststride, a_stride, b_stride, height
H A Dhevc_sao.asm256 cglobal hevc_sao_edge_filter_%1_8, 4, 9, 8, dst, src, dststride, offset, eo, a_stride, b_stride, height, tmp
262 cglobal hevc_sao_edge_filter_%1_8, 1, 6, 8, dst, src, dststride, a_stride, b_stride, height
/third_party/skia/third_party/externals/libwebp/examples/
H A Ddwebp.c158 output_buffer->u.YUVA.a_stride = stride; in AllocateExternalBuffer()
163 output_buffer->u.YUVA.a_stride = 0; in AllocateExternalBuffer()
H A Dcwebp.c335 src_a += picture->a_stride; in DumpPicture()
/third_party/mesa3d/src/amd/compiler/
H A Daco_register_allocation.cpp1476 unsigned a_stride = a.info.stride * (a.info.rc.is_subdword() ? 1 : 4); in compact_relocate_vars()
1478 if (a_stride > b_stride) in compact_relocate_vars()
1480 if (a_stride < b_stride) in compact_relocate_vars()

Completed in 30 milliseconds