libavcodec/dfa.c File Reference
#include "avcodec.h"
#include "bytestream.h"
#include "libavutil/imgutils.h"
#include "libavutil/lzo.h"
Go to the source code of this file.
|
Data Structures |
struct | DfaContext |
Typedefs |
typedef int(* | chunk_decoder )(GetByteContext *gb, uint8_t *frame, int width, int height) |
Functions |
static av_cold int | dfa_decode_init (AVCodecContext *avctx) |
static int | decode_copy (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | decode_tsw1 (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | decode_dsw1 (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | decode_dds1 (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | decode_bdlt (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | decode_wdlt (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | decode_unk6 (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | decode_blck (GetByteContext *gb, uint8_t *frame, int width, int height) |
static int | dfa_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | dfa_decode_end (AVCodecContext *avctx) |
Variables |
static const chunk_decoder | decoder [8] |
static const char * | chunk_name [8] |
AVCodec | ff_dfa_decoder |
Typedef Documentation
Function Documentation
static int decode_bdlt |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
static int decode_blck |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
static int decode_copy |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
Definition at line 53 of file dfa.c.
static int decode_dds1 |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
static int decode_dsw1 |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
static int decode_tsw1 |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
Definition at line 62 of file dfa.c.
static int decode_unk6 |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
static int decode_wdlt |
( |
GetByteContext * |
gb, |
|
|
uint8_t * |
frame, |
|
|
int |
width, |
|
|
int |
height | |
|
) |
| | [static] |
static int dfa_decode_frame |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int * |
data_size, |
|
|
AVPacket * |
avpkt | |
|
) |
| | [static] |
static av_cold int dfa_decode_init |
( |
AVCodecContext * |
avctx |
) |
[static] |
Definition at line 36 of file dfa.c.
Variable Documentation
Initial value:
{
"COPY", "TSW1", "BDLT", "WDLT", "????", "DSW1", "BLCK", "DDS1"
}
Definition at line 307 of file dfa.c.
Referenced by dfa_decode_frame().
Initial value:
Definition at line 385 of file dfa.c.