Lines Matching refs:curr_canvas
539 const WebPPicture* const curr_canvas, int is_key_frame, in GetSubRect() argument
547 MinimizeChangeRectangle(prev_canvas, curr_canvas, rect, in GetSubRect()
563 return WebPPictureView(curr_canvas, rect->x_offset_, rect->y_offset_, in GetSubRect()
570 const WebPPicture* const curr_canvas, int is_key_frame, in GetSubRects() argument
576 params->rect_ll_.width_ = curr_canvas->width; in GetSubRects()
577 params->rect_ll_.height_ = curr_canvas->height; in GetSubRects()
578 if (!GetSubRect(prev_canvas, curr_canvas, is_key_frame, is_first_frame, in GetSubRects()
585 return GetSubRect(prev_canvas, curr_canvas, is_key_frame, is_first_frame, in GetSubRects()
595 const WebPPicture* const prev_canvas, const WebPPicture* const curr_canvas, in WebPAnimEncoderRefineRect() argument
599 const int right = clip(*x_offset + *width, 0, curr_canvas->width); in WebPAnimEncoderRefineRect()
600 const int left = clip(*x_offset, 0, curr_canvas->width - 1); in WebPAnimEncoderRefineRect()
601 const int bottom = clip(*y_offset + *height, 0, curr_canvas->height); in WebPAnimEncoderRefineRect()
602 const int top = clip(*y_offset, 0, curr_canvas->height - 1); in WebPAnimEncoderRefineRect()
603 if (prev_canvas == NULL || curr_canvas == NULL || in WebPAnimEncoderRefineRect()
604 prev_canvas->width != curr_canvas->width || in WebPAnimEncoderRefineRect()
605 prev_canvas->height != curr_canvas->height || in WebPAnimEncoderRefineRect()
606 !prev_canvas->use_argb || !curr_canvas->use_argb) { in WebPAnimEncoderRefineRect()
611 rect.width_ = clip(right - left, 0, curr_canvas->width - rect.x_offset_); in WebPAnimEncoderRefineRect()
612 rect.height_ = clip(bottom - top, 0, curr_canvas->height - rect.y_offset_); in WebPAnimEncoderRefineRect()
613 MinimizeChangeRectangle(prev_canvas, curr_canvas, &rect, is_lossless, in WebPAnimEncoderRefineRect()
625 WebPPicture* const curr_canvas) { in DisposeFrameRectangle() argument
628 WebPUtilClearPic(curr_canvas, rect); in DisposeFrameRectangle()
863 WebPPicture* const curr_canvas = &enc->curr_canvas_copy_; in GenerateCandidates() local
872 IsLosslessBlendingPossible(prev_canvas, curr_canvas, ¶ms->rect_ll_); in GenerateCandidates()
875 IsLossyBlendingPossible(prev_canvas, curr_canvas, ¶ms->rect_lossy_, in GenerateCandidates()
896 IncreaseTransparency(prev_canvas, ¶ms->rect_ll_, curr_canvas); in GenerateCandidates()
906 FlattenSimilarBlocks(prev_canvas, ¶ms->rect_lossy_, curr_canvas, in GenerateCandidates()
1065 const WebPPicture* const curr_canvas = &enc->curr_canvas_copy_; in SetFrame() local
1111 if (!GetSubRects(prev_canvas, curr_canvas, is_key_frame, is_first_frame, in SetFrame()
1133 if (!GetSubRects(prev_canvas_disposed, curr_canvas, is_key_frame, in SetFrame()