8#ifndef SkYUVAInfoLocation_DEFINED
9#define SkYUVAInfoLocation_DEFINED
37 if (locations[i].
fPlane < 0) {
44 maxSlotUsed = std::max(locations[i].
fPlane, maxSlotUsed);
50 for (
int i = 0; i <= maxSlotUsed; ++i) {
static constexpr int kMaxPlanes
std::array< YUVALocation, kYUVAChannelCount > YUVALocations
static constexpr int kYUVAChannelCount
bool operator!=(const YUVALocation &that) const
bool operator==(const YUVALocation &that) const
static bool AreValidLocations(const SkYUVAInfo::YUVALocations &locations, int *numPlanes=nullptr)