Home
last modified time | relevance | path

Searched refs:swizzleBytes (Results 1 – 4 of 4) sorted by relevance

/third_party/flutter/skia/src/codec/
DSkHeifCodec.cpp408 size_t swizzleBytes = 0; in allocateStorage() local
410 swizzleBytes = fFrameInfo.mBytesPerPixel * fFrameInfo.mWidth; in allocateStorage()
412 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
421 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage()
424 fSwizzleSrcRow = (swizzleBytes > 0) ? fStorage.get() : nullptr; in allocateStorage()
426 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()
DSkJpegCodec.cpp620 size_t swizzleBytes = 0; in allocateStorage() local
622 swizzleBytes = get_row_bytes(fDecoderMgr->dinfo()); in allocateStorage()
624 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
633 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage()
636 fSwizzleSrcRow = (swizzleBytes > 0) ? fStorage.get() : nullptr; in allocateStorage()
638 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()
/third_party/skia/src/codec/
DSkHeifCodec.cpp403 size_t swizzleBytes = 0; in allocateStorage() local
405 swizzleBytes = fFrameInfo.mBytesPerPixel * fFrameInfo.mWidth; in allocateStorage()
407 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
416 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage()
419 fSwizzleSrcRow = (swizzleBytes > 0) ? fStorage.get() : nullptr; in allocateStorage()
421 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()
DSkJpegCodec.cpp571 size_t swizzleBytes = 0; in allocateStorage() local
573 swizzleBytes = get_row_bytes(fDecoderMgr->dinfo()); in allocateStorage()
575 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
584 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage()
589 fSwizzleSrcRow = (swizzleBytes > 0) ? fStorage.get() : nullptr; in allocateStorage()
591 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()