xine-lib  1.2.9
Data Structures | Macros | Enumerations | Functions
h264_parser.h File Reference
#include <stdlib.h>
#include <xine/xine_internal.h>
#include "nal.h"
#include "dpb.h"

Go to the source code of this file.

Data Structures

struct  h264_parser
 

Macros

#define MAX_FRAME_SIZE   1024*1024
 

Enumerations

enum  parser_position { NON_VCL, VCL }
 
enum  parser_flags { CPB_DPB_DELAYS_PRESENT = 0x01, PIC_STRUCT_PRESENT = 0x02 }
 

Functions

static int parse_nal (const uint8_t *buf, int buf_len, struct h264_parser *parser, struct coded_picture **completed_picture)
 
static int seek_for_nal (uint8_t *buf, int buf_len, struct h264_parser *parser)
 
static struct h264_parserinit_parser (xine_t *xine)
 
static void free_parser (struct h264_parser *parser)
 
static int parse_frame (struct h264_parser *parser, const uint8_t *inbuf, int inbuf_len, int64_t pts, const void **ret_buf, uint32_t *ret_len, struct coded_picture **ret_pic)
 
static void process_mmc_operations (struct h264_parser *parser, struct coded_picture *picture)
 
static void parse_codec_private (struct h264_parser *parser, const uint8_t *inbuf, int inbuf_len)
 

Macro Definition Documentation

◆ MAX_FRAME_SIZE

#define MAX_FRAME_SIZE   1024*1024

Enumeration Type Documentation

◆ parser_flags

Enumerator
CPB_DPB_DELAYS_PRESENT 
PIC_STRUCT_PRESENT 

◆ parser_position

Enumerator
NON_VCL 
VCL 

Function Documentation

◆ free_parser()

static void free_parser ( struct h264_parser parser)
static

◆ init_parser()

static struct h264_parser* init_parser ( xine_t xine)
static

◆ parse_codec_private()

static void parse_codec_private ( struct h264_parser parser,
const uint8_t *  inbuf,
int  inbuf_len 
)
static

◆ parse_frame()

static int parse_frame ( struct h264_parser parser,
const uint8_t *  inbuf,
int  inbuf_len,
int64_t  pts,
const void **  ret_buf,
uint32_t *  ret_len,
struct coded_picture **  ret_pic 
)
static

◆ parse_nal()

static int parse_nal ( const uint8_t *  buf,
int  buf_len,
struct h264_parser parser,
struct coded_picture **  completed_picture 
)
static

◆ process_mmc_operations()

static void process_mmc_operations ( struct h264_parser parser,
struct coded_picture picture 
)
static

◆ seek_for_nal()

static int seek_for_nal ( uint8_t *  buf,
int  buf_len,
struct h264_parser parser 
)
static