#include <stdio.h>
#include <stdlib.h>
#include <zlib.h>
#include "avcodec.h"
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | 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, AVPacket *avpkt) |
static av_cold int | flashsv_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_flashsv_decoder |
Definition in file flashsv.c.
static void copy_region | ( | uint8_t * | sptr, | |
uint8_t * | dptr, | |||
int | dx, | |||
int | dy, | |||
int | h, | |||
int | w, | |||
int | stride | |||
) | [static] |
static av_cold int flashsv_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int flashsv_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static av_cold int flashsv_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{ .name = "flashsv", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_FLASHSV, .priv_data_size = sizeof(FlashSVContext), .init = flashsv_decode_init, .close = flashsv_decode_end, .decode = flashsv_decode_frame, .capabilities = CODEC_CAP_DR1, .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"), }