26 0x80, 0x80, 0x08, 0x88, 0x22, 0xaa, 0x55,
64 int shift, xmin, pass_width;
71 return (pass_width * bits_per_pixel + 7) >> 3;
Libavcodec external API header.
void * av_mallocz_array(size_t nmemb, size_t size)
Allocate a memory block for an array with av_mallocz().
const uint8_t ff_png_pass_ymask[NB_PASSES]
static const uint8_t ff_png_pass_xshift[NB_PASSES]
int ff_png_pass_row_size(int pass, int bits_per_pixel, int width)
static const uint8_t ff_png_pass_xmin[NB_PASSES]
int ff_png_get_nb_channels(int color_type)
void * ff_png_zalloc(void *opaque, unsigned int items, unsigned int size)
void ff_png_zfree(void *opaque, void *ptr)
#define PNG_COLOR_MASK_COLOR
#define PNG_COLOR_MASK_PALETTE
#define PNG_COLOR_MASK_ALPHA
static int shift(int a, int b)