|
FFmpeg
|
#include "libavutil/bprint.h"#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 |
| #define | YUV2RGB(NAME, TYPE) |
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 void | png_handle_row (PNGDecContext *s) |
| static int | png_decode_idat (PNGDecContext *s, int length) |
| static int | decode_zbuf (AVBPrint *bp, const uint8_t *data, const uint8_t *data_end) |
| static uint8_t * | iso88591_to_utf8 (const uint8_t *in, size_t size_in) |
| static int | decode_text_chunk (PNGDecContext *s, uint32_t length, int compressed, AVDictionary **dict) |
| 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_mask [NB_PASSES] |
| 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 | ) |
Referenced by png_filter_row().
| #define YUV2RGB | ( | NAME, | |
| TYPE | |||
| ) |
|
static |
Definition at line 88 of file pngdec.c.
Referenced by png_handle_row().
Definition at line 158 of file pngdec.c.
Referenced by ff_pngdsp_init(), and png_filter_row().
|
static |
Definition at line 211 of file pngdec.c.
Referenced by png_handle_row().
|
static |
Definition at line 280 of file pngdec.c.
Referenced by png_decode_idat().
|
static |
Definition at line 360 of file pngdec.c.
Referenced by decode_frame().
Definition at line 385 of file pngdec.c.
Referenced by decode_text_chunk().
Definition at line 429 of file pngdec.c.
Referenced by decode_text_chunk().
|
static |
Definition at line 453 of file pngdec.c.
Referenced by decode_frame().
|
static |
|
static |
|
static |
Definition at line 71 of file pngdec.c.
Referenced by png_put_interlaced_row().
Definition at line 76 of file pngdec.c.
Referenced by png_handle_row().
Definition at line 81 of file pngdec.c.
Referenced by png_put_interlaced_row().
| AVCodec ff_png_decoder |
1.8.2