Home
last modified time | relevance | path

Searched refs:byte_depth (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dpngdec.c641 size_t byte_depth = s->bit_depth > 8 ? 2 : 1; in decode_idat_chunk() local
721 s->bpp += byte_depth; in decode_idat_chunk()
797 s->bpp -= byte_depth; in decode_idat_chunk()
802 s->bpp += byte_depth; in decode_idat_chunk()
1394 size_t byte_depth = s->bit_depth > 8 ? 2 : 1; in decode_frame_common() local
1395 size_t raw_bpp = s->bpp - byte_depth; in decode_frame_common()
1403 if (s->bpp == 2 && byte_depth == 1) { in decode_frame_common()
1411 } else if (s->bpp == 4 && byte_depth == 1) { in decode_frame_common()
1428 memset(&pixel[raw_bpp], 0, byte_depth); in decode_frame_common()
1430 memset(&pixel[raw_bpp], 0xff, byte_depth); in decode_frame_common()
[all...]

Completed in 3 milliseconds