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 "avcodec.h"
#include "golomb.h"
#include "h264.h"
#include "internal.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. More...
 
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_arrangement (H264Context *h)
 
static int decode_display_orientation (H264Context *h)
 
int ff_h264_decode_sei (H264Context *h)
 Decode SEI. More...
 
const char * ff_h264_sei_stereo_mode (H264Context *h)
 Get stereo_mode string from the h264 frame_packing_arrangement. More...
 

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 37 of file h264_sei.c.

Referenced by decode_nal_units(), ff_h264_flush_change(), h264_init_context(), 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 192 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

static int decode_frame_packing_arrangement ( H264Context h)
static

Definition at line 228 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

static int decode_display_orientation ( H264Context h)
static

Definition at line 266 of file h264_sei.c.

Referenced by ff_h264_decode_sei().

int ff_h264_decode_sei ( H264Context h)

Decode SEI.

Definition at line 282 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 359 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 33 of file h264_sei.c.

Referenced by decode_picture_timing().