#include <stdint.h>
#include "pngdsp.h"
Go to the source code of this file.
|
int | ff_png_get_nb_channels (int color_type) |
|
int | ff_png_pass_row_size (int pass, int bits_per_pixel, int width) |
|
void | ff_add_png_paeth_prediction (uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp) |
|
void | ff_png_filter_row (PNGDSPContext *dsp, uint8_t *dst, int filter_type, uint8_t *src, uint8_t *last, int size, int bpp) |
|
◆ PNG_COLOR_MASK_PALETTE
#define PNG_COLOR_MASK_PALETTE 1 |
Definition at line 29 of file png.h.
◆ PNG_COLOR_MASK_COLOR
#define PNG_COLOR_MASK_COLOR 2 |
Definition at line 30 of file png.h.
◆ PNG_COLOR_MASK_ALPHA
#define PNG_COLOR_MASK_ALPHA 4 |
Definition at line 31 of file png.h.
◆ PNG_COLOR_TYPE_GRAY
#define PNG_COLOR_TYPE_GRAY 0 |
Definition at line 33 of file png.h.
◆ PNG_COLOR_TYPE_PALETTE
Definition at line 34 of file png.h.
◆ PNG_COLOR_TYPE_RGB
Definition at line 35 of file png.h.
◆ PNG_COLOR_TYPE_RGB_ALPHA
Definition at line 36 of file png.h.
◆ PNG_COLOR_TYPE_GRAY_ALPHA
Definition at line 37 of file png.h.
◆ PNG_FILTER_TYPE_LOCO
#define PNG_FILTER_TYPE_LOCO 64 |
Definition at line 39 of file png.h.
◆ PNG_FILTER_VALUE_NONE
#define PNG_FILTER_VALUE_NONE 0 |
Definition at line 40 of file png.h.
◆ PNG_FILTER_VALUE_SUB
#define PNG_FILTER_VALUE_SUB 1 |
Definition at line 41 of file png.h.
◆ PNG_FILTER_VALUE_UP
#define PNG_FILTER_VALUE_UP 2 |
Definition at line 42 of file png.h.
◆ PNG_FILTER_VALUE_AVG
#define PNG_FILTER_VALUE_AVG 3 |
Definition at line 43 of file png.h.
◆ PNG_FILTER_VALUE_PAETH
#define PNG_FILTER_VALUE_PAETH 4 |
Definition at line 44 of file png.h.
◆ PNG_FILTER_VALUE_MIXED
#define PNG_FILTER_VALUE_MIXED 5 |
Definition at line 45 of file png.h.
◆ NB_PASSES
Definition at line 47 of file png.h.
◆ PNGSIG
#define PNGSIG 0x89504e470d0a1a0a |
Definition at line 49 of file png.h.
◆ MNGSIG
#define MNGSIG 0x8a4d4e470d0a1a0a |
Definition at line 50 of file png.h.
◆ ff_png_get_nb_channels()
int ff_png_get_nb_channels |
( |
int |
color_type | ) |
|
◆ ff_png_pass_row_size()
int ff_png_pass_row_size |
( |
int |
pass, |
|
|
int |
bits_per_pixel, |
|
|
int |
width |
|
) |
| |
◆ ff_add_png_paeth_prediction()
void ff_add_png_paeth_prediction |
( |
uint8_t * |
dst, |
|
|
uint8_t * |
src, |
|
|
uint8_t * |
top, |
|
|
int |
w, |
|
|
int |
bpp |
|
) |
| |
◆ ff_png_filter_row()
void ff_png_filter_row |
( |
PNGDSPContext * |
dsp, |
|
|
uint8_t * |
dst, |
|
|
int |
filter_type, |
|
|
uint8_t * |
src, |
|
|
uint8_t * |
last, |
|
|
int |
size, |
|
|
int |
bpp |
|
) |
| |
◆ ff_png_pass_ymask