|
FFmpeg
2.1.1
|
#include "avcodec.h"#include "internal.h"#include "bytestream.h"#include "dsputil.h"#include "png.h"#include "libavutil/avassert.h"#include "libavutil/opt.h"#include <zlib.h>Go to the source code of this file.
Data Structures | |
| struct | PNGEncContext |
Macros | |
| #define | IOBUF_SIZE 4096 |
| #define | OFFSET(x) offsetof(PNGEncContext, x) |
| #define | VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
Functions | |
| static void | png_get_interlaced_row (uint8_t *dst, int row_size, int bits_per_pixel, int pass, const uint8_t *src, int width) |
| static void | sub_png_paeth_prediction (uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp) |
| static void | png_filter_row (DSPContext *dsp, uint8_t *dst, int filter_type, uint8_t *src, uint8_t *top, int size, int bpp) |
| static uint8_t * | png_choose_filter (PNGEncContext *s, uint8_t *dst, uint8_t *src, uint8_t *top, int size, int bpp) |
| static void | png_write_chunk (uint8_t **f, uint32_t tag, const uint8_t *buf, int length) |
| static int | png_write_row (PNGEncContext *s, const uint8_t *data, int size) |
| static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
| static av_cold int | png_enc_init (AVCodecContext *avctx) |
Variables | |
| static const AVOption | options [] |
| static const AVClass | pngenc_class |
| AVCodec | ff_png_encoder |
| #define IOBUF_SIZE 4096 |
Definition at line 32 of file pngenc.c.
Referenced by encode_frame(), and png_write_row().
| #define OFFSET | ( | x | ) | offsetof(PNGEncContext, x) |
| #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM |
|
static |
Definition at line 51 of file pngenc.c.
Referenced by encode_frame().
|
static |
Definition at line 90 of file pngenc.c.
Referenced by png_filter_row().
|
static |
Definition at line 117 of file pngenc.c.
Referenced by png_choose_filter().
|
static |
Definition at line 147 of file pngenc.c.
Referenced by encode_frame().
Definition at line 177 of file pngenc.c.
Referenced by encode_frame(), and png_write_row().
|
static |
Definition at line 197 of file pngenc.c.
Referenced by encode_frame().
|
static |
|
static |
|
static |
|
static |
| AVCodec ff_png_encoder |
1.8.5