docs-6.1.1/api/rocdecode.h Source File#
rocdecode.h
Go to the documentation of this file.
95 } rocDecVideoCodec;
112 /**************************************************************************************************************/
117 /**************************************************************************************************************/
123 } rocDecVideoChromaFormat;
138 rocDecodeStatus_Error_Concealed = 9, // Decode is completed with an error and error is concealed
142 /**************************************************************************************************************/
146 /**************************************************************************************************************/
163 /**************************************************************************************************************/
167 /**************************************************************************************************************/
204 /*********************************************************************************************************/
209 /*********************************************************************************************************/
378 uint32_t is_first_field : 1; // indicate whether the current field is the first field for field picture
855 /*****************************************************************************************************/
859 /*****************************************************************************************************/
860 extern rocDecStatus ROCDECAPI rocDecCreateDecoder(rocDecDecoderHandle *decoder_handle, RocDecoderCreateInfo *decoder_create_info);
862 /*****************************************************************************************************/
866 /*****************************************************************************************************/
869 /**********************************************************************************************************************/
876 /**********************************************************************************************************************/
879 /*****************************************************************************************************/
884 /*****************************************************************************************************/
885 extern rocDecStatus ROCDECAPI rocDecDecodeFrame(rocDecDecoderHandle decoder_handle, RocdecPicParams *pic_params);
887 /************************************************************************************************************/
893 /************************************************************************************************************/
894 extern rocDecStatus ROCDECAPI rocDecGetDecodeStatus(rocDecDecoderHandle decoder_handle, int pic_idx, RocdecDecodeStatus* decode_status);
896 /*********************************************************************************************************/
901 /*********************************************************************************************************/
902 extern rocDecStatus ROCDECAPI rocDecReconfigureDecoder(rocDecDecoderHandle decoder_handle, RocdecReconfigureDecoderInfo *reconfig_params);
904 /************************************************************************************************************************/
911 /************************************************************************************************************************/
912 extern rocDecStatus ROCDECAPI rocDecGetVideoFrame(rocDecDecoderHandle decoder_handle, int pic_idx,
916 /*****************************************************************************************************/
920 /*****************************************************************************************************/
rocDecStatus ROCDECAPI rocDecCreateDecoder(rocDecDecoderHandle *decoder_handle, RocDecoderCreateInfo *decoder_create_info)
rocDecStatus ROCDECAPI rocDecReconfigureDecoder(rocDecDecoderHandle decoder_handle, RocdecReconfigureDecoderInfo *reconfig_params)
int poc
picture order count. ! in HEVC, POCs for top and bottom fields of same picture should take different ...
Definition: rocdecode.h:281
rocDecStatus ROCDECAPI rocDecDecodeFrame(rocDecDecoderHandle decoder_handle, RocdecPicParams *pic_params)
rocDecStatus ROCDECAPI rocDecDestroyDecoder(rocDecDecoderHandle decoder_handle)
const char *ROCDECAPI rocDecGetErrorName(rocDecStatus rocdec_status)
rocDecStatus ROCDECAPI rocDecGetDecodeStatus(rocDecDecoderHandle decoder_handle, int pic_idx, RocdecDecodeStatus *decode_status)
@ rocDecVideoSurfaceFormat_YUV444_16Bit
Definition: rocdecode.h:108
Definition: rocdecode.h:168
struct _RocDecoderCreateInfo::@1 target_rect
rocDecVideoChromaFormat chroma_format
Definition: rocdecode.h:175
rocDecVideoSurfaceFormat output_format
Definition: rocdecode.h:190
struct _RocDecoderCreateInfo::@0 display_rect
Definition: rocdecode.h:515
uint8_t scaling_list_8x8[2][64]
8x8 scaling list, in raster scan order.
Definition: rocdecode.h:519
uint32_t reserved[4]
Reserved bytes for future use, must be zero.
Definition: rocdecode.h:522
uint8_t scaling_list_4x4[6][16]
4x4 scaling list, in raster scan order.
Definition: rocdecode.h:517
Definition: rocdecode.h:404
Definition: rocdecode.h:251
Definition: rocdecode.h:463
uint16_t slice_data_bit_offset
Bit offset from NAL Header Unit to the begining of slice_data().
Definition: rocdecode.h:477
Definition: rocdecode.h:147
Definition: rocdecode.h:210
Definition: rocdecode.h:742
uint8_t scaling_list_8x8[6][64]
8x8 scaling, correspongs i = 1, MatrixID is in the range of 0 to 5, inclusive. And j is in the range ...
Definition: rocdecode.h:754
uint8_t scaling_list_4x4[6][16]
4x4 scaling, correspongs i = 0, MatrixID is in the range of 0 to 5, inclusive. And j is in the range ...
Definition: rocdecode.h:748
uint8_t scaling_list_dc_32x32[2]
DC values of the 32x32 scaling lists, corresponds to HEVC spec syntax scaling_list_dc_coef_minus8[ si...
Definition: rocdecode.h:780
uint8_t scaling_list_16x16[6][64]
16x16 scaling, correspongs i = 2, MatrixID is in the range of 0 to 5, inclusive. And j is in the rang...
Definition: rocdecode.h:760
uint8_t scaling_list_dc_16x16[6]
DC values of the 16x16 scaling lists, corresponds to HEVC spec syntax scaling_list_dc_coef_minus8[ si...
Definition: rocdecode.h:773
uint8_t scaling_list_32x32[2][64]
32x32 scaling, correspongs i = 3, MatrixID is in the range of 0 to 1, inclusive. And j is in the rang...
Definition: rocdecode.h:766
Definition: rocdecode.h:531
uint16_t column_width_minus1[19]
Definition: rocdecode.h:591
uint32_t st_rps_bits
number of bits that structure short_term_ref_pic_set( num_short_term_ref_pic_sets ) takes in slice se...
Definition: rocdecode.h:640
uint8_t sps_max_dec_pic_buffering_minus1
Definition: rocdecode.h:567
uint32_t no_pic_reordering_flag
Definition: rocdecode.h:558
uint32_t lists_modification_present_flag
Definition: rocdecode.h:597
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: rocdecode.h:622
Definition: rocdecode.h:274
Definition: rocdecode.h:651
uint32_t slice_segment_address
Definition: rocdecode.h:672
uint32_t slice_data_flag
Slice data buffer flags. See VA_SLICE_DATA_FLAG_XXX.
Definition: rocdecode.h:659
uint8_t five_minus_max_num_merge_cand
Definition: rocdecode.h:723
uint32_t slice_data_offset
The offset to the NAL unit header for this slice.
Definition: rocdecode.h:657
uint32_t slice_data_size
Number of bytes in the slice data buffer for this slice counting from and including NAL unit header.
Definition: rocdecode.h:655
int8_t delta_luma_weight_l1[15]
Definition: rocdecode.h:717
uint16_t slice_data_num_emu_prevn_bytes
Number of emulation prevention bytes in slice header.
Definition: rocdecode.h:727
uint8_t ref_pic_list[2][15]
index into ReferenceFrames[] ref_pic_list[0][] corresponds to RefPicList0[] of HEVC variable....
Definition: rocdecode.h:678
uint32_t dependent_slice_segment_flag
Definition: rocdecode.h:685
uint32_t slice_data_byte_offset
Byte offset from NAL unit header to the begining of slice_data().
Definition: rocdecode.h:670
Definition: rocdecode.h:331
Definition: rocdecode.h:358
Definition: rocdecode.h:341
Definition: rocdecode.h:792
union _RocdecPicParams::@17 slice_params
Variable size array. The user should allocate one slice param struct for each slice.
Definition: rocdecode.h:840
Definition: rocdecode.h:222
struct _RocdecReconfigureDecoderInfo::@3 target_rect
uint32_t num_decode_surfaces
Definition: rocdecode.h:227
struct _RocdecReconfigureDecoderInfo::@2 display_rect
Definition: rocdecode.h:393