All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
dirac.c File Reference

Dirac Decoder. More...

#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "dirac.h"
#include "golomb.h"
#include "internal.h"
#include "mpeg12data.h"

Go to the source code of this file.


int av_dirac_parse_sequence_header (AVDiracSeqHeader **pdsh, const uint8_t *buf, size_t buf_size, void *log_ctx)
 Parse a Dirac sequence header. More...

Detailed Description

Dirac Decoder.

Marco Gerards marco.nosp@m.@gnu.nosp@m..org, David Conrad, Jordi Ortiz nenjo.nosp@m.rdi@.nosp@m.gmail.nosp@m..com

Definition in file dirac.c.

Function Documentation

int av_dirac_parse_sequence_header ( AVDiracSeqHeader **  dsh,
const uint8_t buf,
size_t  buf_size,
void log_ctx 

Parse a Dirac sequence header.

dshthis function will allocate and fill an AVDiracSeqHeader struct and write it into this pointer. The caller must free it with av_free().
bufthe data buffer
buf_sizethe size of the data buffer in bytes
log_ctxif non-NULL, this function will log errors here
0 on success, a negative AVERROR code on failure

Definition at line 398 of file dirac.c.

Referenced by dirac_decode_data_unit(), and dirac_header().