#include "avcodec.h"
#include "get_bits.h"
#include "huffman.h"
#include "bytestream.h"
#include "dsputil.h"
#include "thread.h"
Go to the source code of this file.
Data Structures | |
struct | FrapsContext |
local variable storage More... | |
Defines | |
#define | FPS_TAG MKTAG('F', 'P', 'S', 'x') |
Functions | |
static av_cold int | decode_init (AVCodecContext *avctx) |
initializes decoder | |
static int | huff_cmp (const void *va, const void *vb) |
Comparator - our nodes should ascend by count but with preserved symbol order. | |
static int | fraps2_decode_plane (FrapsContext *s, uint8_t *dst, int stride, int w, int h, const uint8_t *src, int size, int Uoff, const int step) |
decode Fraps v2 packed plane | |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | decode_end (AVCodecContext *avctx) |
closes decoder | |
Variables | |
AVCodec | ff_fraps_decoder |
Codec algorithm for version 0 is taken from Transcode <www.transcoding.org>
Version 2 files support by Konstantin Shishkov
Definition in file fraps.c.
#define FPS_TAG MKTAG('F', 'P', 'S', 'x') |
static av_cold int decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static int huff_cmp | ( | const void * | va, | |
const void * | vb | |||
) | [static] |
Comparator - our nodes should ascend by count but with preserved symbol order.
Definition at line 79 of file fraps.c.
Referenced by fraps2_decode_plane().
Initial value:
{ .name = "fraps", .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_FRAPS, .priv_data_size = sizeof(FrapsContext), .init = decode_init, .close = decode_end, .decode = decode_frame, .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, .long_name = NULL_IF_CONFIG_SMALL("Fraps"), }