Lines Matching refs:src_rc
60 void AlphaBlend(const pp::ImageData& src, const pp::Rect& src_rc, in AlphaBlend() argument
63 if (src_rc.IsEmpty() || !ImageDataContainsRect(src, src_rc)) in AlphaBlend()
66 pp::Rect dest_rc(dest_origin, src_rc.size()); in AlphaBlend()
70 const uint32_t* src_origin_pixel = src.GetAddr32(src_rc.point()); in AlphaBlend()
73 int height = src_rc.height(); in AlphaBlend()
74 int width = src_rc.width(); in AlphaBlend()
157 void CopyImage(const pp::ImageData& src, const pp::Rect& src_rc, in CopyImage() argument
160 if (src_rc.IsEmpty() || !ImageDataContainsRect(src, src_rc)) in CopyImage()
164 stretch ? dest_rc.size() : src_rc.size()); in CopyImage()
168 const uint32_t* src_origin_pixel = src.GetAddr32(src_rc.point()); in CopyImage()
171 double x_ratio = static_cast<double>(src_rc.width()) / dest_rc.width(); in CopyImage()
172 double y_ratio = static_cast<double>(src_rc.height()) / dest_rc.height(); in CopyImage()
181 pp::Point(src_rc.x() + src_x, src_rc.y() + src_y)); in CopyImage()
189 int32_t height = src_rc.height(); in CopyImage()
190 base::CheckedNumeric<int32_t> width_bytes = src_rc.width(); in CopyImage()