/third_party/skia/third_party/externals/libwebp/src/enc/ |
H A D | picture_tools_enc.c | 55 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 D | picture_rescale_enc.c | 74 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 D | picture_enc.c | 58 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 D | picture_csp_enc.c | 71 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 D | alpha_enc.c | 311 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 D | intrax8dsp.c | 344 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 D | libwebpenc_common.c | 252 pic->a_stride = frame->linesize[3]; in ff_libwebp_get_frame()
|
H A D | hevcdsp_template.c | 336 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 D | buffer_dec.c | 55 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 D | io_dec.c | 131 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 D | idec_dec.c | 719 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 D | vp8l_dec.c | 659 uint8_t* const a = buf->a + y_pos * buf->a_stride; in ConvertToYUVA()
|
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | webpdec.c | 206 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 D | image_enc.c | 447 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 D | decode.h | 193 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 D | encode.h | 315 int a_stride; // stride of the alpha plane member
|
/third_party/ffmpeg/libavcodec/arm/ |
H A D | hevcdsp_init_neon.c | 172 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 D | hevc_sao_10bit.asm | 228 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 D | hevc_sao.asm | 256 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 D | dwebp.c | 158 output_buffer->u.YUVA.a_stride = stride; in AllocateExternalBuffer() 163 output_buffer->u.YUVA.a_stride = 0; in AllocateExternalBuffer()
|
H A D | cwebp.c | 335 src_a += picture->a_stride; in DumpPicture()
|
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_register_allocation.cpp | 1476 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()
|