xine-lib 1.2.13-20230125hg15249
|
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include <xine/xine_internal.h>
#include <xine/video_out.h>
#include <xine/buffer.h>
#include <xine/xineutils.h>
#include "accel_vdpau.h"
#include <vdpau/vdpau.h>
#include "group_vdpau.h"
#include "vdec_hw_h264.h"
Data Structures | |
struct | vdpau_h264_alter_decoder_t |
Macros | |
#define | LOG_MODULE "vdpau_h264" |
#define LOG_MODULE "vdpau_h264" |
|
static |
References LOG_MODULE, user_data(), VDEC_HW_H264_LOGG_ERR, VDEC_HW_H264_LOGG_INFO, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
void * h264_alter_init_plugin | ( | xine_t * | xine, |
const void * | data ) |
References video_decoder_s::dispose, N_, NULL, open_plugin(), and video_decoder_class_s::open_plugin.
|
static |
References _, vo_frame_s::accel_data, xine_s::config, vo_frame_s::free, xine_video_port_s::get_capabilities, xine_video_port_s::get_frame, xine_video_port_s::get_property, vdpau_accel_t::lock, NULL, xine_video_port_s::open, config_values_s::register_bool, vdpau_accel_t::unlock, vdec_hw_h264_new(), 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_frame_delete(), vdpau_h264_alter_frame_new(), vdpau_h264_alter_frame_ready(), vdpau_h264_alter_frame_render(), vdpau_h264_alter_reset(), vdpau_h264_alter_safe_seek(), xine_stream_s::video_out, VO_BOTH_FIELDS, VO_CAP_VDPAU_H264, vdpau_accel_t::vo_frame, VO_GET_FRAME_MAY_FAIL, VO_PROP_BUFS_TOTAL, xine_stream_s::xine, XINE_IMGFMT_VDPAU, XINE_VERBOSITY_LOG, and xprintf.
Referenced by h264_alter_init_plugin().
|
static |
References xine_bmiheader::biHeight, xine_bmiheader::biSize, xine_bmiheader::biWidth, BUF_FLAG_ASPECT, BUF_FLAG_FRAME_END, BUF_FLAG_FRAMERATE, BUF_FLAG_SPECIAL, BUF_FLAG_STDHEADER, BUF_SPECIAL_DECODER_CONFIG, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, buf_element_s::decoder_info_ptr, lprintf, buf_element_s::pts, buf_element_s::size, vdec_hw_h264_put_config(), vdec_hw_h264_put_container_info(), and vdec_hw_h264_put_frame().
Referenced by open_plugin().
|
static |
References lprintf, and vdec_hw_h264_zero_pts().
Referenced by open_plugin().
|
static |
References LOG_MODULE, lprintf, NULL, vdec_hw_h264_delete(), XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by open_plugin().
|
static |
References lprintf, and vdec_hw_h264_flush().
Referenced by open_plugin().
|
static |
References vo_frame_s::free, LOG_MODULE, NULL, vdec_hw_h264_frame_t::user_data, user_data(), XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
References vo_frame_s::bad_frame, vdec_hw_h264_frame_t::bad_frame, vdec_hw_h264_frame_t::color_matrix, vo_frame_s::duration, vdec_hw_h264_frame_t::duration, vdec_hw_h264_frame_t::flags, vdec_hw_h264_frame_t::height, LOG_MODULE, vo_frame_s::progressive_frame, vdec_hw_h264_frame_t::progressive_frame, vo_frame_s::pts, vdec_hw_h264_frame_t::pts, vdec_hw_h264_frame_t::ratio, vdec_hw_h264_frame_t::user_data, user_data(), VDEC_HW_H264_FRAME_BOTTOM_FIELD, VDEC_HW_H264_FRAME_NEW_SEQ, VDEC_HW_H264_FRAME_TOP_FIELD, VO_BOTTOM_FIELD, VO_NEW_SEQUENCE_FLAG, VO_SET_FLAGS_CM, VO_TOP_FIELD, vdec_hw_h264_frame_t::width, XINE_IMGFMT_VDPAU, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
|
static |
References _x_meta_info_set_utf8(), _x_stream_info_set(), vo_frame_s::accel_data, xine_format_change_data_t::aspect, vdec_hw_h264_frame_info_s::bottom_field_flag, vdec_hw_h264_info_ref_frame_t::bottom_is_reference, CAST_VdpPictureInfo_PTR, vdec_hw_h264_frame_info_s::chroma_qp_index_offset, vdec_hw_h264_frame_info_s::constrained_intra_pred_flag, vdec_hw_h264_frame_info_s::deblocking_filter_control_present_flag, vdec_hw_h264_frame_info_s::delta_pic_order_always_zero_flag, vdec_hw_h264_frame_info_s::direct_8x8_inference_flag, vdec_hw_h264_frame_t::duration, vdec_hw_h264_frame_info_s::entropy_coding_mode_flag, vdec_hw_h264_info_ref_frame_t::field_order_cnt, vdec_hw_h264_frame_info_s::field_order_cnt, vdec_hw_h264_frame_info_s::field_pic_flag, vdec_hw_h264_info_ref_frame_t::frame, vdec_hw_h264_info_ref_frame_t::frame_idx, vdec_hw_h264_frame_info_s::frame_mbs_only_flag, vdec_hw_h264_frame_info_s::frame_num, xine_format_change_data_t::height, vdec_hw_h264_frame_t::height, vdec_hw_h264_frame_t::info, vdec_hw_h264_frame_info_s::is_reference, vdpau_accel_t::lock, vdec_hw_h264_frame_info_s::log2_max_frame_num_minus4, vdec_hw_h264_frame_info_s::log2_max_pic_order_cnt_lsb_minus4, LOG_MODULE, lprintf, vdec_hw_h264_frame_info_s::mb_adaptive_frame_field_flag, vdec_hw_h264_frame_t::num_ref_frames, vdec_hw_h264_frame_info_s::num_ref_frames, vdec_hw_h264_frame_info_s::num_ref_idx_l0_active_minus1, vdec_hw_h264_frame_info_s::num_ref_idx_l1_active_minus1, vdec_hw_h264_frame_info_s::pic_init_qp_minus26, vdec_hw_h264_frame_info_s::pic_order_cnt_type, vdec_hw_h264_frame_info_s::pic_order_present_flag, vdec_hw_h264_frame_t::profile, vdec_hw_h264_frame_t::ratio, vdec_hw_h264_frame_info_s::redundant_pic_cnt_present_flag, vdec_hw_h264_frame_info_s::referenceFrames, vdec_hw_h264_frame_info_s::scaling_lists_4x4, vdec_hw_h264_frame_info_s::scaling_lists_8x8, vdec_hw_h264_frame_info_s::second_chroma_qp_index_offset, vdec_hw_h264_frame_info_s::slice_count, vdec_hw_h264_frame_info_s::slices_bitstream, vdec_hw_h264_frame_info_s::slices_bytes, vdpau_accel_t::surface, vdec_hw_h264_info_ref_frame_t::top_is_reference, vdec_hw_h264_frame_info_s::transform_8x8_mode_flag, vdpau_accel_t::unlock, vdec_hw_h264_frame_t::user_data, user_data(), 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, vdpau_accel_t::vdp_runtime_nr, vdpau_h264_map_profile(), vdpau_accel_t::vo_frame, vdec_hw_h264_frame_info_s::weighted_bipred_idc, vdec_hw_h264_frame_info_s::weighted_pred_flag, xine_format_change_data_t::width, vdec_hw_h264_frame_t::width, XINE_EVENT_FRAME_FORMAT_CHANGE, xine_event_send(), xine_fast_memcpy, XINE_META_INFO_VIDEOCODEC, XINE_STREAM_INFO_FRAME_DURATION, XINE_STREAM_INFO_VIDEO_HEIGHT, XINE_STREAM_INFO_VIDEO_RATIO, XINE_STREAM_INFO_VIDEO_WIDTH, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
vdpau.h says that a ref frame
References CAST_VdpPictureInfo_PTR, and NULL.
Referenced by vdpau_h264_alter_reset().
|
static |
References LOG_MODULE, vdec_hw_h264_reset(), vdpau_h264_alter_int_reset(), XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by open_plugin().
|
static |
References xine_cfg_entry_s::num_value.
Referenced by open_plugin().
|
static |
Referenced by vdpau_h264_alter_frame_render().