Home
last modified time | relevance | path

Searched refs:frame_rect (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/codec/
DSkWuffsCodec.cpp588 wuffs_base__rect_ie_u32 frame_rect = fFrameConfigs[WhichDecoder::kIncrDecode].bounds(); in onStartIncrementalDecodeTwoPass() local
591 uint8_t* ptr = pixels.ptr + (frame_rect.min_incl_y * pixels.stride) + in onStartIncrementalDecodeTwoPass()
592 (frame_rect.min_incl_x * src_bytes_per_pixel); in onStartIncrementalDecodeTwoPass()
593 size_t len = frame_rect.width() * src_bytes_per_pixel; in onStartIncrementalDecodeTwoPass()
597 if ((len == pixels.stride) && (frame_rect.min_incl_y < frame_rect.max_excl_y)) { in onStartIncrementalDecodeTwoPass()
598 sk_bzero(ptr, len * (frame_rect.max_excl_y - frame_rect.min_incl_y)); in onStartIncrementalDecodeTwoPass()
600 for (uint32_t y = frame_rect.min_incl_y; y < frame_rect.max_excl_y; y++) { in onStartIncrementalDecodeTwoPass()
692 wuffs_base__rect_ie_u32 frame_rect = fFrameConfigs[WhichDecoder::kIncrDecode].bounds(); in onIncrementalDecodeTwoPass() local
694 if (frame_rect.width() > (SIZE_MAX / src_bytes_per_pixel)) { in onIncrementalDecodeTwoPass()
698 auto bounds = SkIRect::MakeLTRB(frame_rect.min_incl_x, frame_rect.min_incl_y, in onIncrementalDecodeTwoPass()
[all …]
/external/skqp/src/codec/
DSkWuffsCodec.cpp440 wuffs_base__rect_ie_u32 frame_rect = fFrameConfig.bounds(); in onIncrementalDecode() local
442 auto bounds = SkIRect::MakeLTRB(frame_rect.min_incl_x, frame_rect.min_incl_y, in onIncrementalDecode()
443 frame_rect.max_excl_x, frame_rect.max_excl_y); in onIncrementalDecode()
453 for (uint32_t y = frame_rect.min_incl_y; y < frame_rect.max_excl_y; y++) { in onIncrementalDecode()
454 uint8_t* s = pixels.ptr + (y * pixels.stride) + (frame_rect.min_incl_x * src_bpp); in onIncrementalDecode()
455 sk_bzero(s, frame_rect.width() * src_bpp); in onIncrementalDecode()
550 uint8_t* s = pixels.ptr + (y * pixels.stride) + (frame_rect.min_incl_x * src_bpp); in onIncrementalDecode()