#include "avcodec.h"#include "libavutil/intreadwrite.h"#include "bytestream.h"#include "libavutil/lzo.h"Go to the source code of this file.
| Data Structures | |
| struct | DfaContext | 
| Typedefs | |
| typedef int(* | chunk_decoder )(uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| Functions | |
| static av_cold int | dfa_decode_init (AVCodecContext *avctx) | 
| static int | decode_copy (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int | decode_tsw1 (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int | decode_dsw1 (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int | decode_dds1 (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int | decode_bdlt (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int | decode_wdlt (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int | decode_unk6 (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int | decode_blck (uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| 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 int(* chunk_decoder)(uint8_t *frame, int width, int height, const uint8_t *src, const uint8_t *src_end) | 
| static int decode_bdlt | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static int decode_blck | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static int decode_copy | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static int decode_dds1 | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static int decode_dsw1 | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static int decode_tsw1 | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static int decode_unk6 | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static int decode_wdlt | ( | uint8_t * | frame, | |
| int | width, | |||
| int | height, | |||
| const uint8_t * | src, | |||
| const uint8_t * | src_end | |||
| ) |  [static] | 
| static av_cold int dfa_decode_end | ( | AVCodecContext * | avctx | ) |  [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] | 
| const char* chunk_name[8]  [static] | 
Initial value:
 {
    "COPY", "TSW1", "BDLT", "WDLT", "????", "DSW1", "BLCK", "DDS1"
}
Definition at line 302 of file dfa.c.
Referenced by dfa_decode_frame().
| const chunk_decoder decoder[8]  [static] | 
Initial value:
 {
    decode_copy, decode_tsw1, decode_bdlt, decode_wdlt,
    decode_unk6, decode_dsw1, decode_blck, decode_dds1,
}
Definition at line 297 of file dfa.c.
Referenced by av_find_best_stream(), dfa_decode_frame(), libschroedinger_decode_frame(), and libschroedinger_handle_first_access_unit().
Initial value:
 {
    .name           = "dfa",
    .type           = AVMEDIA_TYPE_VIDEO,
    .id             = CODEC_ID_DFA,
    .priv_data_size = sizeof(DfaContext),
    .init           = dfa_decode_init,
    .close          = dfa_decode_end,
    .decode         = dfa_decode_frame,
    .capabilities   = CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"),
}
 1.5.8
 1.5.8