[Libav-user] extradata
Alex
3.14pi at ukr.net
Wed Apr 24 15:05:49 CEST 2013
Hi, I develop decoder that use NVidia CUDA thechnology.
And I have problems, for decode frame on CUDA I need fill and parse same struc first to CUDA decoder.
But I don't understend where and how I can get params for my struc. Can you help me?
This is struc for h264 video:
http://graphics.im.ntu.edu.tw/~bossliaw/nvCuda_doxygen/html/struct___c_u_v_i_d_h264_p_i_c_p_a_r_a_m_s.html
int log2_max_frame_num_minus4
int pic_order_cnt_type
int log2_max_pic_order_cnt_lsb_minus4
int delta_pic_order_always_zero_flag
int frame_mbs_only_flag
int direct_8x8_inference_flag
int num_ref_frames
unsigned char residual_colour_transform_flag
unsigned char bit_depth_luma_minus8
unsigned char bit_depth_chroma_minus8
unsigned char qpprime_y_zero_transform_bypass_flag
int entropy_coding_mode_flag
int pic_order_present_flag
int num_ref_idx_l0_active_minus1
int num_ref_idx_l1_active_minus1
int weighted_pred_flag
int weighted_bipred_idc
int pic_init_qp_minus26
int deblocking_filter_control_present_flag
int redundant_pic_cnt_present_flag
int transform_8x8_mode_flag
int MbaffFrameFlag
int constrained_intra_pred_flag
int chroma_qp_index_offset
int second_chroma_qp_index_offset
int ref_pic_flag
int frame_num
int CurrFieldOrderCnt [2]
CUVIDH264DPBENTRY dpb [16]
unsigned char WeightScale4x4 [6][16]
unsigned char WeightScale8x8 [2][64]
unsigned char fmo_aso_enable
unsigned char num_slice_groups_minus1
unsigned char slice_group_map_type
signed char pic_init_qs_minus26
unsigned int slice_group_change_rate_minus1
union {
unsigned long long slice_group_map_addr
const unsigned char * pMb2SliceGroupMap
} fmo
unsigned int Reserved [12]
union {
CUVIDH264MVCEXT mvcext
CUVIDH264SVCEXT svcext
};
More information about the Libav-user
mailing list