libavcodec/dnxhd_parser.c File Reference

DNxHD/VC-3 parser. More...

#include "parser.h"

Go to the source code of this file.

Data Structures

struct  DNXHDParserContext

Defines

#define DNXHD_HEADER_PREFIX   0x000002800100

Functions

static int dnxhd_find_frame_end (DNXHDParserContext *dctx, const uint8_t *buf, int buf_size)
static int dnxhd_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)

Variables

AVCodecParser ff_dnxhd_parser


Detailed Description

DNxHD/VC-3 parser.

Definition in file dnxhd_parser.c.


Define Documentation

#define DNXHD_HEADER_PREFIX   0x000002800100

Definition at line 29 of file dnxhd_parser.c.

Referenced by dnxhd_find_frame_end().


Function Documentation

static int dnxhd_find_frame_end ( DNXHDParserContext dctx,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 37 of file dnxhd_parser.c.

Referenced by dnxhd_parse().

static int dnxhd_parse ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int poutbuf_size,
const uint8_t buf,
int  buf_size 
) [static]

Definition at line 87 of file dnxhd_parser.c.


Variable Documentation

Initial value:

 {
    .codec_ids      = { AV_CODEC_ID_DNXHD },
    .priv_data_size = sizeof(DNXHDParserContext),
    .parser_parse   = dnxhd_parse,
    .parser_close   = ff_parse_close,
}

Definition at line 111 of file dnxhd_parser.c.


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