Lines Matching defs:SkYUVAInfo
22 class SK_API SkYUVAInfo {
139 SkYUVAInfo() = default;
140 SkYUVAInfo(const SkYUVAInfo&) = default;
146 SkYUVAInfo(SkISize dimensions,
154 SkYUVAInfo& operator=(const SkYUVAInfo& that) = default;
213 * Makes a SkYUVAInfo that is identical to this one but with the passed Subsampling. If the
216 * SkYUVAInfo.
218 SkYUVAInfo makeSubsampling(SkYUVAInfo::Subsampling) const;
221 * Makes a SkYUVAInfo that is identical to this one but with the passed dimensions. If the
222 * passed dimensions is empty then the result will be an invalid SkYUVAInfo.
224 SkYUVAInfo makeDimensions(SkISize) const;
226 bool operator==(const SkYUVAInfo& that) const;
227 bool operator!=(const SkYUVAInfo& that) const { return !(*this == that); }
249 constexpr int SkYUVAInfo::NumPlanes(PlaneConfig planeConfig) {
268 constexpr int SkYUVAInfo::NumChannelsInPlane(PlaneConfig config, int i) {
273 case SkYUVAInfo::PlaneConfig::kY_U_V:
274 case SkYUVAInfo::PlaneConfig::kY_V_U:
276 case SkYUVAInfo::PlaneConfig::kY_UV:
277 case SkYUVAInfo::PlaneConfig::kY_VU:
283 case SkYUVAInfo::PlaneConfig::kYUV:
284 case SkYUVAInfo::PlaneConfig::kUYV:
286 case SkYUVAInfo::PlaneConfig::kY_U_V_A:
287 case SkYUVAInfo::PlaneConfig::kY_V_U_A:
289 case SkYUVAInfo::PlaneConfig::kY_UV_A:
290 case SkYUVAInfo::PlaneConfig::kY_VU_A:
297 case SkYUVAInfo::PlaneConfig::kYUVA:
298 case SkYUVAInfo::PlaneConfig::kUYVA: