diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-01-30 05:20:58 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-01-30 05:20:58 +0100 |
commit | e1492151fb0c1ad2a9efbb2f2413b60113208b61 (patch) | |
tree | e4852fd092e2b2346c21e87d8b69987b2b4c2a68 /libavcodec/png.h | |
parent | 90bf7c7b41c9e78663ef3da00480f70854072932 (diff) | |
parent | 20a7d3178f2370ebd1f548c144bc90d1e1bcd81a (diff) | |
download | ffmpeg-e1492151fb0c1ad2a9efbb2f2413b60113208b61.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
png: add missing #if HAVE_SSSE3 around function pointer assignment.
imdct36: mark SSE functions as using all 16 XMM registers.
png: move DSP functions to their own DSP context.
sunrast: Add a sample request for TIFF, IFF, and Experimental Rastfile formats.
sunrast: Cosmetics
sunrast: Remove if (unsigned int < 0) check.
sunrast: Replace magic number by a macro.
Conflicts:
libavcodec/dsputil.c
libavcodec/dsputil.h
libavcodec/pngdec.c
libavcodec/sunrast.c
libavcodec/x86/Makefile
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/png.h')
-rw-r--r-- | libavcodec/png.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/libavcodec/png.h b/libavcodec/png.h index d6fac3e673..bab5224851 100644 --- a/libavcodec/png.h +++ b/libavcodec/png.h @@ -23,9 +23,6 @@ #define AVCODEC_PNG_H #include <stdint.h> -#include <zlib.h> - -#include "avcodec.h" #define PNG_COLOR_MASK_PALETTE 1 #define PNG_COLOR_MASK_COLOR 2 @@ -72,41 +69,4 @@ int ff_png_pass_row_size(int pass, int bits_per_pixel, int width); void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); -typedef struct PNGDecContext { - const uint8_t *bytestream; - const uint8_t *bytestream_start; - const uint8_t *bytestream_end; - AVFrame picture1, picture2; - AVFrame *current_picture, *last_picture; - - int state; - int width, height; - int bit_depth; - int color_type; - int compression_type; - int interlace_type; - int filter_type; - int channels; - int bits_per_pixel; - int bpp; - - uint8_t *image_buf; - int image_linesize; - uint32_t palette[256]; - uint8_t *crow_buf; - uint8_t *last_row; - uint8_t *tmp_row; - int pass; - int crow_size; /* compressed row size (include filter type) */ - int row_size; /* decompressed row size */ - int pass_row_size; /* decompress row size of the current pass */ - int y; - z_stream zstream; - - void (*add_bytes_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int w); - void (*add_paeth_prediction)(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp); -} PNGDecContext; - -void ff_png_init_mmx(PNGDecContext *s); - #endif /* AVCODEC_PNG_H */ |