|
Libav
|
#include "libavutil/imgutils.h"#include "avcodec.h"#include "bytestream.h"#include "internal.h"#include "png.h"#include "pngdsp.h"#include <zlib.h>Go to the source code of this file.
Data Structures | |
| struct | PNGDecContext |
Macros | |
| #define | UNROLL1(bpp, op) |
| #define | UNROLL_FILTER(op) |
| #define | OP_SUB(x, s, l) x + s |
| #define | OP_AVG(x, s, l) (((x + l) >> 1) + s) & 0xff |
Functions | |
| static void | png_put_interlaced_row (uint8_t *dst, int width, int bits_per_pixel, int pass, int color_type, const uint8_t *src) |
| void | ff_add_png_paeth_prediction (uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp) |
| static void | png_filter_row (PNGDSPContext *dsp, uint8_t *dst, int filter_type, uint8_t *src, uint8_t *last, int size, int bpp) |
| static av_always_inline void | convert_to_rgb32_loco (uint8_t *dst, const uint8_t *src, int width, int loco) |
| static void | convert_to_rgb32 (uint8_t *dst, const uint8_t *src, int width, int loco) |
| static void | deloco_rgb24 (uint8_t *dst, int size) |
| static void | png_handle_row (PNGDecContext *s) |
| static int | png_decode_idat (PNGDecContext *s, int length) |
| static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
| static av_cold int | png_dec_init (AVCodecContext *avctx) |
| static av_cold int | png_dec_end (AVCodecContext *avctx) |
Variables | |
| static const uint8_t | png_pass_dsp_ymask [NB_PASSES] |
| static const uint8_t | png_pass_dsp_mask [NB_PASSES] |
| AVCodec | ff_png_decoder |
| #define UNROLL1 | ( | bpp, | |
| op | |||
| ) |
| #define UNROLL_FILTER | ( | op | ) |
Definition at line 185 of file pngdec.c.
Referenced by png_filter_row().
| #define OP_SUB | ( | x, | |
| s, | |||
| l | |||
| ) | x + s |
Referenced by png_filter_row().
| #define OP_AVG | ( | x, | |
| s, | |||
| l | |||
| ) | (((x + l) >> 1) + s) & 0xff |
Referenced by png_filter_row().
|
static |
Definition at line 78 of file pngdec.c.
Referenced by png_handle_row().
Definition at line 134 of file pngdec.c.
Referenced by ff_pngdsp_init(), and png_filter_row().
|
static |
Definition at line 203 of file pngdec.c.
Referenced by png_handle_row().
|
static |
Definition at line 255 of file pngdec.c.
Referenced by convert_to_rgb32().
Definition at line 277 of file pngdec.c.
Referenced by png_handle_row().
Definition at line 286 of file pngdec.c.
Referenced by png_handle_row().
|
static |
Definition at line 297 of file pngdec.c.
Referenced by png_decode_idat().
|
static |
Definition at line 375 of file pngdec.c.
Referenced by decode_frame().
|
static |
|
static |
|
static |
Definition at line 66 of file pngdec.c.
Referenced by png_handle_row().
Definition at line 71 of file pngdec.c.
Referenced by png_put_interlaced_row().
| AVCodec ff_png_decoder |
1.8.8