Lines Matching refs:NUM_CHANNELS
24 #define NUM_CHANNELS 4 macro
117 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); in WebPAnimDecoderNewInternal()
120 dec->info_.canvas_width * NUM_CHANNELS, dec->info_.canvas_height); in WebPAnimDecoderNewInternal()
147 (uint64_t)canvas_width * canvas_height * NUM_CHANNELS * sizeof(*buf); in ZeroFillCanvas()
157 assert(width * NUM_CHANNELS <= buf_stride); in ZeroFillFrameRect()
158 buf += y_offset * buf_stride + x_offset * NUM_CHANNELS; in ZeroFillFrameRect()
160 memset(buf, 0, width * NUM_CHANNELS); in ZeroFillFrameRect()
168 const uint64_t size = (uint64_t)width * height * NUM_CHANNELS; in CopyCanvas()
350 (iter.y_offset * width + iter.x_offset) * NUM_CHANNELS; in WebPAnimDecoderGetNext()
353 buf->stride = NUM_CHANNELS * width; in WebPAnimDecoderGetNext()
410 ZeroFillFrameRect(dec->prev_frame_disposed_, width * NUM_CHANNELS, in WebPAnimDecoderGetNext()