#include "avcodec.h"
#include "internal.h"
#include "bytestream.h"
#include "huffyuvencdsp.h"
#include "png.h"
#include "libavutil/avassert.h"
#include "libavutil/libm.h"
#include "libavutil/opt.h"
#include "libavutil/color_utils.h"
#include <zlib.h>
Go to the source code of this file.
|
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 | sub_left_prediction (PNGEncContext *c, uint8_t *dst, const uint8_t *src, int bpp, int size) |
|
static void | png_filter_row (PNGEncContext *c, 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 | png_get_chrm (enum AVColorPrimaries prim, uint8_t *buf) |
|
static int | png_get_gama (enum AVColorTransferCharacteristic trc, uint8_t *buf) |
|
static int | encode_frame (AVCodecContext *avctx, AVPacket *pkt, const AVFrame *pict, int *got_packet) |
|
static av_cold int | png_enc_init (AVCodecContext *avctx) |
|
static av_cold int | png_enc_close (AVCodecContext *avctx) |
|
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 |
static void png_write_chunk |
( |
uint8_t ** |
f, |
|
|
uint32_t |
tag, |
|
|
const uint8_t * |
buf, |
|
|
int |
length |
|
) |
| |
|
static |
Initial value:
Definition at line 579 of file pngenc.c.
Initial value:= {
.class_name = "PNG encoder",
}
Definition at line 585 of file pngenc.c.
Initial value:
Definition at line 592 of file pngenc.c.