FFmpeg
Classes | Macros | Typedefs | Variables
dirac_parser.c File Reference

Dirac Parser. More...

#include <string.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "parser.h"

Classes

struct  DiracParseContext
 Find the end of the current frame in the bitstream. More...
 
struct  DiracParseUnit
 

Macros

#define DIRAC_PARSE_INFO_PREFIX   0x42424344
 

Typedefs

typedef struct DiracParseContext DiracParseContext
 Find the end of the current frame in the bitstream. More...
 
typedef struct DiracParseUnit DiracParseUnit
 

Variables

AVCodecParser ff_dirac_parser
 

Detailed Description

Dirac Parser.

Author
Marco Gerards marco.nosp@m.@gnu.nosp@m..org

Typedef Documentation

§ DiracParseContext

Find the end of the current frame in the bitstream.

Returns
the position of the first byte of the next frame or -1

Variable Documentation

§ ff_dirac_parser

AVCodecParser ff_dirac_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_DIRAC },
.priv_data_size = sizeof(DiracParseContext),
.parser_parse = dirac_parse,
.parser_close = dirac_parse_close,
}
struct DiracParseContext DiracParseContext
Find the end of the current frame in the bitstream.