Cinepak video decoder.
More...
#include <stdio.h>
#include <string.h>
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "codec_internal.h"
#include "decode.h"
Go to the source code of this file.
|
| static void | cinepak_decode_codebook (cvid_codebook *codebook, int chunk_id, int size, const uint8_t *data) |
| |
| static int | cinepak_decode_vectors (CinepakContext *s, cvid_strip *strip, int chunk_id, int size, const uint8_t *data) |
| |
| static int | cinepak_decode_strip (CinepakContext *s, cvid_strip *strip, const uint8_t *data, int size) |
| |
| static int | cinepak_predecode_check (CinepakContext *s) |
| |
| static int | cinepak_decode (CinepakContext *s) |
| |
| static av_cold int | cinepak_decode_init (AVCodecContext *avctx) |
| |
| static int | cinepak_decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
| |
| static av_cold int | cinepak_decode_end (AVCodecContext *avctx) |
| |
Cinepak video decoder.
- Author
- Ewald Snel ewald.nosp@m.@ram.nosp@m.bo.it.nosp@m.s.tu.nosp@m.delft.nosp@m..nl
- See also
- For more information on the Cinepak algorithm, visit: http://www.csse.monash.edu.au/~timf/
-
For more information on the quirky data inside Sega FILM/CPK files, visit: http://wiki.multimedia.cx/index.php?title=Sega_FILM
Cinepak colorspace support (c) 2013 Rl, Aetey Global Technologies AB
- Author
- Cinepak colorspace, Rl, Aetey Global Technologies AB
Definition in file cinepak.c.
◆ MAX_STRIPS
◆ cvid_codebook
| typedef uint8_t cvid_codebook[12] |
◆ cinepak_decode_codebook()
| static void cinepak_decode_codebook |
( |
cvid_codebook * | codebook, |
|
|
int | chunk_id, |
|
|
int | size, |
|
|
const uint8_t * | data ) |
|
static |
◆ cinepak_decode_vectors()
| static int cinepak_decode_vectors |
( |
CinepakContext * | s, |
|
|
cvid_strip * | strip, |
|
|
int | chunk_id, |
|
|
int | size, |
|
|
const uint8_t * | data ) |
|
static |
◆ cinepak_decode_strip()
◆ cinepak_predecode_check()
◆ cinepak_decode()
◆ cinepak_decode_init()
◆ cinepak_decode_frame()
◆ cinepak_decode_end()
◆ ff_cinepak_decoder
Initial value:= {
.p.name = "cinepak",
}
static av_cold void close(AVCodecParserContext *s)
static av_cold int cinepak_decode_init(AVCodecContext *avctx)
static av_cold int cinepak_decode_end(AVCodecContext *avctx)
static int cinepak_decode_frame(AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt)
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
Definition at line 507 of file cinepak.c.