Codec algorithm for version 0 is taken from Transcode <www.transcoding.org>
Version 2 files support by Konstantin Shishkov
Definition in file fraps.c.
Go to the source code of this file.
Classes | |
| struct | FrapsContext |
| local variable storage More... | |
Functions | |
| static 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, uint8_t *src, int size, int Uoff) |
| decode Fraps v2 packed plane | |
| static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) |
| decode a frame | |
| static int | decode_end (AVCodecContext *avctx) |
| closes decoder | |
Variables | |
| AVCodec | fraps_decoder |
| static 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 78 of file fraps.c.
Referenced by fraps2_decode_plane().
| static int fraps2_decode_plane | ( | FrapsContext * | s, | |
| uint8_t * | dst, | |||
| int | stride, | |||
| int | w, | |||
| int | h, | |||
| uint8_t * | src, | |||
| int | size, | |||
| int | Uoff | |||
| ) | [static] |
| static int decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static int decode_end | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{
"fraps",
CODEC_TYPE_VIDEO,
CODEC_ID_FRAPS,
sizeof(FrapsContext),
decode_init,
NULL,
decode_end,
decode_frame,
CODEC_CAP_DR1,
}
1.5.5