Home
last modified time | relevance | path

Searched refs:y_stride (Results 1 - 25 of 38) sorted by relevance

12

/third_party/skia/third_party/externals/libwebp/src/enc/
H A Dpicture_tools_enc.c56 int y_stride, int width, int height) { in SmoothenBlock()
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()
55 SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr, int y_stride, int width, int height) SmoothenBlock() argument
[all...]
H A 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()
[all...]
H A 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()
H A 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()
H A 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/
H A 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()
[all...]
H A 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()
[all...]
H A Dvp8_dec.h59 int y_stride; // row stride for luma member
/third_party/ffmpeg/libavcodec/
H A Dtruemotion2.c87 int y_stride, uv_stride; member
426 Ystride = ctx->y_stride;\
842 memcpy(Y - 4 - 1 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
843 memcpy(Y - 4 - 2 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
844 memcpy(Y - 4 - 3 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
845 memcpy(Y - 4 - 4 * ctx->y_stride, Y - 4, ctx->y_stride); in tm2_decode_blocks()
[all...]
H A Ddvdec.c385 int y_stride, linesize; in dv_decode_video_segment() local
542 y_stride = (s->frame->linesize[0] << in dv_decode_video_segment()
545 y_stride = (2 << log2_blocksize); in dv_decode_video_segment()
558 mb[2].idct_put(y_ptr + y_stride, linesize, block + 2 * 64); in dv_decode_video_segment()
559 mb[3].idct_put(y_ptr + (1 << log2_blocksize) + y_stride, linesize, block + 3 * 64); in dv_decode_video_segment()
587 y_stride = (mb_y == 134) ? (1 << log2_blocksize) : in dv_decode_video_segment()
598 (mb++)->idct_put(c_ptr + y_stride, linesize, block); in dv_decode_video_segment()
H A Ddvenc.c853 ptrdiff_t linesize, y_stride; in dv_encode_video_segment() local
886 y_stride = s->frame->linesize[0] * (1 << (3*!enc_blk->dct_mode)); in dv_encode_video_segment()
888 y_stride = 16; in dv_encode_video_segment()
904 dv_init_enc_block(enc_blk + 2, y_ptr + y_stride, linesize, s, 0) + in dv_encode_video_segment()
905 dv_init_enc_block(enc_blk + 3, y_ptr + 8 + y_stride, linesize, s, 0); in dv_encode_video_segment()
915 y_stride = (mb_y == 134) ? 8 : (s->frame->linesize[j] * (1 << (3*!enc_blk->dct_mode))); in dv_encode_video_segment()
938 vs_bit_size += dv_init_enc_block(enc_blk++, c_ptr + y_stride, in dv_encode_video_segment()
H A Dvp9recon.c246 ptr, td->y_stride, l, in intra_recon()
248 s->dsp.intra_pred[b->tx][mode](ptr, td->y_stride, l, a); in intra_recon()
250 s->dsp.itxfm_add[tx][txtp](ptr, td->y_stride, in intra_recon()
254 dst += 4 * step1d * td->y_stride; in intra_recon()
618 s->dsp.itxfm_add[tx][DCT_DCT](ptr, td->y_stride, in inter_recon()
621 dst += 4 * td->y_stride * step1d; in inter_recon()
H A Dvp9dec.h173 ptrdiff_t y_stride, uv_stride; member
H A Dvp9.c1098 ptrdiff_t y_stride = f->linesize[0], uv_stride = f->linesize[1]; in decode_sb() local
1113 yoff += hbs * 8 * y_stride; in decode_sb()
1128 yoff += hbs * 8 * y_stride; in decode_sb()
1152 yoff += hbs * 8 * y_stride; in decode_sb()
1173 ptrdiff_t y_stride = f->linesize[0], uv_stride = f->linesize[1]; in decode_sb_mem() local
1182 yoff += hbs * 8 * y_stride; in decode_sb_mem()
1196 yoff += hbs * 8 * y_stride; in decode_sb_mem()
1208 yoff += hbs * 8 * y_stride; in decode_sb_mem()
H A Dlibwebpenc_common.c247 pic->y_stride = frame->linesize[0]; in ff_libwebp_get_frame()
/third_party/ffmpeg/libswscale/arm/
H A Drgb2yuv_neon_common.S68 * int y_stride, int c_stride, int src_stride,
81 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
H A Dswscale_unscaled.c29 int y_stride, int c_stride, int src_stride,
34 int y_stride, int c_stride, int src_stride,
/third_party/skia/third_party/externals/libwebp/imageio/
H A 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()
H A Dimage_enc.c488 src_y += yuv->y_stride; in WebPWritePGM()
529 src_y += yuv->y_stride; in WebPWriteYUV()
/third_party/skia/third_party/externals/libwebp/src/dsp/
H A 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/extras/
H A Dextras.c40 memcpy(pic->y + y * pic->y_stride, gray_data, width); in WebPImportGray()
H A Dget_disto.c60 int x_stride, int y_stride, int max) { in RescalePlane()
64 uint8_t* const ptr = plane + y * y_stride; in RescalePlane()
59 RescalePlane(uint8_t* plane, int width, int height, int x_stride, int y_stride, int max) RescalePlane() argument
/third_party/skia/third_party/externals/libwebp/src/webp/
H A Ddecode.h191 int y_stride; // luma stride member
H A Dencode.h313 int y_stride, uv_stride; // luma/chroma strides. member
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_sample_aos.c759 LLVMValueRef x_stride, y_stride, z_stride; in lp_build_sample_image_linear() local
852 y_stride = row_stride_vec; in lp_build_sample_image_linear()
889 height_vec, y_stride, offsets[1], in lp_build_sample_image_linear()

Completed in 24 milliseconds

12