xine-lib 1.2.11
|
Macros | |
#define | MAX_DPB_SIZE 16 |
#define | MIN_BUFFER_SIZE 10000 |
#define | MAX_BUFFER_SIZE 3145728 |
#define | NAL_UNSPECIFIED 0 |
#define | NAL_SLICE_NO_IDR 1 |
#define | NAL_SLICE_IDR 5 |
#define | NAL_SEI 6 |
#define | NAL_SEQUENCE 7 |
#define | NAL_PICTURE 8 |
#define | NAL_ACCES 9 |
#define | NAL_END_SEQUENCE 10 |
#define | NAL_END_STREAM 11 |
#define | NAL_SEQUENCE_EXT 13 |
#define | SLICE_TYPE_P 0 |
#define | SLICE_TYPE_B 1 |
#define | SLICE_TYPE_I 2 |
#define | SLICE_TYPE_SP 3 |
#define | SLICE_TYPE_SI 4 |
#define | START_IDR_FLAG 1000 |
#define | MAX_POC 2147483647 |
#define | DPB_DRAW_CLEAR 1 |
#define | DPB_DRAW_REFS 2 |
#define | DPB_DRAW_CURRENT 3 |
Variables | |
static const uint8_t | zigzag_4x4 [16] |
static const uint8_t | zigzag_8x8 [64] |
static const uint8_t | default_4x4_intra [16] |
static const uint8_t | default_4x4_inter [16] |
static const uint8_t | default_8x8_intra [64] |
static const uint8_t | default_8x8_inter [64] |
#define DPB_DRAW_CLEAR 1 |
#define DPB_DRAW_CURRENT 3 |
#define DPB_DRAW_REFS 2 |
#define MAX_BUFFER_SIZE 3145728 |
#define MAX_DPB_SIZE 16 |
#define MAX_POC 2147483647 |
#define MIN_BUFFER_SIZE 10000 |
#define NAL_ACCES 9 |
#define NAL_END_SEQUENCE 10 |
#define NAL_END_STREAM 11 |
#define NAL_PICTURE 8 |
#define NAL_SEI 6 |
#define NAL_SEQUENCE 7 |
#define NAL_SEQUENCE_EXT 13 |
#define NAL_SLICE_IDR 5 |
#define NAL_SLICE_NO_IDR 1 |
#define NAL_UNSPECIFIED 0 |
#define SLICE_TYPE_B 1 |
#define SLICE_TYPE_I 2 |
#define SLICE_TYPE_P 0 |
#define SLICE_TYPE_SI 4 |
#define SLICE_TYPE_SP 3 |
#define START_IDR_FLAG 1000 |
|
static |
References vo_frame_s::bad_frame, dpb_frame_t::BottomFieldOrderCnt, sequence_t::cur_pic, sequence_t::dpb, dpb_frame_t::field_pic_flag, dpb_frame_t::is_reference, seq_param_t::num_ref_frames, sequence_t::pic_param, sequence_t::seq_param, vdpau_mpeg12_decoder_s::sequence, sequence_t::slice_param, SLICE_TYPE_B, SLICE_TYPE_I, sequence_t::startup_frame, dpb_frame_t::TopFieldOrderCnt, dpb_frame_t::used, and dpb_frame_t::videoSurface.
Referenced by decode_picture().
|
static |
References vo_frame_s::accel_data, sequence_t::cur_pic, sequence_t::dpb, dpb_draw_frames(), DPB_DRAW_REFS, dpb_get_prev_ref(), dpb_remove(), dpb_frame_t::FrameNumWrap, dpb_frame_t::is_reference, lprintf, MAX_DPB_SIZE, MAX_POC, NULL, sequence_t::pic_param, sequence_t::seq_param, vdpau_mpeg12_decoder_s::sequence, sequence_t::slice_param, and dpb_frame_t::used.
Referenced by decode_picture().
|
static |
References sequence_t::br, dpb_frame_t::completed, sequence_t::cur_pic, dpb_mmc1(), dpb_frame_t::field_pic_flag, dpb_frame_t::is_reference, lprintf, bits_reader_t::oflow, dpb_frame_t::PicNum, PICTURE_DONE, read_bits(), read_exp_ue(), vdpau_mpeg12_decoder_s::sequence, SHORT_TERM_REF, and skip_bits().
Referenced by slice_header_post().
|
static |
|
static |
References slice_param_t::bottom_field_flag, dpb_frame_t::BottomFieldOrderCnt, check_ref_list(), dpb_frame_t::completed, sequence_t::cur_pic, dbp_append(), decode_picnum(), decode_poc(), decode_render(), DPB_DRAW_CLEAR, DPB_DRAW_CURRENT, dpb_draw_frames(), DPB_DRAW_REFS, dpb_reset(), slice_param_t::field_pic_flag, dpb_frame_t::field_pic_flag, slice_param_t::frame_num, dpb_frame_t::FrameNum, dpb_frame_t::is_reference, lprintf, MAX_POC, dpb_frame_t::missing_header, slice_param_t::nal_unit_type, sequence_t::pic_param, slice_param_t::pic_parameter_set_id, PICTURE_BOTTOM_DONE, PICTURE_DONE, PICTURE_TOP_DONE, ref_pic_list_reordering(), vdpau_mpeg12_decoder_s::sequence, slice_header_post(), sequence_t::slice_param, sequence_t::slices_count, START_IDR_FLAG, sequence_t::startup_frame, and dpb_frame_t::TopFieldOrderCnt.
Referenced by vdpau_h264_alter_decode_data().
|
static |
References dpb_frame_t::BottomFieldOrderCnt, dpb_frame_t::completed, sequence_t::cur_pic, dpb_get_prev_ref(), dpb_frame_t::field_pic_flag, dpb_frame_t::FrameNum, dpb_frame_t::is_reference, dpb_frame_t::mmc5, NAL_SLICE_IDR, dpb_frame_t::pic_order_cnt_lsb, sequence_t::pic_param, dpb_frame_t::PicOrderCntMsb, PICTURE_BOTTOM_DONE, PICTURE_DONE, PICTURE_TOP_DONE, sequence_t::prevFrameNum, sequence_t::prevFrameNumOffset, sequence_t::prevMMC5, sequence_t::seq_param, vdpau_mpeg12_decoder_s::sequence, sequence_t::slice_param, dpb_frame_t::top_field_first, dpb_frame_t::TopFieldOrderCnt, and dpb_frame_t::used.
Referenced by decode_picture().
|
static |
References _x_meta_info_set_utf8(), _x_stream_info_set(), vo_frame_s::accel_data, sequence_t::accel_vdpau, xine_format_change_data_t::aspect, slice_param_t::bottom_field_flag, dpb_frame_t::BottomFieldOrderCnt, sequence_t::buf, slice_t::buf_offset, CAST_VdpPictureInfo_PTR, sequence_t::chroma, pic_param_t::chroma_qp_index_offset, sequence_t::coded_height, sequence_t::coded_width, sequence_t::color_matrix, dpb_frame_t::completed, pic_param_t::constrained_intra_pred_flag, sequence_t::cur_pic, vdpau_accel_t::current_vdp_runtime_nr, pic_param_t::deblocking_filter_control_present_flag, vdpau_mpeg12_decoder_s::decoder, vdpau_mpeg12_decoder_s::decoder_height, vdpau_mpeg12_decoder_s::decoder_profile, vdpau_mpeg12_decoder_s::decoder_width, seq_param_t::delta_pic_order_always_zero_flag, seq_param_t::direct_8x8_inference_flag, sequence_t::dpb, dpb_frame_t::drop_pts, pic_param_t::entropy_coding_mode_flag, slice_param_t::field_pic_flag, dpb_frame_t::field_pic_flag, seq_param_t::frame_mbs_only_flag, slice_param_t::frame_num, dpb_frame_t::FrameNum, xine_video_port_s::get_frame, xine_format_change_data_t::height, dpb_frame_t::is_reference, slice_t::len, vdpau_accel_t::lock, seq_param_t::log2_max_frame_num_minus4, seq_param_t::log2_max_pic_order_cnt_lsb_minus4, lprintf, MAX_DPB_SIZE, seq_param_t::mb_adaptive_frame_field_flag, slice_param_t::nal_ref_idc, seq_param_t::num_ref_frames, pic_param_t::num_ref_idx_l0_active_minus1, pic_param_t::num_ref_idx_l1_active_minus1, pic_param_t::pic_init_qp_minus26, seq_param_t::pic_order_cnt_type, pic_param_t::pic_order_present_flag, sequence_t::pic_param, slice_param_t::pic_parameter_set_id, sequence_t::pic_pts, pic_param_t::pic_scaling_matrix_present_flag, PICTURE_DONE, sequence_t::profile, dpb_frame_t::pts, sequence_t::ratio, pic_param_t::redundant_pic_cnt_present_flag, sequence_t::reported_coded_height, sequence_t::reported_coded_width, sequence_t::reported_ratio, sequence_t::reported_video_step, sequence_t::reset, seq_param_t::scaling_lists_4x4, pic_param_t::scaling_lists_4x4, seq_param_t::scaling_lists_8x8, pic_param_t::scaling_lists_8x8, pic_param_t::second_chroma_qp_index_offset, sequence_t::seq_param, pic_param_t::seq_parameter_set_id, vdpau_mpeg12_decoder_s::sequence, sequence_t::slice_param, sequence_t::slices, sequence_t::slices_count, vdpau_mpeg12_decoder_s::stream, vdpau_accel_t::surface, dpb_frame_t::TopFieldOrderCnt, pic_param_t::transform_8x8_mode_flag, vdpau_accel_t::unlock, dpb_frame_t::used, vdpau_accel_t::vdp_decoder_create, vdpau_accel_t::vdp_decoder_destroy, vdpau_accel_t::vdp_decoder_render, vdpau_accel_t::vdp_device, vdpau_accel_t::vdp_get_error_string, sequence_t::vdp_runtime_nr, vdpau_accel_t::vdp_runtime_nr, xine_stream_s::video_out, sequence_t::video_step, dpb_frame_t::videoSurface, VO_BOTH_FIELDS, vdpau_accel_t::vo_frame, pic_param_t::weighted_bipred_idc, pic_param_t::weighted_pred_flag, xine_format_change_data_t::width, XINE_EVENT_FRAME_FORMAT_CHANGE, xine_event_send(), xine_fast_memcpy, XINE_IMGFMT_VDPAU, XINE_META_INFO_VIDEOCODEC, XINE_STREAM_INFO_FRAME_DURATION, XINE_STREAM_INFO_VIDEO_HEIGHT, XINE_STREAM_INFO_VIDEO_RATIO, and XINE_STREAM_INFO_VIDEO_WIDTH.
Referenced by decode_picture().
|
static |
References sequence_t::cur_pic, sequence_t::dpb, dpb_frame_t::drop_pts, MAX_DPB_SIZE, dpb_frame_t::pts, and dpb_frame_t::used.
Referenced by vdpau_h264_alter_discontinuity().
|
static |
References sequence_t::cur_pic, sequence_t::dpb, DPB_DRAW_CLEAR, DPB_DRAW_CURRENT, dpb_remove(), dpb_reset(), MAX_DPB_SIZE, vo_frame_s::pts, vdpau_mpeg12_decoder_s::sequence, vdpau_mpeg12_decoder_s::stream, dpb_frame_t::TopFieldOrderCnt, and dpb_frame_t::videoSurface.
Referenced by dbp_append(), decode_picture(), dpb_mmc1(), vdpau_h264_alter_decode_data(), and vdpau_h264_alter_flush().
|
static |
References sequence_t::dpb, MAX_DPB_SIZE, dpb_frame_t::PicNum, and dpb_frame_t::used.
Referenced by dpb_mmc1().
|
static |
References sequence_t::dpb, MAX_DPB_SIZE, NULL, and dpb_frame_t::used.
Referenced by dbp_append(), and decode_poc().
|
static |
|
static |
|
static |
References sequence_t::dpb, vo_frame_s::free, lprintf, MAX_DPB_SIZE, dpb_frame_t::used, and dpb_frame_t::videoSurface.
Referenced by dbp_append(), dpb_draw_frames(), and dpb_mmc1().
|
static |
References sequence_t::cur_pic, sequence_t::dpb, vo_frame_s::free, dpb_frame_t::is_reference, MAX_DPB_SIZE, and dpb_frame_t::videoSurface.
Referenced by decode_picture(), dpb_draw_frames(), and reset_sequence().
|
static |
References sequence_t::buf, sequence_t::bufpos, sequence_t::bufseek, sequence_t::bufsize, lprintf, MIN_BUFFER_SIZE, reset_slices(), sequence_t::start, and xine_fast_memcpy.
Referenced by vdpau_h264_alter_decode_data().
void * h264_alter_init_plugin | ( | xine_t * | xine, |
const void * | data | ||
) |
References N_, NULL, open_plugin(), and video_decoder_class_s::open_plugin.
|
static |
References vo_frame_s::accel_data, vo_frame_s::free, xine_video_port_s::get_frame, vdpau_accel_t::lock, MIN_BUFFER_SIZE, NULL, xine_video_port_s::open, reset_sequence(), vdpau_accel_t::unlock, vdpau_accel_t::vdp_decoder_create, vdpau_accel_t::vdp_decoder_destroy, vdpau_accel_t::vdp_device, vdpau_accel_t::vdp_runtime_nr, vdpau_h264_alter_decode_data(), vdpau_h264_alter_discontinuity(), vdpau_h264_alter_dispose(), vdpau_h264_alter_flush(), vdpau_h264_alter_reset(), xine_stream_s::video_out, VO_BOTH_FIELDS, VO_CAP_VDPAU_H264, vdpau_accel_t::vo_frame, VO_GET_FRAME_MAY_FAIL, VO_NEW_SEQUENCE_FLAG, and XINE_IMGFMT_VDPAU.
Referenced by h264_alter_init_plugin().
|
static |
|
static |
References default_4x4_inter, default_4x4_intra, default_8x8_inter, default_8x8_intra, read_exp_se(), zigzag_4x4, and zigzag_8x8.
Referenced by pic_parameter_set(), and seq_parameter_set_data().
|
static |
References bits_reader_set(), sequence_t::br, sequence_t::buf, slice_t::buf_offset, slice_t::len, lprintf, NAL_END_SEQUENCE, NAL_PICTURE, NAL_SEQUENCE, NAL_SLICE_IDR, NAL_SLICE_NO_IDR, pic_parameter_set(), read_bits(), seq_parameter_set_data(), vdpau_mpeg12_decoder_s::sequence, skip_bits(), slice_header(), sequence_t::slice_mode, sequence_t::slices, and sequence_t::slices_count.
Referenced by vdpau_h264_alter_decode_data().
|
static |
References sequence_t::br, bits_reader_t::buffer, bits_reader_t::length, lprintf, more_rbsp_data(), parse_scaling_list(), sequence_t::pic_param, read_bits(), read_exp_se(), read_exp_ue(), scaling_list_fallback_A(), scaling_list_fallback_B(), sequence_t::seq_param, vdpau_mpeg12_decoder_s::sequence, and bits_reader_t::start.
Referenced by parse_codec_private(), and parse_startcodes().
|
static |
References sequence_t::br, read_bits(), read_exp_se(), read_exp_ue(), vdpau_mpeg12_decoder_s::sequence, slice_type(), and SLICE_TYPE_B.
Referenced by slice_header_post().
|
static |
References sequence_t::br, bits_reader_t::oflow, read_bits(), read_exp_ue(), vdpau_mpeg12_decoder_s::sequence, sequence_t::slice_param, SLICE_TYPE_B, SLICE_TYPE_I, and SLICE_TYPE_SI.
Referenced by decode_picture().
|
static |
References sequence_t::bufpos, sequence_t::bufseek, sequence_t::chroma, sequence_t::cur_pic, dpb_reset(), sequence_t::pic_pts, sequence_t::prevFrameNum, sequence_t::prevFrameNumOffset, sequence_t::prevMMC5, sequence_t::reset, reset_slices(), sequence_t::start, sequence_t::startup_frame, and VO_NEW_SEQUENCE_FLAG.
Referenced by open_plugin(), vdpau_h264_alter_decode_data(), vdpau_h264_alter_dispose(), and vdpau_h264_alter_reset().
|
static |
References sequence_t::slice_mode, and sequence_t::slices_count.
Referenced by flush_buffer(), reset_sequence(), and vdpau_h264_alter_decode_data().
|
static |
References default_4x4_inter, default_4x4_intra, default_8x8_inter, default_8x8_intra, zigzag_4x4, and zigzag_8x8.
Referenced by pic_parameter_set(), and seq_parameter_set_data().
|
static |
References seq_param_t::scaling_lists_4x4, pic_param_t::scaling_lists_4x4, seq_param_t::scaling_lists_8x8, and pic_param_t::scaling_lists_8x8.
Referenced by pic_parameter_set().
|
static |
References sequence_t::br, sequence_t::coded_height, sequence_t::coded_width, lprintf, parse_scaling_list(), sequence_t::profile, seq_param_t::profile_idc, read_bits(), read_exp_se(), read_exp_ue(), scaling_list_fallback_A(), sequence_t::seq_param, vdpau_mpeg12_decoder_s::sequence, set_ratio(), skip_bits(), and vui_parameters().
Referenced by parse_codec_private(), and parse_startcodes().
|
static |
References ASPECT_10_11, ASPECT_12_11, ASPECT_15_11, ASPECT_160_99, ASPECT_16_11, ASPECT_18_11, ASPECT_1_1, ASPECT_20_11, ASPECT_24_11, ASPECT_2_1, ASPECT_32_11, ASPECT_3_2, ASPECT_40_33, ASPECT_4_3, ASPECT_64_33, ASPECT_80_33, ASPECT_EXTENDED_SAR, vui_param_t::aspect_ratio_idc, vui_param_t::aspect_ratio_info, sequence_t::coded_height, sequence_t::coded_width, sequence_t::mode_frame, sequence_t::ratio, vui_param_t::sar_height, vui_param_t::sar_width, and seq_param_t::vui.
Referenced by seq_parameter_set_data().
|
static |
References sequence_t::br, dpb_frame_t::completed, sequence_t::cur_pic, lprintf, dpb_frame_t::missing_header, NAL_SLICE_IDR, sequence_t::pic_param, read_bits(), read_exp_se(), read_exp_ue(), sequence_t::seq_param, vdpau_mpeg12_decoder_s::sequence, skip_bits(), sequence_t::slice_param, SLICE_TYPE_B, SLICE_TYPE_I, SLICE_TYPE_P, SLICE_TYPE_SP, and sequence_t::startup_frame.
Referenced by parse_startcodes().
|
static |
References seq_param_t::chroma_format_idc, dec_ref_pic_marking(), sequence_t::pic_param, pred_weight_table(), seq_param_t::separate_colour_plane_flag, sequence_t::seq_param, pic_param_t::seq_parameter_set_id, vdpau_mpeg12_decoder_s::sequence, sequence_t::slice_param, SLICE_TYPE_B, SLICE_TYPE_P, SLICE_TYPE_SP, pic_param_t::weighted_bipred_idc, and pic_param_t::weighted_pred_flag.
Referenced by decode_picture().
|
static |
References xine_bmiheader::biHeight, xine_bmiheader::biSize, xine_bmiheader::biWidth, sequence_t::buf, BUF_FLAG_ASPECT, BUF_FLAG_FRAME_END, BUF_FLAG_FRAME_START, BUF_FLAG_FRAMERATE, BUF_FLAG_SPECIAL, BUF_FLAG_STDHEADER, BUF_SPECIAL_DECODER_CONFIG, sequence_t::bufpos, sequence_t::bufseek, sequence_t::bufsize, sequence_t::coded_height, sequence_t::coded_width, buf_element_s::content, decode_picture(), buf_element_s::decoder_flags, buf_element_s::decoder_info, buf_element_s::decoder_info_ptr, DPB_DRAW_CLEAR, dpb_draw_frames(), dpb_print(), sequence_t::flag_header, flush_buffer(), sequence_t::frame_header_size, lprintf, MAX_BUFFER_SIZE, MAX_POC, MIN_BUFFER_SIZE, sequence_t::mode_frame, NAL_END_SEQUENCE, NAL_SLICE_IDR, NAL_SLICE_NO_IDR, parse_codec_private(), parse_startcodes(), sequence_t::pic_pts, buf_element_s::pts, sequence_t::ratio, reset_sequence(), reset_slices(), buf_element_s::size, sequence_t::slice_mode, sequence_t::start, sequence_t::video_step, and xine_fast_memcpy.
Referenced by open_plugin().
|
static |
References dpb_clear_all_pts(), lprintf, and VO_NEW_SEQUENCE_FLAG.
Referenced by open_plugin().
|
static |
References lprintf, MAX_DPB_SIZE, and reset_sequence().
Referenced by open_plugin().
|
static |
References dpb_draw_frames(), DPB_DRAW_REFS, lprintf, and MAX_POC.
Referenced by open_plugin().
|
static |
References lprintf, and reset_sequence().
Referenced by open_plugin().
|
static |
References vui_param_t::aspect_ratio_idc, vui_param_t::aspect_ratio_info, sequence_t::br, sequence_t::color_matrix, vui_param_t::colour_desc, lprintf, vui_param_t::num_units_in_tick, read_bits(), read_exp_ue(), vui_param_t::sar_height, vui_param_t::sar_width, skip_bits(), vui_param_t::time_scale, vui_param_t::timing_info, sequence_t::video_step, and VO_SET_FLAGS_CM.
Referenced by seq_parameter_set_data().
|
static |
Referenced by parse_scaling_list(), and scaling_list_fallback_A().
|
static |
Referenced by parse_scaling_list(), and scaling_list_fallback_A().
|
static |
Referenced by parse_scaling_list(), and scaling_list_fallback_A().
|
static |
Referenced by parse_scaling_list(), and scaling_list_fallback_A().
|
static |
Referenced by parse_scaling_list(), and scaling_list_fallback_A().
|
static |
Referenced by parse_scaling_list(), and scaling_list_fallback_A().