Home
last modified time | relevance | path

Searched refs:mb_w (Results 1 – 8 of 8) sorted by relevance

/external/webp/src/dec/
Dio.c31 const int mb_w = io->mb_w; in EmitYUV() local
33 const int uv_w = (mb_w + 1) / 2; in EmitYUV()
37 memcpy(y_dst + j * buf->y_stride, io->y + j * io->y_stride, mb_w); in EmitYUV()
53 dst, buf->stride, io->mb_w, io->mb_h, in EmitSampledRGB()
74 const int mb_w = io->mb_w; in EmitFancyRGB() local
75 const int uv_w = (mb_w + 1) / 2; in EmitFancyRGB()
79 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, mb_w); in EmitFancyRGB()
83 dst - buf->stride, dst, mb_w); in EmitFancyRGB()
96 dst - buf->stride, dst, mb_w); in EmitFancyRGB()
102 memcpy(p->tmp_y, cur_y, mb_w * sizeof(*p->tmp_y)); in EmitFancyRGB()
[all …]
Dframe.c490 io->mb_w = io->crop_right - io->crop_left; in FinishRow()
703 const int mb_w = dec->mb_w_; in AllocateMemory() local
705 const size_t intra_pred_mode_size = 4 * mb_w * sizeof(uint8_t); in AllocateMemory()
706 const size_t top_size = sizeof(VP8TopSamples) * mb_w; in AllocateMemory()
707 const size_t mb_info_size = (mb_w + 1) * sizeof(VP8MB); in AllocateMemory()
710 mb_w * (dec->mt_method_ > 0 ? 2 : 1) * sizeof(VP8FInfo) in AllocateMemory()
714 (dec->mt_method_ == 2 ? 2 : 1) * mb_w * sizeof(*dec->mb_data_); in AllocateMemory()
758 dec->thread_ctx_.f_info_ += mb_w; in AllocateMemory()
769 dec->thread_ctx_.mb_data_ += mb_w; in AllocateMemory()
773 dec->cache_y_stride_ = 16 * mb_w; in AllocateMemory()
[all …]
Ddecode_vp8.h56 int mb_w; // number of columns in the sample member
Dvp8l.c489 const int in_width = io->mb_w; in AllocateAndInitRescaler()
563 int mb_w, int mb_h, in EmitRows() argument
568 VP8LConvertFromBGRA((const uint32_t*)row_in, mb_w, colorspace, row_out); in EmitRows()
637 int mb_w, int num_rows) { in EmitRowsYUVA() argument
640 ConvertToYUVA((const uint32_t*)in, mb_w, y_pos, dec->output_); in EmitRowsYUVA()
672 io->mb_w = io->crop_right - io->crop_left; in SetCropWindow()
756 io->mb_w, io->mb_h, rgba, buf->stride); in ProcessRows()
762 EmitRowsYUVA(dec, rows_data, in_stride, io->mb_w, io->mb_h); in ProcessRows()
Dvp8.c315 io->mb_w = io->width; // sanity check in VP8GetHeaders()
Dwebp.c797 io->mb_w = w; in WebPIoInitFromOptions()
/external/webp/src/enc/
Dwebpenc.c145 const int mb_w = (picture->width + 15) >> 4; in InitVP8Encoder() local
147 const int preds_w = 4 * mb_w + 1; in InitVP8Encoder()
150 const int top_stride = mb_w * 16; in InitVP8Encoder()
151 const size_t nz_size = (mb_w + 1) * sizeof(*enc->nz_) + WEBP_ALIGN_CST; in InitVP8Encoder()
152 const size_t info_size = mb_w * mb_h * sizeof(*enc->mb_info_); in InitVP8Encoder()
189 mb_w * mb_h * 384 * sizeof(uint8_t)); in InitVP8Encoder()
201 enc->mb_w_ = mb_w; in InitVP8Encoder()
238 VP8TBufferInit(&enc->tokens_, (int)(mb_w * mb_h * 4 * scale)); in InitVP8Encoder()
Dvp8l.c1582 const int mb_w = (width + 15) >> 4; in VP8LEncodeImage() local
1584 memset(picture->extra_info, 0, mb_w * mb_h * sizeof(*picture->extra_info)); in VP8LEncodeImage()