libavcodec/samidec.c File Reference

SAMI subtitle decoder. More...

#include "ass.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"

Go to the source code of this file.

Data Structures

struct  SAMIContext

Functions

static int sami_paragraph_to_ass (AVCodecContext *avctx, const char *src)
static int sami_decode_frame (AVCodecContext *avctx, void *data, int *got_sub_ptr, AVPacket *avpkt)
static av_cold int sami_init (AVCodecContext *avctx)
static av_cold int sami_close (AVCodecContext *avctx)

Variables

AVCodec ff_sami_decoder


Detailed Description

SAMI subtitle decoder.

See also:
http://msdn.microsoft.com/en-us/library/ms971327.aspx

Definition in file samidec.c.


Function Documentation

static av_cold int sami_close ( AVCodecContext avctx  )  [static]

Definition at line 140 of file samidec.c.

static int sami_decode_frame ( AVCodecContext avctx,
void *  data,
int got_sub_ptr,
AVPacket avpkt 
) [static]

Definition at line 114 of file samidec.c.

static av_cold int sami_init ( AVCodecContext avctx  )  [static]

Definition at line 131 of file samidec.c.

static int sami_paragraph_to_ass ( AVCodecContext avctx,
const char *  src 
) [static]

Definition at line 37 of file samidec.c.

Referenced by sami_decode_frame().


Variable Documentation

Initial value:

 {
    .name           = "sami",
    .long_name      = NULL_IF_CONFIG_SMALL("SAMI subtitle"),
    .type           = AVMEDIA_TYPE_SUBTITLE,
    .id             = AV_CODEC_ID_SAMI,
    .priv_data_size = sizeof(SAMIContext),
    .init           = sami_init,
    .close          = sami_close,
    .decode         = sami_decode_frame,
}

Definition at line 149 of file samidec.c.


Generated on Fri Oct 26 02:50:07 2012 for FFmpeg by  doxygen 1.5.8