docs-6.1.0/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 /*********************************************************************************************************/
383 uint32_t is_first_field : 1; // indicate whether the current field is the first field for field picture
860 /*****************************************************************************************************/
864 /*****************************************************************************************************/
865 extern rocDecStatus ROCDECAPI rocDecCreateDecoder(rocDecDecoderHandle *decoder_handle, RocDecoderCreateInfo *decoder_create_info);
867 /*****************************************************************************************************/
871 /*****************************************************************************************************/
874 /**********************************************************************************************************************/
881 /**********************************************************************************************************************/
884 /*****************************************************************************************************/
889 /*****************************************************************************************************/
890 extern rocDecStatus ROCDECAPI rocDecDecodeFrame(rocDecDecoderHandle decoder_handle, RocdecPicParams *pic_params);
892 /************************************************************************************************************/
898 /************************************************************************************************************/
899 extern rocDecStatus ROCDECAPI rocDecGetDecodeStatus(rocDecDecoderHandle decoder_handle, int pic_idx, RocdecDecodeStatus* decode_status);
901 /*********************************************************************************************************/
906 /*********************************************************************************************************/
907 extern rocDecStatus ROCDECAPI rocDecReconfigureDecoder(rocDecDecoderHandle decoder_handle, RocdecReconfigureDecoderInfo *reconfig_params);
909 /************************************************************************************************************************/
916 /************************************************************************************************************************/
917 extern rocDecStatus ROCDECAPI rocDecGetVideoFrame(rocDecDecoderHandle decoder_handle, int pic_idx,
921 /*****************************************************************************************************/
925 /*****************************************************************************************************/
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:286
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_area
Definition: rocdecode.h:520
uint8_t scaling_list_8x8[2][64]
8x8 scaling list, in raster scan order.
Definition: rocdecode.h:524
uint32_t reserved[4]
Reserved bytes for future use, must be zero.
Definition: rocdecode.h:527
uint8_t scaling_list_4x4[6][16]
4x4 scaling list, in raster scan order.
Definition: rocdecode.h:522
Definition: rocdecode.h:409
Definition: rocdecode.h:256
Definition: rocdecode.h:468
uint16_t slice_data_bit_offset
Bit offset from NAL Header Unit to the begining of slice_data().
Definition: rocdecode.h:482
Definition: rocdecode.h:147
Definition: rocdecode.h:210
Definition: rocdecode.h:747
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:759
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:753
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:785
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:765
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:778
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:771
Definition: rocdecode.h:536
uint16_t column_width_minus1[19]
Definition: rocdecode.h:596
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:645
uint8_t sps_max_dec_pic_buffering_minus1
Definition: rocdecode.h:572
uint32_t no_pic_reordering_flag
Definition: rocdecode.h:563
uint32_t lists_modification_present_flag
Definition: rocdecode.h:602
uint8_t log2_max_pic_order_cnt_lsb_minus4
Definition: rocdecode.h:627
Definition: rocdecode.h:279
Definition: rocdecode.h:656
uint32_t slice_segment_address
Definition: rocdecode.h:677
uint32_t slice_data_flag
Slice data buffer flags. See VA_SLICE_DATA_FLAG_XXX.
Definition: rocdecode.h:664
uint8_t five_minus_max_num_merge_cand
Definition: rocdecode.h:728
uint32_t slice_data_offset
The offset to the NAL unit header for this slice.
Definition: rocdecode.h:662
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:660
int8_t delta_luma_weight_l1[15]
Definition: rocdecode.h:722
uint16_t slice_data_num_emu_prevn_bytes
Number of emulation prevention bytes in slice header.
Definition: rocdecode.h:732
uint8_t ref_pic_list[2][15]
index into ReferenceFrames[] ref_pic_list[0][] corresponds to RefPicList0[] of HEVC variable....
Definition: rocdecode.h:683
uint32_t dependent_slice_segment_flag
Definition: rocdecode.h:690
uint32_t slice_data_byte_offset
Byte offset from NAL unit header to the begining of slice_data().
Definition: rocdecode.h:675
Definition: rocdecode.h:336
Definition: rocdecode.h:363
Definition: rocdecode.h:346
Definition: rocdecode.h:797
union _RocdecPicParams::@17 slice_params
Variable size array. The user should allocate one slice param struct for each slice.
Definition: rocdecode.h:845
Definition: rocdecode.h:222
struct _RocdecReconfigureDecoderInfo::@3 target_rect
uint32_t num_decode_surfaces
Definition: rocdecode.h:227
struct _RocdecReconfigureDecoderInfo::@2 roi_area
Definition: rocdecode.h:398