Home
last modified time | relevance | path

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

/external/libpng/
Dpngpriv.h729 #define PNG_ROWBYTES(pixel_bits, width) \ argument
730 ((pixel_bits) >= 8 ? \
731 ((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \
732 (( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) )
746 #define PNG_TRAILBITS(pixel_bits, width) \ argument
747 (((pixel_bits) * ((width) % (png_uint_32)8)) % 8)
749 #define PNG_PADBITS(pixel_bits, width) \ argument
750 ((8 - PNG_TRAILBITS(pixel_bits, width)) % 8)
/external/mesa3d/src/mesa/drivers/dri/swrast/
Dswrast.c218 unsigned pixel_bits, unsigned depth_bits, in swrastFillInModes() argument
258 switch (pixel_bits) { in swrastFillInModes()
270 pixel_bits); in swrastFillInModes()
/external/pdfium/third_party/libpng16/
Dpngpriv.h674 #define PNG_ROWBYTES(pixel_bits, width) \ argument
675 ((pixel_bits) >= 8 ? \
676 ((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \
677 (( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) )