/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/docs-5.7.1/rocAL/include/api/rocal_api_augmentation.h Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/docs-5.7.1/rocAL/include/api/rocal_api_augmentation.h Source File#

rocAL: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/docs-5.7.1/rocAL/include/api/rocal_api_augmentation.h Source File
rocal_api_augmentation.h
Go to the documentation of this file.
1 /*
2 Copyright (c) 2019 - 2023 Advanced Micro Devices, Inc. All rights reserved.
3 
4 Permission is hereby granted, free of charge, to any person obtaining a copy
5 of this software and associated documentation files (the "Software"), to deal
6 in the Software without restriction, including without limitation the rights
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 copies of the Software, and to permit persons to whom the Software is
9 furnished to do so, subject to the following conditions:
10 
11 The above copyright notice and this permission notice shall be included in
12 all copies or substantial portions of the Software.
13 
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
20 THE SOFTWARE.
21 */
22 
23 #ifndef MIVISIONX_ROCAL_API_AUGMENTATION_H
24 #define MIVISIONX_ROCAL_API_AUGMENTATION_H
25 #include "rocal_api_types.h"
26 
50  unsigned int *new_order, unsigned int new_sequence_length,
51  unsigned int sequence_length, bool is_output);
52 
68  unsigned dest_width, unsigned dest_height,
69  bool is_output,
71  std::vector<unsigned> max_size = {},
72  unsigned resize_shorter = 0,
73  unsigned resize_longer = 0,
75 
91  unsigned dest_width, unsigned dest_height,
92  std::vector<float> &mean, std::vector<float> &std_dev,
93  bool is_output, RocalIntParam p_mirror = NULL);
94 
107 extern "C" RocalImage ROCAL_API_CALL rocalCropResize(RocalContext context, RocalImage input, unsigned dest_width,
108  unsigned dest_height, bool is_output,
109  RocalFloatParam area = NULL,
110  RocalFloatParam aspect_ratio = NULL,
111  RocalFloatParam x_center_drift = NULL,
112  RocalFloatParam y_center_drift = NULL);
113 
126 extern "C" RocalImage ROCAL_API_CALL rocalCropResizeFixed(RocalContext context, RocalImage input, unsigned dest_width,
127  unsigned dest_height, bool is_output, float area, float aspect_ratio,
128  float x_center_drift, float y_center_drift);
129 
143 extern "C" RocalImage ROCAL_API_CALL rocalRotate(RocalContext context, RocalImage input, bool is_output,
144  RocalFloatParam angle = NULL, unsigned dest_width = 0,
145  unsigned dest_height = 0);
146 
158 extern "C" RocalImage ROCAL_API_CALL rocalRotateFixed(RocalContext context, RocalImage input, float angle,
159  bool is_output, unsigned dest_width = 0, unsigned dest_height = 0);
160 
170 extern "C" RocalImage ROCAL_API_CALL rocalBrightness(RocalContext context, RocalImage input, bool is_output,
171  RocalFloatParam alpha = NULL, RocalFloatParam beta = NULL);
172 
183  float alpha, float beta,
184  bool is_output);
185 
195  bool is_output,
196  RocalFloatParam alpha = NULL);
197 
206 extern "C" RocalImage ROCAL_API_CALL rocalGammaFixed(RocalContext context, RocalImage input, float alpha, bool is_output);
207 
217 extern "C" RocalImage ROCAL_API_CALL rocalContrast(RocalContext context, RocalImage input, bool is_output,
218  RocalIntParam min = NULL, RocalIntParam max = NULL);
219 
230  unsigned min, unsigned max,
231  bool is_output);
232 
241 extern "C" RocalImage ROCAL_API_CALL rocalFlip(RocalContext context, RocalImage input, bool is_output,
242  RocalIntParam flip_axis = NULL);
243 
252 extern "C" RocalImage ROCAL_API_CALL rocalFlipFixed(RocalContext context, RocalImage input, int flip_axis, bool is_output);
253 
262 extern "C" RocalImage ROCAL_API_CALL rocalBlur(RocalContext context, RocalImage input, bool is_output,
263  RocalIntParam sdev = NULL);
264 
273 extern "C" RocalImage ROCAL_API_CALL rocalBlurFixed(RocalContext context, RocalImage input, int sdev, bool is_output);
274 
284 extern "C" RocalImage ROCAL_API_CALL rocalBlend(RocalContext context, RocalImage input1, RocalImage input2, bool is_output,
285  RocalFloatParam ratio = NULL);
286 
297  float ratio,
298  bool is_output);
314 extern "C" RocalImage ROCAL_API_CALL rocalWarpAffine(RocalContext context, RocalImage input, bool is_output,
315  unsigned dest_height = 0, unsigned dest_width = 0,
316  RocalFloatParam x0 = NULL, RocalFloatParam x1 = NULL,
317  RocalFloatParam y0 = NULL, RocalFloatParam y1 = NULL,
318  RocalFloatParam o0 = NULL, RocalFloatParam o1 = NULL);
319 
335 extern "C" RocalImage ROCAL_API_CALL rocalWarpAffineFixed(RocalContext context, RocalImage input, float x0, float x1,
336  float y0, float y1, float o0, float o1, bool is_output,
337  unsigned int dest_height = 0, unsigned int dest_width = 0);
345 extern "C" RocalImage ROCAL_API_CALL rocalFishEye(RocalContext context, RocalImage input, bool is_output);
346 
355 extern "C" RocalImage ROCAL_API_CALL rocalVignette(RocalContext context, RocalImage input, bool is_output,
356  RocalFloatParam sdev = NULL);
365 extern "C" RocalImage ROCAL_API_CALL rocalVignetteFixed(RocalContext context, RocalImage input, float sdev, bool is_output);
366 
376 extern "C" RocalImage ROCAL_API_CALL rocalJitter(RocalContext context, RocalImage input, bool is_output,
377  RocalIntParam kernel_size = NULL);
378 
389  int kernel_size, bool is_output);
390 
399 extern "C" RocalImage ROCAL_API_CALL rocalSnPNoise(RocalContext context, RocalImage input, bool is_output,
400  RocalFloatParam sdev = NULL);
401 
410 extern "C" RocalImage ROCAL_API_CALL rocalSnPNoiseFixed(RocalContext context, RocalImage input, float sdev, bool is_output);
411 
420 extern "C" RocalImage ROCAL_API_CALL rocalSnow(RocalContext context, RocalImage input, bool is_output,
421  RocalFloatParam shift = NULL);
430 extern "C" RocalImage ROCAL_API_CALL rocalSnowFixed(RocalContext context, RocalImage input, float shift, bool is_output);
431 
443 extern "C" RocalImage ROCAL_API_CALL rocalRain(RocalContext context, RocalImage input, bool is_output,
444  RocalFloatParam rain_value = NULL,
445  RocalIntParam rain_width = NULL,
446  RocalIntParam rain_height = NULL,
447  RocalFloatParam rain_transparency = NULL);
460  float rain_value,
461  int rain_width,
462  int rain_height,
463  float rain_transparency,
464  bool is_output);
473 extern "C" RocalImage ROCAL_API_CALL rocalColorTemp(RocalContext context, RocalImage input, bool is_output,
474  RocalIntParam adjustment = NULL);
483 extern "C" RocalImage ROCAL_API_CALL rocalColorTempFixed(RocalContext context, RocalImage input, int adjustment, bool is_output);
484 
493 extern "C" RocalImage ROCAL_API_CALL rocalFog(RocalContext context, RocalImage input, bool is_output,
494  RocalFloatParam fog_value = NULL);
503 extern "C" RocalImage ROCAL_API_CALL rocalFogFixed(RocalContext context, RocalImage input, float fog_value, bool is_output);
504 
514 extern "C" RocalImage ROCAL_API_CALL rocalLensCorrection(RocalContext context, RocalImage input, bool is_output,
515  RocalFloatParam strength = NULL,
516  RocalFloatParam zoom = NULL);
527  float strength, float zoom, bool is_output);
528 
536 extern "C" RocalImage ROCAL_API_CALL rocalPixelate(RocalContext context, RocalImage input, bool is_output);
537 
546 extern "C" RocalImage ROCAL_API_CALL rocalExposure(RocalContext context, RocalImage input, bool is_output,
547  RocalFloatParam shift = NULL);
556 extern "C" RocalImage ROCAL_API_CALL rocalExposureFixed(RocalContext context, RocalImage input, float shift, bool is_output);
557 
566  bool is_output,
567  RocalFloatParam hue = NULL);
568 
578  float hue,
579  bool is_output);
580 
591  RocalImage input,
592  bool is_output,
593  RocalFloatParam sat = NULL);
594 
600  bool is_output);
601 
611 extern "C" RocalImage ROCAL_API_CALL rocalCopy(RocalContext context, RocalImage input, bool is_output);
612 
620 extern "C" RocalImage ROCAL_API_CALL rocalNop(RocalContext context, RocalImage input, bool is_output);
621 
633 extern "C" RocalImage ROCAL_API_CALL rocalColorTwist(RocalContext context, RocalImage input, bool is_output,
634  RocalFloatParam alpha = NULL,
635  RocalFloatParam beta = NULL,
636  RocalFloatParam hue = NULL,
637  RocalFloatParam sat = NULL);
638 
651  float alpha,
652  float beta,
653  float hue,
654  float sat,
655  bool is_output);
661  unsigned crop_depth,
662  unsigned crop_height,
663  unsigned crop_width,
664  float start_x,
665  float start_y,
666  float start_z,
667  std::vector<float> &mean,
668  std::vector<float> &std_dev,
669  bool is_output,
670  RocalIntParam mirror = NULL);
671 
676 extern "C" RocalImage ROCAL_API_CALL rocalCrop(RocalContext context, RocalImage input, bool is_output,
677  RocalFloatParam crop_width = NULL,
678  RocalFloatParam crop_height = NULL,
679  RocalFloatParam crop_depth = NULL,
680  RocalFloatParam crop_pox_x = NULL,
681  RocalFloatParam crop_pos_y = NULL,
682  RocalFloatParam crop_pos_z = NULL);
683 
689  unsigned crop_width,
690  unsigned crop_height,
691  unsigned crop_depth,
692  bool is_output,
693  float crop_pox_x,
694  float crop_pos_y,
695  float crop_pos_z);
702  unsigned crop_width,
703  unsigned crop_height,
704  unsigned crop_depth,
705  bool output);
711  unsigned dest_width, unsigned dest_height,
712  bool is_output,
713  unsigned crop_h,
714  unsigned crop_w,
715  RocalIntParam mirror);
721  unsigned dest_width, unsigned dest_height,
722  bool is_output, RocalFloatParam crop_height = NULL,
723  RocalFloatParam crop_width = NULL, RocalIntParam mirror = NULL);
724 
733  bool is_output,
734  RocalFloatParam crop_area_factor = NULL,
735  RocalFloatParam crop_aspect_ratio = NULL,
736  RocalFloatParam crop_pos_x = NULL,
737  RocalFloatParam crop_pos_y = NULL,
738  int num_of_attempts = 20);
739 
749  bool is_output,
750  RocalFloatParam threshold = NULL,
751  RocalFloatParam crop_area_factor = NULL,
752  RocalFloatParam crop_aspect_ratio = NULL,
753  RocalFloatParam crop_pos_x = NULL,
754  RocalFloatParam crop_pos_y = NULL,
755  int num_of_attempts = 20);
756 
757 #endif // MIVISIONX_ROCAL_API_AUGMENTATION_H
RocalImage ROCAL_API_CALL rocalBrightnessFixed(RocalContext context, RocalImage input, float alpha, float beta, bool is_output)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalRotateFixed(RocalContext context, RocalImage input, float angle, bool is_output, unsigned dest_width=0, unsigned dest_height=0)
Accepts U8 and RGB24 input. The output image dimension can be set to new values allowing the rotated ...
RocalImage ROCAL_API_CALL rocalColorTwist(RocalContext context, RocalImage input, bool is_output, RocalFloatParam alpha=NULL, RocalFloatParam beta=NULL, RocalFloatParam hue=NULL, RocalFloatParam sat=NULL)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalRainFixed(RocalContext context, RocalImage input, float rain_value, int rain_width, int rain_height, float rain_transparency, bool is_output)
RocalImage ROCAL_API_CALL rocalJitterFixed(RocalContext context, RocalImage input, int kernel_size, bool is_output)
RocalImage ROCAL_API_CALL rocalGamma(RocalContext context, RocalImage input, bool is_output, RocalFloatParam alpha=NULL)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalSnowFixed(RocalContext context, RocalImage input, float shift, bool is_output)
RocalImage ROCAL_API_CALL rocalSaturation(RocalContext context, RocalImage input, bool is_output, RocalFloatParam sat=NULL)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalCropResizeFixed(RocalContext context, RocalImage input, unsigned dest_width, unsigned dest_height, bool is_output, float area, float aspect_ratio, float x_center_drift, float y_center_drift)
Accepts U8 and RGB24 input. Crops the input image to a new area and same aspect ratio.
RocalImage ROCAL_API_CALL rocalCropFixed(RocalContext context, RocalImage input, unsigned crop_width, unsigned crop_height, unsigned crop_depth, bool is_output, float crop_pox_x, float crop_pos_y, float crop_pos_z)
rocalCropFixed
RocalImage ROCAL_API_CALL rocalContrast(RocalContext context, RocalImage input, bool is_output, RocalIntParam min=NULL, RocalIntParam max=NULL)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalContrastFixed(RocalContext context, RocalImage input, unsigned min, unsigned max, bool is_output)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalWarpAffine(RocalContext context, RocalImage input, bool is_output, unsigned dest_height=0, unsigned dest_width=0, RocalFloatParam x0=NULL, RocalFloatParam x1=NULL, RocalFloatParam y0=NULL, RocalFloatParam y1=NULL, RocalFloatParam o0=NULL, RocalFloatParam o1=NULL)
RocalImage ROCAL_API_CALL rocalWarpAffineFixed(RocalContext context, RocalImage input, float x0, float x1, float y0, float y1, float o0, float o1, bool is_output, unsigned int dest_height=0, unsigned int dest_width=0)
RocalImage ROCAL_API_CALL rocalExposure(RocalContext context, RocalImage input, bool is_output, RocalFloatParam shift=NULL)
RocalImage ROCAL_API_CALL rocalHueFixed(RocalContext context, RocalImage input, float hue, bool is_output)
RocalImage ROCAL_API_CALL rocalCopy(RocalContext context, RocalImage input, bool is_output)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalCrop(RocalContext context, RocalImage input, bool is_output, RocalFloatParam crop_width=NULL, RocalFloatParam crop_height=NULL, RocalFloatParam crop_depth=NULL, RocalFloatParam crop_pox_x=NULL, RocalFloatParam crop_pos_y=NULL, RocalFloatParam crop_pos_z=NULL)
rocalCrop
RocalImage ROCAL_API_CALL rocalSnPNoiseFixed(RocalContext context, RocalImage input, float sdev, bool is_output)
RocalImage ROCAL_API_CALL rocalNop(RocalContext context, RocalImage input, bool is_output)
RocalImage ROCAL_API_CALL rocalResizeCropMirror(RocalContext context, RocalImage input, unsigned dest_width, unsigned dest_height, bool is_output, RocalFloatParam crop_height=NULL, RocalFloatParam crop_width=NULL, RocalIntParam mirror=NULL)
rocalResizeCropMirror
RocalImage ROCAL_API_CALL rocalCropMirrorNormalize(RocalContext context, RocalImage input, unsigned crop_depth, unsigned crop_height, unsigned crop_width, float start_x, float start_y, float start_z, std::vector< float > &mean, std::vector< float > &std_dev, bool is_output, RocalIntParam mirror=NULL)
rocalCropMirrorNormalize
RocalImage ROCAL_API_CALL rocalFishEye(RocalContext context, RocalImage input, bool is_output)
RocalImage ROCAL_API_CALL rocalBlurFixed(RocalContext context, RocalImage input, int sdev, bool is_output)
RocalImage ROCAL_API_CALL rocalFog(RocalContext context, RocalImage input, bool is_output, RocalFloatParam fog_value=NULL)
RocalImage ROCAL_API_CALL rocalBrightness(RocalContext context, RocalImage input, bool is_output, RocalFloatParam alpha=NULL, RocalFloatParam beta=NULL)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalGammaFixed(RocalContext context, RocalImage input, float alpha, bool is_output)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalBlendFixed(RocalContext context, RocalImage input1, RocalImage input2, float ratio, bool is_output)
Blends two input images given the ratio: output = input1*ratio + input2*(1-ratio)
RocalImage ROCAL_API_CALL rocalSaturationFixed(RocalContext context, RocalImage input, float sat, bool is_output)
rocalSaturationFixed
RocalImage ROCAL_API_CALL rocalRotate(RocalContext context, RocalImage input, bool is_output, RocalFloatParam angle=NULL, unsigned dest_width=0, unsigned dest_height=0)
Accepts U8 and RGB24 input. The output image dimension can be set to new values allowing the rotated ...
RocalImage ROCAL_API_CALL rocalResizeCropMirrorFixed(RocalContext context, RocalImage input, unsigned dest_width, unsigned dest_height, bool is_output, unsigned crop_h, unsigned crop_w, RocalIntParam mirror)
rocalResizeCropMirrorFixed
RocalImage ROCAL_API_CALL rocalColorTwistFixed(RocalContext context, RocalImage input, float alpha, float beta, float hue, float sat, bool is_output)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalResizeMirrorNormalize(RocalContext p_context, RocalImage p_input, unsigned dest_width, unsigned dest_height, std::vector< float > &mean, std::vector< float > &std_dev, bool is_output, RocalIntParam p_mirror=NULL)
Accepts U8 and RGB24 input.
RocalImage ROCAL_API_CALL rocalResize(RocalContext context, RocalImage input, unsigned dest_width, unsigned dest_height, bool is_output, RocalResizeScalingMode scaling_mode=ROCAL_SCALING_MODE_STRETCH, std::vector< unsigned > max_size={}, unsigned resize_shorter=0, unsigned resize_longer=0, RocalResizeInterpolationType interpolation_type=ROCAL_LINEAR_INTERPOLATION)
Accepts U8 and RGB24 input.
RocalImage ROCAL_API_CALL rocalHue(RocalContext context, RocalImage input, bool is_output, RocalFloatParam hue=NULL)
RocalImage ROCAL_API_CALL rocalColorTemp(RocalContext context, RocalImage input, bool is_output, RocalIntParam adjustment=NULL)
RocalImage ROCAL_API_CALL rocalPixelate(RocalContext context, RocalImage input, bool is_output)
RocalImage ROCAL_API_CALL rocalExposureFixed(RocalContext context, RocalImage input, float shift, bool is_output)
RocalImage ROCAL_API_CALL rocalJitter(RocalContext context, RocalImage input, bool is_output, RocalIntParam kernel_size=NULL)
RocalImage ROCAL_API_CALL rocalRain(RocalContext context, RocalImage input, bool is_output, RocalFloatParam rain_value=NULL, RocalIntParam rain_width=NULL, RocalIntParam rain_height=NULL, RocalFloatParam rain_transparency=NULL)
RocalImage ROCAL_API_CALL rocalSequenceRearrange(RocalContext context, RocalImage input, unsigned int *new_order, unsigned int new_sequence_length, unsigned int sequence_length, bool is_output)
Rearranges the order of the frames in the sequences with respect to new_order. new_order can have val...
RocalImage ROCAL_API_CALL rocalBlur(RocalContext context, RocalImage input, bool is_output, RocalIntParam sdev=NULL)
Accepts U8 and RGB24 inputs.
RocalImage ROCAL_API_CALL rocalSSDRandomCrop(RocalContext context, RocalImage input, bool is_output, RocalFloatParam threshold=NULL, RocalFloatParam crop_area_factor=NULL, RocalFloatParam crop_aspect_ratio=NULL, RocalFloatParam crop_pos_x=NULL, RocalFloatParam crop_pos_y=NULL, int num_of_attempts=20)
Accepts U8 and RGB24 inputs and Ouptus Cropped Images, valid bounding boxes and labels.
RocalImage ROCAL_API_CALL rocalVignette(RocalContext context, RocalImage input, bool is_output, RocalFloatParam sdev=NULL)
RocalImage ROCAL_API_CALL rocalSnPNoise(RocalContext context, RocalImage input, bool is_output, RocalFloatParam sdev=NULL)
RocalImage ROCAL_API_CALL rocalRandomCrop(RocalContext context, RocalImage input, bool is_output, RocalFloatParam crop_area_factor=NULL, RocalFloatParam crop_aspect_ratio=NULL, RocalFloatParam crop_pos_x=NULL, RocalFloatParam crop_pos_y=NULL, int num_of_attempts=20)
Accepts U8 and RGB24 inputs and Ouptus Cropped Images, valid bounding boxes and labels.
RocalImage ROCAL_API_CALL rocalBlend(RocalContext context, RocalImage input1, RocalImage input2, bool is_output, RocalFloatParam ratio=NULL)
Blends two input images given the ratio: output = input1*ratio + input2*(1-ratio)
RocalImage ROCAL_API_CALL rocalFogFixed(RocalContext context, RocalImage input, float fog_value, bool is_output)
RocalImage ROCAL_API_CALL rocalLensCorrection(RocalContext context, RocalImage input, bool is_output, RocalFloatParam strength=NULL, RocalFloatParam zoom=NULL)
RocalImage ROCAL_API_CALL rocalLensCorrectionFixed(RocalContext context, RocalImage input, float strength, float zoom, bool is_output)
RocalImage ROCAL_API_CALL rocalVignetteFixed(RocalContext context, RocalImage input, float sdev, bool is_output)
RocalImage ROCAL_API_CALL rocalCropResize(RocalContext context, RocalImage input, unsigned dest_width, unsigned dest_height, bool is_output, RocalFloatParam area=NULL, RocalFloatParam aspect_ratio=NULL, RocalFloatParam x_center_drift=NULL, RocalFloatParam y_center_drift=NULL)
Accepts U8 and RGB24 input.
RocalImage ROCAL_API_CALL rocalSnow(RocalContext context, RocalImage input, bool is_output, RocalFloatParam shift=NULL)
RocalImage ROCAL_API_CALL rocalFlip(RocalContext context, RocalImage input, bool is_output, RocalIntParam flip_axis=NULL)
RocalImage ROCAL_API_CALL rocalFlipFixed(RocalContext context, RocalImage input, int flip_axis, bool is_output)
RocalImage ROCAL_API_CALL rocalColorTempFixed(RocalContext context, RocalImage input, int adjustment, bool is_output)
RocalImage ROCAL_API_CALL rocalCropCenterFixed(RocalContext context, RocalImage input, unsigned crop_width, unsigned crop_height, unsigned crop_depth, bool output)
rocalCropCenterFixed
RocalResizeScalingMode
rocAL Resize Scaling Mode enum
Definition: rocal_api_types.h:295
void * RocalIntParam
typedef void* rocAL Int Param
Definition: rocal_api_types.h:57
void * RocalFloatParam
typedef void* Float Param
Definition: rocal_api_types.h:53
void * RocalContext
typedef void* rocAL Context
Definition: rocal_api_types.h:61
RocalResizeInterpolationType
rocAL Resize Interpolation Type enum
Definition: rocal_api_types.h:314
void * RocalImage
typedef void* rocAL Image
Definition: rocal_api_types.h:65
@ 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:301
@ ROCAL_LINEAR_INTERPOLATION
AMD ROCAL_LINEAR_INTERPOLATION.
Definition: rocal_api_types.h:320
The AMD rocAL Library - Types.
#define ROCAL_API_CALL
Definition: rocal_api_types.h:35