libavcodec/flashsv.c File Reference

Flash Screen Video decoder. More...

#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


Detailed Description

Flash Screen Video decoder.

Author:
Alex Beregszaszi

Benjamin Larsson

Definition in file flashsv.c.


Function Documentation

static void copy_region ( uint8_t *  sptr,
uint8_t *  dptr,
int  dx,
int  dy,
int  h,
int  w,
int  stride 
) [static]

Definition at line 68 of file flashsv.c.

Referenced by flashsv_decode_frame().

static av_cold int flashsv_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 230 of file flashsv.c.

static int flashsv_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 102 of file flashsv.c.

static av_cold int flashsv_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 80 of file flashsv.c.


Variable Documentation

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"),
}

Definition at line 245 of file flashsv.c.


Generated on Fri Oct 26 02:38:16 2012 for FFmpeg by  doxygen 1.5.8