Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkHeifCodec.cpp285 size_t swizzleBytes = 0; in allocateStorage() local
287 swizzleBytes = fFrameInfo.mBytesPerPixel * fFrameInfo.mWidth; in allocateStorage()
289 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
298 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage()
301 fSwizzleSrcRow = (swizzleBytes > 0) ? fStorage.get() : nullptr; in allocateStorage()
303 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()
/external/skqp/src/codec/
DSkHeifCodec.cpp285 size_t swizzleBytes = 0; in allocateStorage() local
287 swizzleBytes = fFrameInfo.mBytesPerPixel * fFrameInfo.mWidth; in allocateStorage()
289 SkASSERT(!this->colorXform() || SkIsAlign4(swizzleBytes)); in allocateStorage()
298 size_t totalBytes = swizzleBytes + xformBytes; in allocateStorage()
301 fSwizzleSrcRow = (swizzleBytes > 0) ? fStorage.get() : nullptr; in allocateStorage()
303 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()