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

H.264 / AVC / MPEG4 part10 sei decoding. More...

#include "internal.h"
#include "avcodec.h"
#include "h264.h"
#include "golomb.h"
#include <assert.h>

Go to the source code of this file.

Functions

void ff_h264_reset_sei (H264Context *h)
 Reset SEI values at the beginning of the frame.
 
static int decode_picture_timing (H264Context *h)
 
static int decode_user_data_itu_t_t35 (H264Context *h, int size)
 
static int decode_unregistered_user_data (H264Context *h, int size)
 
static int decode_recovery_point (H264Context *h)
 
static int decode_buffering_period (H264Context *h)
 
static int decode_frame_packing (H264Context *h, int size)
 
int ff_h264_decode_sei (H264Context *h)
 Decode SEI.
 
const char * ff_h264_sei_stereo_mode (H264Context *h)
 Get stereo_mode string from the h264 frame_packing_arrangement.
 

Variables

static const uint8_t sei_num_clock_ts_table [9]
 

Detailed Description

H.264 / AVC / MPEG4 part10 sei decoding.

Author
Michael Niedermayer micha.nosp@m.elni.nosp@m.@gmx..nosp@m.at

Definition in file h264_sei.c.

Function Documentation

void ff_h264_reset_sei ( H264Context h)

Reset SEI values at the beginning of the frame.

Parameters
hH.264 context.

Definition at line 39 of file h264_sei.c.

Referenced by decode_nal_units(), ff_h264_decode_init(), flush_change(), and parse_nal_units().

static int decode_picture_timing ( H264Context h)
static

Definition at line 47 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

static int decode_user_data_itu_t_t35 ( H264Context h,
int  size 
)
static

Definition at line 111 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

static int decode_unregistered_user_data ( H264Context h,
int  size 
)
static

Definition at line 148 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

static int decode_recovery_point ( H264Context h)
static

Definition at line 175 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

static int decode_buffering_period ( H264Context h)
static

Definition at line 190 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

static int decode_frame_packing ( H264Context h,
int  size 
)
static

Definition at line 226 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

int ff_h264_decode_sei ( H264Context h)

Decode SEI.

Definition at line 264 of file h264_sei.c.

Referenced by decode_nal_units(), and parse_nal_units().

const char* ff_h264_sei_stereo_mode ( H264Context h)

Get stereo_mode string from the h264 frame_packing_arrangement.

Parameters
hH.264 context.

Definition at line 335 of file h264_sei.c.

Referenced by output_frame().

Variable Documentation

const uint8_t sei_num_clock_ts_table[9]
static
Initial value:
= {
1, 1, 1, 2, 2, 3, 3, 2, 3
}

Definition at line 35 of file h264_sei.c.

Referenced by decode_picture_timing().