Lines Matching defs:pixmaps
259 const SkYUVAPixmaps& pixmaps,
267 if (!pixmaps.isValid()) {
275 // Resize the pixmaps if necessary.
276 int numPlanes = pixmaps.numPlanes();
278 int maxDim = std::max(pixmaps.yuvaInfo().width(), pixmaps.yuvaInfo().height());
281 const SkYUVAPixmaps* pixmapsToUpload = &pixmaps;
289 std::min(static_cast<int>(pixmaps.yuvaInfo().width() *scale), maxTextureSize),
290 std::min(static_cast<int>(pixmaps.yuvaInfo().height()*scale), maxTextureSize)
292 SkYUVAInfo newInfo = pixmaps.yuvaInfo().makeDimensions(newDimensions);
293 SkYUVAPixmapInfo newPixmapInfo(newInfo, pixmaps.dataType(), /*row bytes*/ nullptr);
300 if (!pixmaps.plane(i).scalePixels(tempPixmaps.plane(i), sampling)) {