FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
dnxhddata.h File Reference
#include <stdint.h>
#include "avcodec.h"
#include "libavutil/internal.h"

Go to the source code of this file.

Data Structures

struct  CIDEntry
 

Macros

#define DNXHD_INTERLACED   (1<<0)
 Additional profile info flags. More...
 
#define DNXHD_MBAFF   (1<<1)
 
#define DNXHD_444   (1<<2)
 
#define DNXHD_HEADER_INITIAL   0x000002800100
 Frame headers, extra 0x00 added to end for parser. More...
 
#define DNXHD_HEADER_444   0x000002800200
 
#define DNXHD_HEADER_HR1   0x000002800300
 
#define DNXHD_HEADER_HR2   0x0000038C0300
 
#define DNXHD_VARIABLE   0
 Indicate that a CIDEntry value must be read in the bitstream. More...
 

Functions

int ff_dnxhd_get_cid_table (int cid)
 
int ff_dnxhd_find_cid (AVCodecContext *avctx, int bit_depth)
 
void ff_dnxhd_print_profiles (AVCodecContext *avctx, int loglevel)
 
static av_always_inline uint64_t ff_dnxhd_check_header_prefix (uint64_t prefix)
 
int avpriv_dnxhd_get_frame_size (int cid)
 
int avpriv_dnxhd_get_interlaced (int cid)
 
uint64_t avpriv_dnxhd_parse_header_prefix (const uint8_t *buf)
 

Variables

const CIDEntry ff_dnxhd_cid_table []
 

Macro Definition Documentation

#define DNXHD_INTERLACED   (1<<0)

Additional profile info flags.

Definition at line 30 of file dnxhddata.h.

Referenced by avpriv_dnxhd_get_interlaced(), ff_dnxhd_find_cid(), and ff_dnxhd_print_profiles().

#define DNXHD_MBAFF   (1<<1)

Definition at line 31 of file dnxhddata.h.

Referenced by ff_dnxhd_find_cid().

#define DNXHD_444   (1<<2)

Definition at line 32 of file dnxhddata.h.

Referenced by ff_dnxhd_find_cid().

#define DNXHD_HEADER_INITIAL   0x000002800100

Frame headers, extra 0x00 added to end for parser.

Definition at line 35 of file dnxhddata.h.

Referenced by ff_dnxhd_check_header_prefix().

#define DNXHD_HEADER_444   0x000002800200

Definition at line 36 of file dnxhddata.h.

Referenced by ff_dnxhd_check_header_prefix().

#define DNXHD_HEADER_HR1   0x000002800300

Definition at line 37 of file dnxhddata.h.

Referenced by ff_dnxhd_check_header_prefix().

#define DNXHD_HEADER_HR2   0x0000038C0300

Definition at line 38 of file dnxhddata.h.

Referenced by dnxhd_decode_header(), and ff_dnxhd_check_header_prefix().

#define DNXHD_VARIABLE   0

Indicate that a CIDEntry value must be read in the bitstream.

Definition at line 41 of file dnxhddata.h.

Referenced by dnxhd_decode_header(), and dnxhd_init_vlc().

Function Documentation

int ff_dnxhd_get_cid_table ( int  cid)
int ff_dnxhd_find_cid ( AVCodecContext avctx,
int  bit_depth 
)

Definition at line 1113 of file dnxhddata.c.

Referenced by dnxhd_encode_init().

void ff_dnxhd_print_profiles ( AVCodecContext avctx,
int  loglevel 
)

Definition at line 1139 of file dnxhddata.c.

Referenced by dnxhd_encode_init().

static av_always_inline uint64_t ff_dnxhd_check_header_prefix ( uint64_t  prefix)
static

Definition at line 68 of file dnxhddata.h.

Referenced by avpriv_dnxhd_parse_header_prefix(), and dnxhd_find_frame_end().

int avpriv_dnxhd_get_frame_size ( int  cid)

Definition at line 1090 of file dnxhddata.c.

Referenced by mxf_parse_dnxhd_frame().

int avpriv_dnxhd_get_interlaced ( int  cid)

Definition at line 1098 of file dnxhddata.c.

Referenced by mxf_parse_dnxhd_frame().

uint64_t avpriv_dnxhd_parse_header_prefix ( const uint8_t buf)

Definition at line 1106 of file dnxhddata.c.

Referenced by dnxhd_decode_header(), and dnxhd_probe().

Variable Documentation

const CIDEntry ff_dnxhd_cid_table[]

Definition at line 934 of file dnxhddata.c.

Referenced by dnxhd_encode_init(), and dnxhd_init_vlc().