|
xine-lib
1.2.9
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "nal.h"#include <xine/xine_internal.h>Functions | |
| static struct nal_buffer * | create_nal_buffer (uint8_t max_size) |
| static void | free_nal_buffer (struct nal_buffer *nal_buffer) |
| static void | nal_buffer_append (struct nal_buffer *nal_buffer, struct nal_unit *nal) |
| static void | nal_buffer_remove (struct nal_buffer *nal_buffer, struct nal_unit *nal) |
| static struct nal_unit * | nal_buffer_get_last (struct nal_buffer *nal_buffer) |
| static struct nal_unit * | nal_buffer_get_by_sps_id (struct nal_buffer *nal_buffer, uint32_t seq_parameter_set_id) |
| static struct nal_unit * | nal_buffer_get_by_pps_id (struct nal_buffer *nal_buffer, uint32_t pic_parameter_set_id) |
| static struct nal_unit * | create_nal_unit () |
| static void | lock_nal_unit (struct nal_unit *nal) |
| static void | release_nal_unit (struct nal_unit *nal) |
|
static |
References nal_buffer::max_size.
Referenced by init_parser().
|
static |
create a new nal unit, with a lock_counter of 1
References nal_unit::lock_counter.
Referenced by parse_nal_header().
|
static |
destroys a nal buffer. all referenced nals are released
References nal_buffer::first, nal_unit::next, and release_nal_unit().
Referenced by free_parser().
|
static |
References nal_unit::lock_counter.
Referenced by interpret_slice_header(), nal_buffer_append(), and parse_nal().
|
static |
appends a nal unit to the end of the buffer
References nal_buffer::first, nal_buffer::last, lock_nal_unit(), lprintf, nal_buffer::max_size, nal_buffer_remove(), nal_unit::next, NULL, nal_unit::prev, and nal_buffer::used.
Referenced by parse_codec_private(), and parse_nal().
|
static |
get a nal unit from a nal_buffer from it's pic parameter_set_id
References nal_buffer::last, NAL_PPS, nal_unit::nal_unit_type, NULL, pic_parameter_set_rbsp::pic_parameter_set_id, nal_unit::pps, and nal_unit::prev.
Referenced by calculate_pic_order(), interpret_slice_header(), parse_pred_weight_table(), and parse_slice_header().
|
static |
get a nal unit from a nal_buffer from it's seq parameter_set_id
References nal_buffer::last, NAL_SPS, nal_unit::nal_unit_type, NULL, nal_unit::prev, seq_parameter_set_rbsp::seq_parameter_set_id, and nal_unit::sps.
Referenced by calculate_pic_order(), interpret_slice_header(), parse_pred_weight_table(), and parse_slice_header().
|
static |
|
static |
References nal_buffer::first, nal_buffer::last, nal_unit::next, NULL, nal_unit::prev, release_nal_unit(), and nal_buffer::used.
Referenced by nal_buffer_append().
|
static |
References nal_unit::lock_counter.
Referenced by free_coded_picture(), free_nal_buffer(), interpret_slice_header(), nal_buffer_remove(), and parse_nal().
1.8.14