Home
last modified time | relevance | path

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

/external/webp/src/dec/
Dio_dec.c31 const int mb_w = io->mb_w; in EmitYUV() local
33 const int uv_w = (mb_w + 1) / 2; in EmitYUV()
35 WebPCopyPlane(io->y, io->y_stride, y_dst, buf->y_stride, mb_w, mb_h); in EmitYUV()
48 dst, buf->stride, io->mb_w, io->mb_h, in EmitSampledRGB()
69 const int mb_w = io->mb_w; in EmitFancyRGB() local
70 const int uv_w = (mb_w + 1) / 2; in EmitFancyRGB()
74 upsample(cur_y, NULL, cur_u, cur_v, cur_u, cur_v, dst, NULL, mb_w); in EmitFancyRGB()
78 dst - buf->stride, dst, mb_w); in EmitFancyRGB()
91 dst - buf->stride, dst, mb_w); in EmitFancyRGB()
97 memcpy(p->tmp_y, cur_y, mb_w * sizeof(*p->tmp_y)); in EmitFancyRGB()
[all …]
Dframe_dec.c480 io->mb_w = io->crop_right - io->crop_left; in FinishRow()
684 const int mb_w = dec->mb_w_; in AllocateMemory() local
686 const size_t intra_pred_mode_size = 4 * mb_w * sizeof(uint8_t); in AllocateMemory()
687 const size_t top_size = sizeof(VP8TopSamples) * mb_w; in AllocateMemory()
688 const size_t mb_info_size = (mb_w + 1) * sizeof(VP8MB); in AllocateMemory()
691 mb_w * (dec->mt_method_ > 0 ? 2 : 1) * sizeof(VP8FInfo) in AllocateMemory()
695 (dec->mt_method_ == 2 ? 2 : 1) * mb_w * sizeof(*dec->mb_data_); in AllocateMemory()
739 dec->thread_ctx_.f_info_ += mb_w; in AllocateMemory()
750 dec->thread_ctx_.mb_data_ += mb_w; in AllocateMemory()
754 dec->cache_y_stride_ = 16 * mb_w; in AllocateMemory()
[all …]
Dvp8_dec.h56 int mb_w; // number of columns in the sample member
Dvp8l_dec.c537 const int in_width = io->mb_w; in AllocateAndInitRescaler()
619 int mb_w, int mb_h, in EmitRows() argument
624 VP8LConvertFromBGRA((const uint32_t*)row_in, mb_w, colorspace, row_out); in EmitRows()
696 int mb_w, int num_rows) { in EmitRowsYUVA() argument
699 ConvertToYUVA((const uint32_t*)in, mb_w, y_pos, dec->output_); in EmitRowsYUVA()
731 io->mb_w = io->crop_right - io->crop_left; in SetCropWindow()
807 io->mb_w, io->mb_h, rgba, buf->stride); in ProcessRows()
813 EmitRowsYUVA(dec, rows_data, in_stride, io->mb_w, io->mb_h); in ProcessRows()
Dvp8_dec.c338 io->mb_w = io->width; // sanity check in VP8GetHeaders()
Dwebp_dec.c813 io->mb_w = w; in WebPIoInitFromOptions()
/external/webp/src/enc/
Dwebp_enc.c149 const int mb_w = (picture->width + 15) >> 4; in InitVP8Encoder() local
151 const int preds_w = 4 * mb_w + 1; in InitVP8Encoder()
154 const int top_stride = mb_w * 16; in InitVP8Encoder()
155 const size_t nz_size = (mb_w + 1) * sizeof(*enc->nz_) + WEBP_ALIGN_CST; in InitVP8Encoder()
156 const size_t info_size = mb_w * mb_h * sizeof(*enc->mb_info_); in InitVP8Encoder()
164 mb_w * sizeof(*enc->top_derr_) : 0; in InitVP8Encoder()
198 mb_w * mb_h * 384 * sizeof(uint8_t)); in InitVP8Encoder()
210 enc->mb_w_ = mb_w; in InitVP8Encoder()
249 VP8TBufferInit(&enc->tokens_, (int)(mb_w * mb_h * 4 * scale)); in InitVP8Encoder()
Dvp8l_enc.c1915 const int mb_w = (width + 15) >> 4; in VP8LEncodeImage() local
1917 memset(picture->extra_info, 0, mb_w * mb_h * sizeof(*picture->extra_info)); in VP8LEncodeImage()