/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/latest/rocAL/include/api/rocal_api_types.h Source File#
rocal_api_types.h
Go to the documentation of this file.
86 // HRNet training expects meta data (joints_data) in below format, so added here as a type for exposing to user
128 };
158 };
170 };
187 ROCAL_USE_USER_GIVEN_SIZE_RESTRICTED = 3, // use the given size only if the actual decoded size is greater than the given size
190 ROCAL_USE_MAX_SIZE_RESTRICTED = 4, // use max size if the actual decoded size is greater than max
203 };
241 };
268 };
295 };
307 };
342 };
367 };
379 };
421 };
436 };
450 };
465 };
510 };
std::vector< int > AnnotationIDBatch
typedef std::vectors
Definition: rocal_api_types.h:69
RocalResizeScalingMode
rocAL Resize Scaling Mode enum
Definition: rocal_api_types.h:326
RocalMelScaleFormula
rocAL MelScale formula enum
Definition: rocal_api_types.h:441
RocalTensorOutputType
rocAL Tensor Output Type enum
Definition: rocal_api_types.h:246
RocalMissingComponentsBehaviour
Missing components behaviour for Webdataset.
Definition: rocal_api_types.h:500
std::vector< std::string > ImagePathBatch
typedef std::vectors
Definition: rocal_api_types.h:70
RocalImageSizeEvaluationPolicy
rocAL Image Size Evaluation Policy enum
Definition: rocal_api_types.h:175
RocalExternalSourceMode
RocalExternalSourceMode struct.
Definition: rocal_api_types.h:396
std::vector< std::vector< float > > CenterBatch
typedef std::vectors
Definition: rocal_api_types.h:72
std::vector< std::vector< float > > ScaleBatch
typedef std::vectors
Definition: rocal_api_types.h:72
RocalOutOfBoundsPolicy
rocAL Out Of Bounds Policy Type enum
Definition: rocal_api_types.h:426
RocalAudioBorderType
rocAL Audio Border Type enum
Definition: rocal_api_types.h:411
std::vector< std::vector< std::vector< float > > > JointsVisibilityBatch
typedef std::vectors
Definition: rocal_api_types.h:73
RocalLastBatchPolicy
Tensor Last Batch Policy Type enum.
Definition: rocal_api_types.h:455
RocalResizeInterpolationType
rocAL Resize Interpolation Type enum
Definition: rocal_api_types.h:348
std::vector< std::vector< std::vector< float > > > JointsBatch
typedef std::vectors
Definition: rocal_api_types.h:73
@ ROCAL_DECODER_AUDIO_GENERIC
AMD ROCAL_DECODER_AUDIO_GENERIC Uses SndFile library to read audio files.
Definition: rocal_api_types.h:286
@ ROCAL_DECODER_OPENCV
AMD ROCAL_DECODER_OPENCV.
Definition: rocal_api_types.h:279
@ ROCAL_DECODER_VIDEO_FFMPEG_SW
AMD ROCAL_DECODER_VIDEO_FFMPEG_SW.
Definition: rocal_api_types.h:282
@ ROCAL_DECODER_VIDEO_ROCDECODE
AMD ROCAL_DECODER_VIDEO_ROCDECODE Uses rocDecode library to decode videos on hardware.
Definition: rocal_api_types.h:290
@ ROCAL_DECODER_ROCJPEG
AMD ROCAL_DECODER_ROCJPEG Uses rocJpeg library to decode images on hardware.
Definition: rocal_api_types.h:294
@ ROCAL_SCALING_MODE_NOT_SMALLER
scales wrt to aspect ratio, so that resize width/height is not lesser than the specified size
Definition: rocal_api_types.h:335
@ ROCAL_SCALING_MODE_NOT_LARGER
scales wrt to aspect ratio, so that resize width/height does not exceed specified size
Definition: rocal_api_types.h:338
@ ROCAL_SCALING_MODE_STRETCH
scales wrt specified size, if only resize width/height is provided the other dimension is not scaled
Definition: rocal_api_types.h:332
@ ROCAL_SCALING_MODE_MIN_MAX
scales wrt to aspect ratio, so that resize width/height does not exceed specified min and max size
Definition: rocal_api_types.h:341
@ ROCAL_SCALING_MODE_DEFAULT
scales wrt specified size, if only resize width/height is provided the other dimension is scaled acco...
Definition: rocal_api_types.h:329
@ ROCAL_MELSCALE_SLANEY
Slaney Follows Slaney’s MATLAB Auditory Modelling Work behavior.
Definition: rocal_api_types.h:445
@ ROCAL_MELSCALE_HTK
HTK Follows O’Shaughnessy’s book formula, consistent with Hidden Markov Toolkit(HTK),...
Definition: rocal_api_types.h:449
@ ROCAL_UPDATE_PARAMETER_FAILED
AMD ROCAL_UPDATE_PARAMETER_FAILED.
Definition: rocal_api_types.h:124
@ ROCAL_CONTEXT_INVALID
AMD ROCAL_CONTEXT_INVALID.
Definition: rocal_api_types.h:118
@ ROCAL_INVALID_PARAMETER_TYPE
AMD ROCAL_INVALID_PARAMETER_TYPE.
Definition: rocal_api_types.h:127
@ ROCAL_MISSING_COMPONENT_SKIP
ROCAL_MISSING_COMPONENT_SKIP.
Definition: rocal_api_types.h:506
@ ROCAL_MISSING_COMPONENT_ERROR
ROCAL_MISSING_COMPONENT_ERROR.
Definition: rocal_api_types.h:503
@ ROCAL_MISSING_COMPONENT_EMPTY
ROCAL_MISSING_COMPONENT_EMPTY.
Definition: rocal_api_types.h:509
@ ROCAL_USE_MOST_FREQUENT_SIZE
AMD ROCAL_USE_MOST_FREQUENT_SIZE.
Definition: rocal_api_types.h:184
@ ROCAL_USE_MAX_SIZE_RESTRICTED
Use max size if the actual decoded size is greater than max.
Definition: rocal_api_types.h:190
@ ROCAL_USE_USER_GIVEN_SIZE
AMD ROCAL_USE_USER_GIVEN_SIZE.
Definition: rocal_api_types.h:181
@ ROCAL_USE_USER_GIVEN_SIZE_RESTRICTED
Use the given size only if the actual decoded size is greater than the given size.
Definition: rocal_api_types.h:187
@ ROCAL_EXTSOURCE_RAW_COMPRESSED
compressed raw buffer passed as input
Definition: rocal_api_types.h:402
@ ROCAL_EXTSOURCE_FNAME
list of filename passed as input
Definition: rocal_api_types.h:399
@ ROCAL_EXTSOURCE_RAW_UNCOMPRESSED
uncompressed raw buffer passed as input
Definition: rocal_api_types.h:405
@ ROCAL_FLIP_HORIZONTAL
AMD ROCAL_FLIP_HORIZONTAL.
Definition: rocal_api_types.h:166
@ ROCAL_LAST_BATCH_DROP
ROCAL_LAST_BATCH_DROP - The last batch is dropped if there are not enough samples from the current ep...
Definition: rocal_api_types.h:461
@ ROCAL_LAST_BATCH_PARTIAL
ROCAL_LAST_BATCH_PARTIAL - The last batch is partially filled with the remaining data from the curren...
Definition: rocal_api_types.h:464
@ ROCAL_LAST_BATCH_FILL
ROCAL_LAST_BATCH_FILL - The last batch is filled by either repeating the last sample or by wrapping u...
Definition: rocal_api_types.h:458
@ ROCAL_CUBIC_INTERPOLATION
AMD ROCAL_CUBIC_INTERPOLATION.
Definition: rocal_api_types.h:357
@ ROCAL_NEAREST_NEIGHBOR_INTERPOLATION
AMD ROCAL_NEAREST_NEIGHBOR_INTERPOLATION.
Definition: rocal_api_types.h:351
@ ROCAL_GAUSSIAN_INTERPOLATION
AMD ROCAL_GAUSSIAN_INTERPOLATION.
Definition: rocal_api_types.h:363
@ ROCAL_LINEAR_INTERPOLATION
AMD ROCAL_LINEAR_INTERPOLATION.
Definition: rocal_api_types.h:354
@ ROCAL_TRIANGULAR_INTERPOLATION
AMD ROCAL_TRIANGULAR_INTERPOLATION.
Definition: rocal_api_types.h:366
@ ROCAL_LANCZOS_INTERPOLATION
AMD ROCAL_LANCZOS_INTERPOLATION.
Definition: rocal_api_types.h:360
@ ROCAL_COLOR_RGB_PLANAR
AMD ROCAL_COLOR_RGB_PLANAR.
Definition: rocal_api_types.h:145
Definition: rocal_api_types.h:512
Definition: rocal_api_types.h:519
Definition: rocal_api_types.h:102
rocAL Joints Data struct - HRNet training expects meta data (joints_data) in below format,...
Definition: rocal_api_types.h:90