Lines Matching refs:CodecSrc
163 BRDSrc::BRDSrc(Path path, Mode mode, CodecSrc::DstColorType dstColorType, uint32_t sampleSize)
194 CodecSrc::kGetFromCanvas_DstColorType != fDstColorType)
199 case CodecSrc::kGetFromCanvas_DstColorType:
201 case CodecSrc::kGrayscale_Always_DstColorType:
323 // We will replicate the names used by CodecSrc so that images can
354 CodecSrc::CodecSrc(Path path, Mode mode, DstColorType dstColorType, SkAlphaType dstAlphaType,
364 bool CodecSrc::veto(SinkFlags flags) const {
370 static void swap_rb_if_necessary(SkBitmap& bitmap, CodecSrc::DstColorType dstColorType) {
371 if (CodecSrc::kNonNative8888_Always_DstColorType != dstColorType) {
382 CodecSrc::DstColorType dstColorType, SkAlphaType dstAlphaType) {
384 case CodecSrc::kGrayscale_Always_DstColorType:
390 case CodecSrc::kNonNative8888_Always_DstColorType:
416 CodecSrc::DstColorType dstColorType,
433 Result CodecSrc::draw(GrDirectContext*, SkCanvas* canvas) const {
504 // As in CodecSrc::size(), compute a roughly square grid to draw the frames
786 SkISize CodecSrc::size() const {
811 Name CodecSrc::name() const {
824 AndroidCodecSrc::AndroidCodecSrc(Path path, CodecSrc::DstColorType dstColorType,
903 // We will replicate the names used by CodecSrc so that images can
1004 CodecSrc::kGetFromCanvas_DstColorType);