FFmpeg
Classes | Macros | Typedefs | Variables
fraps.c File Reference

Lossless Fraps 'FPS1' decoder. More...

#include "avcodec.h"
#include "get_bits.h"
#include "huffman.h"
#include "bytestream.h"
#include "bswapdsp.h"
#include "internal.h"
#include "thread.h"

Classes

struct  FrapsContext
 local variable storage More...
 

Macros

#define FPS_TAG   MKTAG('F', 'P', 'S', 'x')
 
#define VLC_BITS   11
 

Typedefs

typedef struct FrapsContext FrapsContext
 local variable storage
 

Variables

AVCodec ff_fraps_decoder
 

Detailed Description

Lossless Fraps 'FPS1' decoder.

Author
Roine Gustafsson (roine at users sf net)
Konstantin Shishkov

Codec algorithm for version 0 is taken from Transcode <www.transcoding.org>

Version 2 files support by Konstantin Shishkov

Variable Documentation

§ ff_fraps_decoder

AVCodec ff_fraps_decoder
Initial value:
= {
.name = "fraps",
.long_name = NULL_IF_CONFIG_SMALL("Fraps"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_FRAPS,
.priv_data_size = sizeof(FrapsContext),
.init = decode_init,
.close = decode_end,
.decode = decode_frame,
.caps_internal = FF_CODEC_CAP_INIT_THREADSAFE,
}
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
Definition: internal.h:40
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: avcodec.h:1015
struct FrapsContext FrapsContext
local variable storage
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959