Flash Screen Video decoder. More...
#include <stdio.h>#include <stdlib.h>#include "avcodec.h"#include "bitstream.h"#include <zlib.h>Go to the source code of this file.
Data Structures | |
| struct | FlashSVContext |
Typedefs | |
| typedef struct FlashSVContext | FlashSVContext |
Functions | |
| static void | copy_region (uint8_t *sptr, uint8_t *dptr, int dx, int dy, int h, int w, int stride) |
| static av_cold int | flashsv_decode_init (AVCodecContext *avctx) |
| static int | flashsv_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size) |
| static av_cold int | flashsv_decode_end (AVCodecContext *avctx) |
Variables | |
| AVCodec | flashsv_decoder |
Flash Screen Video decoder.
Definition in file flashsv.c.
| typedef struct FlashSVContext FlashSVContext |
| static void copy_region | ( | uint8_t * | sptr, | |
| uint8_t * | dptr, | |||
| int | dx, | |||
| int | dy, | |||
| int | h, | |||
| int | w, | |||
| int | stride | |||
| ) | [static] |
Definition at line 69 of file flashsv.c.
Referenced by flashsv_decode_frame().
| static av_cold int flashsv_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
| static int flashsv_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static av_cold int flashsv_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
{
"flashsv",
CODEC_TYPE_VIDEO,
CODEC_ID_FLASHSV,
sizeof(FlashSVContext),
flashsv_decode_init,
NULL,
flashsv_decode_end,
flashsv_decode_frame,
CODEC_CAP_DR1,
.pix_fmts = (enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
.long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
}
1.7.1