
Data Structures | |
| struct | slice_t |
| struct | decoder_sys_t |
Defines | |
| #define | SPS_MAX (32) |
| #define | PPS_MAX (256) |
| #define | BLOCK_FLAG_PRIVATE_AUD (1 << BLOCK_FLAG_PRIVATE_SHIFT) |
Enumerations | |
| enum | nal_unit_type_e { NAL_UNKNOWN = 0, NAL_SLICE = 1, NAL_SLICE_DPA = 2, NAL_SLICE_DPB = 3, NAL_SLICE_DPC = 4, NAL_SLICE_IDR = 5, NAL_SEI = 6, NAL_SPS = 7, NAL_PPS = 8, NAL_AU_DELIMITER = 9 } |
| enum | nal_priority_e { NAL_PRIORITY_DISPOSABLE = 0, NAL_PRIORITY_LOW = 1, NAL_PRIORITY_HIGH = 2, NAL_PRIORITY_HIGHEST = 3 } |
Functions | |
| static int | Open (vlc_object_t *) |
| Probes and initializes. | |
| static void | Close (vlc_object_t *) |
| Releases resources. | |
| int | vlc_entry__main (module_t *p_module) |
| const char * | vlc_entry_license__main (void) |
| static block_t * | Packetize (decoder_t *, block_t **) |
| static block_t * | PacketizeAVC1 (decoder_t *, block_t **) |
| static block_t * | GetCc (decoder_t *p_dec, bool pb_present[4]) |
| static void | PacketizeReset (void *p_private, bool b_broken) |
| static block_t * | PacketizeParse (void *p_private, bool *pb_ts_used, block_t *) |
| static int | PacketizeValidate (void *p_private, block_t *) |
| static block_t * | ParseNALBlock (decoder_t *, bool *pb_used_ts, block_t *) |
| static block_t * | CreateAnnexbNAL (decoder_t *, const uint8_t *p, int) |
| static block_t * | OutputPicture (decoder_t *p_dec) |
| static void | PutSPS (decoder_t *p_dec, block_t *p_frag) |
| static void | PutPPS (decoder_t *p_dec, block_t *p_frag) |
| static void | ParseSlice (decoder_t *p_dec, bool *pb_new_picture, slice_t *p_slice, int i_nal_ref_idc, int i_nal_type, const block_t *p_frag) |
| static void | ParseSei (decoder_t *, block_t *) |
| static void | CreateDecodedNAL (uint8_t **pp_ret, int *pi_ret, const uint8_t *src, int i_src) |
| static int | bs_read_ue (bs_t *s) |
| static int | bs_read_se (bs_t *s) |
Variables | |
| static const uint8_t | p_h264_startcode [3] = { 0x00, 0x00, 0x01 } |
| #define BLOCK_FLAG_PRIVATE_AUD (1 << BLOCK_FLAG_PRIVATE_SHIFT) |
Referenced by OutputPicture(), and ParseNALBlock().
| #define PPS_MAX (256) |
| #define SPS_MAX (32) |
| enum nal_priority_e |
| enum nal_unit_type_e |
| static int bs_read_se | ( | bs_t * | s | ) | [inline, static] |
| static int bs_read_ue | ( | bs_t * | s | ) | [inline, static] |
References bs_read(), bs_read1(), bs_s::p, and bs_s::p_end.
Referenced by bs_read_se(), ParseSlice(), PutPPS(), and PutSPS().
| static void Close | ( | vlc_object_t * | p_this | ) | [static] |
Releases resources.
Close the module.
Destroys the X11 window.
Disconnect from the X server.
Close a SDL video output.
It destroys an OpenGL vout display.
Terminate a vout display created by Open.
It destroyes a Direct3D vout display.
Terminate an output method created by Open.
Release the drawable.
Close a libcaca video output.
Close a aa video output method.
Close the filter.
Terminate a splitter module.
This function closes a clone video splitter module.
Common close function.
Releases allocate resources.
Close: Destructor.
| p_this | pointer to this filter object | |
| p_this,: | the filter object |
| static void CreateDecodedNAL | ( | uint8_t ** | pp_ret, | |
| int * | pi_ret, | |||
| const uint8_t * | src, | |||
| int | i_src | |||
| ) | [static] |
References cc_data_t::b_reorder, BLOCK_FLAG_TYPE_MASK, BLOCK_FLAG_TYPE_P, block_New, decoder_sys_t::cc, cc_Flush(), decoder_sys_t::i_cc_dts, decoder_sys_t::i_cc_flags, decoder_sys_t::i_cc_pts, cc_data_t::i_data, block_t::i_dts, block_t::i_flags, block_t::i_pts, block_t::p_buffer, cc_data_t::p_data, decoder_t::p_sys, and cc_data_t::pb_present.
| static int Open | ( | vlc_object_t * | p_this | ) | [static] |
Probes and initializes.
Status of this demuxer: Real Media format -----------------.
Basic chorus/flanger/delay audio filter This implements a variable delay filter for VLC.
Todo:
Open the module.
Create an X11 window.
Probe the X server.
This function initializes SDL vout method.
It creates an OpenGL vout display.
This function allocates and initialize the DirectX vout display.
It creates a Direct3D vout display.
This function allocates and initializes a FB vout method.
Find the drawable set by libvlc application.
This function initializes libcaca vout method.
This function allocates and initializes a aa vout method.
This function allocates and initializes a Wall splitter module.
Open the filter.
This function allocates and initializes a Clone splitter module.
Open: initialize and create stuff.
Connect to the sftp server and ask for a file.
| p_this,: | the vlc_object |
| p_this | ||
| p_this,: | the filter object |
References decoder_sys_t::b_frame_pps, decoder_sys_t::b_frame_sps, decoder_sys_t::b_header, decoder_sys_t::b_pps, decoder_sys_t::b_slice, decoder_sys_t::b_sps, block_ChainAppend(), block_ChainGather(), block_Duplicate(), BLOCK_FLAG_PRIVATE_AUD, BLOCK_FLAG_TYPE_I, decoder_sys_t::cc, cc_Flush(), decoder_sys_t::cc_next, decoder_sys_t::i_cc_dts, decoder_sys_t::i_cc_flags, decoder_sys_t::i_cc_pts, block_t::i_dts, block_t::i_flags, decoder_sys_t::i_frame_dts, decoder_sys_t::i_frame_pts, slice_t::i_frame_type, block_t::i_length, block_t::i_pts, decoder_sys_t::p_frame, block_t::p_next, decoder_t::p_sys, decoder_sys_t::pp_pps, decoder_sys_t::pp_sps, decoder_sys_t::slice, and VLC_TS_INVALID.
Referenced by ParseNALBlock().
References decoder_t::p_sys, decoder_sys_t::packetizer, and packetizer_Packetize().
References block_t::i_buffer, block_t::p_buffer, and ParseNALBlock().
| static void PacketizeReset | ( | void * | p_private, | |
| bool | b_broken | |||
| ) | [static] |
| static int PacketizeValidate | ( | void * | p_private, | |
| block_t * | p_au | |||
| ) | [static] |
References VLC_SUCCESS, and VLC_UNUSED.
References decoder_sys_t::b_frame_pps, decoder_sys_t::b_frame_sps, decoder_sys_t::b_pps, decoder_sys_t::b_slice, decoder_sys_t::b_sps, block_ChainAppend(), block_ChainRelease(), BLOCK_FLAG_PRIVATE_AUD, block_Release(), cc_Flush(), decoder_sys_t::cc_next, block_t::i_dts, block_t::i_flags, decoder_sys_t::i_frame_dts, decoder_sys_t::i_frame_pts, slice_t::i_frame_type, block_t::i_pts, msg_Warn, NAL_AU_DELIMITER, NAL_PPS, NAL_SEI, NAL_SLICE, NAL_SLICE_IDR, NAL_SPS, OutputPicture(), block_t::p_buffer, decoder_sys_t::p_frame, decoder_t::p_sys, ParseSei(), ParseSlice(), PutPPS(), PutSPS(), decoder_sys_t::slice, and VLC_TS_INVALID.
Referenced by PacketizeAVC1(), and PacketizeParse().
References cc_Extract(), decoder_sys_t::cc_next, CreateDecodedNAL(), block_t::i_buffer, i_type, block_t::p_buffer, and decoder_t::p_sys.
Referenced by ParseNALBlock().
| static void ParseSlice | ( | decoder_t * | p_dec, | |
| bool * | pb_new_picture, | |||
| slice_t * | p_slice, | |||
| int | i_nal_ref_idc, | |||
| int | i_nal_type, | |||
| const block_t * | p_frag | |||
| ) | [static] |
References __MIN, decoder_sys_t::b_frame_mbs_only, BLOCK_FLAG_TYPE_B, BLOCK_FLAG_TYPE_I, BLOCK_FLAG_TYPE_P, bs_init(), bs_read(), bs_read_se(), bs_read_ue(), CreateDecodedNAL(), slice_t::i_bottom_field_flag, block_t::i_buffer, decoder_sys_t::i_delta_pic_order_always_zero_flag, slice_t::i_delta_pic_order_cnt0, slice_t::i_delta_pic_order_cnt1, slice_t::i_delta_pic_order_cnt_bottom, slice_t::i_field_pic_flag, slice_t::i_frame_num, slice_t::i_frame_type, slice_t::i_idr_pic_id, decoder_sys_t::i_log2_max_frame_num, decoder_sys_t::i_log2_max_pic_order_cnt_lsb, slice_t::i_nal_ref_idc, slice_t::i_nal_type, slice_t::i_pic_order_cnt_lsb, decoder_sys_t::i_pic_order_cnt_type, decoder_sys_t::i_pic_order_present_flag, slice_t::i_pic_parameter_set_id, NAL_SLICE_IDR, block_t::p_buffer, decoder_t::p_sys, and decoder_sys_t::slice.
Referenced by ParseNALBlock().
References decoder_sys_t::b_pps, block_Release(), bs_init(), bs_read(), bs_read_ue(), bs_skip(), block_t::i_buffer, decoder_sys_t::i_pic_order_present_flag, msg_Dbg, msg_Warn, block_t::p_buffer, decoder_t::p_sys, and decoder_sys_t::pp_pps.
Referenced by ParseNALBlock().
References decoder_sys_t::b_frame_mbs_only, decoder_sys_t::b_sps, block_Release(), bs_init(), bs_read(), bs_read_se(), bs_read_ue(), bs_skip(), CreateDecodedNAL(), decoder_t::fmt_out, block_t::i_buffer, decoder_sys_t::i_delta_pic_order_always_zero_flag, video_format_t::i_height, es_format_t::i_level, decoder_sys_t::i_log2_max_frame_num, decoder_sys_t::i_log2_max_pic_order_cnt_lsb, decoder_sys_t::i_pic_order_cnt_type, es_format_t::i_profile, video_format_t::i_sar_den, video_format_t::i_sar_num, video_format_t::i_width, msg_Dbg, msg_Warn, block_t::p_buffer, decoder_t::p_sys, decoder_sys_t::pp_sps, and es_format_t::video.
Referenced by ParseNALBlock().
| int vlc_entry__main | ( | module_t * | p_module | ) |
| const char* vlc_entry_license__main | ( | void | ) |
const uint8_t p_h264_startcode[3] = { 0x00, 0x00, 0x01 } [static] |
1.5.6