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) |
Typedefs | |
typedef struct PNGDecContext | PNGDecContext |
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 |
Macro Definition Documentation
Referenced by png_filter_row().
Referenced by png_filter_row().
#define UNROLL1 | ( | bpp, | |
op | |||
) |
#define UNROLL_FILTER | ( | op | ) |
Definition at line 203 of file pngdec.c.
Referenced by png_filter_row().
#define YUV2RGB | ( | NAME, | |
TYPE | |||
) |
Typedef Documentation
typedef struct PNGDecContext PNGDecContext |
Function Documentation
|
static |
|
static |
Definition at line 455 of file pngdec.c.
Referenced by decode_frame().
Definition at line 387 of file pngdec.c.
Referenced by decode_text_chunk().
Definition at line 160 of file pngdec.c.
Referenced by ff_pngdsp_init(), and png_filter_row().
Definition at line 431 of file pngdec.c.
Referenced by decode_text_chunk().
|
static |
|
static |
|
static |
Definition at line 362 of file pngdec.c.
Referenced by decode_frame().
|
static |
Definition at line 213 of file pngdec.c.
Referenced by png_handle_row().
|
static |
Definition at line 282 of file pngdec.c.
Referenced by png_decode_idat().
|
static |
Definition at line 90 of file pngdec.c.
Referenced by png_handle_row().
Variable Documentation
AVCodec ff_png_decoder |
Definition at line 83 of file pngdec.c.
Referenced by png_put_interlaced_row().
Definition at line 78 of file pngdec.c.
Referenced by png_handle_row().
Definition at line 73 of file pngdec.c.
Referenced by png_put_interlaced_row().
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11