/third_party/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 31 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 …]
|
D | frame_dec.c | 480 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 …]
|
D | vp8_dec.h | 56 int mb_w; // number of columns in the sample member
|
D | vp8l_dec.c | 537 const int in_width = io->mb_w; in AllocateAndInitRescaler() 623 int mb_w, int mb_h, in EmitRows() argument 628 VP8LConvertFromBGRA((const uint32_t*)row_in, mb_w, colorspace, row_out); in EmitRows() 700 int mb_w, int num_rows) { in EmitRowsYUVA() argument 703 ConvertToYUVA((const uint32_t*)in, mb_w, y_pos, dec->output_); in EmitRowsYUVA() 735 io->mb_w = io->crop_right - io->crop_left; in SetCropWindow() 812 io->mb_w, io->mb_h, rgba, buf->stride); in ProcessRows() 818 EmitRowsYUVA(dec, rows_data, in_stride, io->mb_w, io->mb_h); in ProcessRows()
|
D | vp8_dec.c | 338 io->mb_w = io->width; // for soundness in VP8GetHeaders()
|
D | webp_dec.c | 820 io->mb_w = w; in WebPIoInitFromOptions()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/dec/ |
D | io_dec.c | 31 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 …]
|
D | frame_dec.c | 480 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 …]
|
D | vp8_dec.h | 56 int mb_w; // number of columns in the sample member
|
D | vp8l_dec.c | 537 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() 808 io->mb_w, io->mb_h, rgba, buf->stride); in ProcessRows() 814 EmitRowsYUVA(dec, rows_data, in_stride, io->mb_w, io->mb_h); in ProcessRows()
|
D | vp8_dec.c | 338 io->mb_w = io->width; // sanity check in VP8GetHeaders()
|
D | webp_dec.c | 813 io->mb_w = w; in WebPIoInitFromOptions()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | webp_enc.c | 149 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()
|
D | vp8l_enc.c | 2123 const int mb_w = (width + 15) >> 4; in VP8LEncodeImage() local 2125 memset(picture->extra_info, 0, mb_w * mb_h * sizeof(*picture->extra_info)); in VP8LEncodeImage()
|
/third_party/flutter/skia/third_party/externals/libwebp/src/enc/ |
D | webp_enc.c | 149 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()
|
D | vp8l_enc.c | 1902 const int mb_w = (width + 15) >> 4; in VP8LEncodeImage() local 1904 memset(picture->extra_info, 0, mb_w * mb_h * sizeof(*picture->extra_info)); in VP8LEncodeImage()
|
/third_party/ffmpeg/libavfilter/ |
D | qp_table.c | 36 unsigned int mb_w = (frame->width + 15) / 16; in ff_qp_table_extract() local 37 unsigned int nb_mb = mb_h * mb_w; in ff_qp_table_extract() 54 *table_w = mb_w; in ff_qp_table_extract()
|
/third_party/ffmpeg/libavcodec/ |
D | hqx.c | 329 int mb_w = (ctx->width + 15) >> 4; in decode_slice() local 331 int grp_w = (mb_w + 4) / 5; in decode_slice() 333 int grp_h_edge = grp_w * (mb_w / grp_w); in decode_slice() 335 int grp_v_rest = mb_w - grp_h_edge; in decode_slice() 337 int num_mbs = mb_w * mb_h; in decode_slice() 357 loc_row = grp_h * (blk_addr / (grp_h * mb_w)); in decode_slice() 358 loc_addr = blk_addr % (grp_h * mb_w); in decode_slice()
|
D | clearvideo.c | 53 int mb_w; member 309 } else if ((mb_x == 0) || (mb_x == mvi->mb_w - 1)) { in mvi_predict() 322 right_mv = ((mvi->mb_w - mb_x - 1) * mvi->mb_size); in mvi_predict() 344 static void mvi_reset(MVInfo *mvi, int mb_w, int mb_h, int mb_size) in mvi_reset() argument 347 mvi->mb_w = mb_w; in mvi_reset() 350 mvi->mb_stride = mb_w; in mvi_reset()
|
D | snowdec.c | 37 const int mb_w= s->b_width << s->block_max_depth; in predict_slice_buffered() local 80 for(mb_x=0; mb_x<=mb_w; mb_x++){ in predict_slice_buffered() 92 for(mb_x=0; mb_x<mb_w; mb_x++){ in predict_slice_buffered()
|
D | g2meet.c | 275 int mb_w, mb_h, mb_x, mb_y, i, j; in jpg_decode_data() local 290 mb_w = width >> 4; in jpg_decode_data() 294 num_mbs = mb_w * mb_h * 4; in jpg_decode_data() 302 for (mb_x = 0; mb_x < mb_w; mb_x++) { in jpg_decode_data()
|
D | snow.h | 407 const int mb_w= s->b_width << s->block_max_depth; in predict_slice() local 444 for(mb_x=0; mb_x<=mb_w; mb_x++){ in predict_slice()
|
/third_party/flutter/skia/third_party/externals/libwebp/examples/ |
D | cwebp.c | 129 const int mb_w = (pic->width + 15) / 16; in AllocExtraInfo() local 131 pic->extra_info = (uint8_t*)malloc(mb_w * mb_h * sizeof(*pic->extra_info)); in AllocExtraInfo() 270 const int mb_w = (pic->width + 15) / 16; in PrintMapInfo() local 275 for (x = 0; x < mb_w; ++x) { in PrintMapInfo() 276 const int c = pic->extra_info[x + y * mb_w]; in PrintMapInfo()
|
/third_party/skia/third_party/externals/libwebp/examples/ |
D | cwebp.c | 131 const int mb_w = (pic->width + 15) / 16; in AllocExtraInfo() local 134 (uint8_t*)WebPMalloc(mb_w * mb_h * sizeof(*pic->extra_info)); in AllocExtraInfo() 273 const int mb_w = (pic->width + 15) / 16; in PrintMapInfo() local 278 for (x = 0; x < mb_w; ++x) { in PrintMapInfo() 279 const int c = pic->extra_info[x + y * mb_w]; in PrintMapInfo()
|