FFmpeg
|
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | PhotoCDContext |
struct | ImageInfo |
Macros | |
#define | CACHED_BITSTREAM_READER !ARCH_X86_32 |
#define | OFFSET(x) offsetof(PhotoCDContext, x) |
#define | VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
Functions | |
static av_noinline void | interp_lowres (PhotoCDContext *s, AVFrame *picture, int width, int height) |
static av_noinline void | interp_lines (uint8_t *ptr, int linesize, int width, int height) |
static av_noinline void | interp_pixels (uint8_t *ptr, int linesize, int width, int height) |
static av_noinline int | read_hufftable (AVCodecContext *avctx, VLC *vlc) |
static av_noinline int | decode_huff (AVCodecContext *avctx, AVFrame *frame, int target_res, int curr_res) |
static int | photocd_decode_frame (AVCodecContext *avctx, AVFrame *p, int *got_frame, AVPacket *avpkt) |
static av_cold int | photocd_decode_init (AVCodecContext *avctx) |
static av_cold int | photocd_decode_close (AVCodecContext *avctx) |
Variables | |
static const ImageInfo | img_info [6] |
static const AVOption | options [] |
static const AVClass | photocd_class |
const FFCodec | ff_photocd_decoder |
Kodak PhotoCD (a.k.a. ImagePac) image decoder
Supports resolutions up to 3072x2048.
Definition in file photocd.c.
#define OFFSET | ( | x | ) | offsetof(PhotoCDContext, x) |
#define VD AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_DECODING_PARAM |
|
static |
Definition at line 75 of file photocd.c.
Referenced by photocd_decode_frame().
|
static |
Definition at line 143 of file photocd.c.
Referenced by photocd_decode_frame().
|
static |
Definition at line 172 of file photocd.c.
Referenced by photocd_decode_frame().
|
static |
Definition at line 187 of file photocd.c.
Referenced by photocd_decode_frame().
|
static |
Definition at line 224 of file photocd.c.
Referenced by photocd_decode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 66 of file photocd.c.
Referenced by decode_huff(), interp_lowres(), and photocd_decode_frame().
|
static |
|
static |
const FFCodec ff_photocd_decoder |