Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavcodec/
Dxwddec.c39 uint32_t pixformat, pixdepth, bunit, bitorder, bpad; in xwd_decode_frame() local
63 pixdepth = bytestream2_get_be32u(&gb); in xwd_decode_frame()
86 pixformat, pixdepth, bunit, bitorder, bpad); in xwd_decode_frame()
99 if (pixdepth == 0 || pixdepth > 32) { in xwd_decode_frame()
164 if (bpp == 1 && pixdepth == 1) { in xwd_decode_frame()
166 } else if (bpp == 8 && pixdepth == 8) { in xwd_decode_frame()
179 if (bpp == 16 && pixdepth == 15) { in xwd_decode_frame()
184 } else if (bpp == 16 && pixdepth == 16) { in xwd_decode_frame()
210 bpp, pixdepth, vclass); in xwd_decode_frame()
Dxwdenc.c38 uint32_t pixdepth, bpp, bpad, ncolors = 0, lsize, vclass, be = 0; in xwd_encode_frame() local
46 pixdepth = av_get_bits_per_pixel(desc); in xwd_encode_frame()
68 pixdepth = 24; in xwd_encode_frame()
160 bytestream_put_be32(&buf, pixdepth); // pixmap depth in pixels in xwd_encode_frame()