libavcodec/flashsv.c File Reference

Flash Screen Video decoder. More...

#include <stdio.h>
#include <stdlib.h>
#include "avcodec.h"
#include "get_bits.h"
#include <zlib.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 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 69 of file flashsv.c.

Referenced by flashsv_decode_frame().

static av_cold int flashsv_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 237 of file flashsv.c.

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

Definition at line 103 of file flashsv.c.

static av_cold int flashsv_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 82 of file flashsv.c.


Variable Documentation

Initial value:

 {
    "flashsv",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_FLASHSV,
    sizeof(FlashSVContext),
    flashsv_decode_init,
    NULL,
    flashsv_decode_end,
    flashsv_decode_frame,
    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 253 of file flashsv.c.


Generated on Fri Oct 26 02:36:51 2012 for FFmpeg by  doxygen 1.5.8