Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dpngdec.c644 size_t byte_depth = s->bit_depth > 8 ? 2 : 1; in decode_idat_chunk() local
722 s->bpp += byte_depth; in decode_idat_chunk()
776 s->bpp -= byte_depth; in decode_idat_chunk()
781 s->bpp += byte_depth; in decode_idat_chunk()
1391 size_t byte_depth = s->bit_depth > 8 ? 2 : 1; in decode_frame_common() local
1392 size_t raw_bpp = s->bpp - byte_depth; in decode_frame_common()
1400 if (s->bpp == 2 && byte_depth == 1) { in decode_frame_common()
1408 } else if (s->bpp == 4 && byte_depth == 1) { in decode_frame_common()
1425 memset(&pixel[raw_bpp], 0, byte_depth); in decode_frame_common()
1427 memset(&pixel[raw_bpp], 0xff, byte_depth); in decode_frame_common()