/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/checkouts/docs-6.1.1/include/rppdefs.h Source File

/home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/checkouts/docs-6.1.1/include/rppdefs.h Source File#

RPP: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rpp/checkouts/docs-6.1.1/include/rppdefs.h Source File
rppdefs.h
Go to the documentation of this file.
1 /*
2 MIT License
3 
4 Copyright (c) 2019 - 2024 Advanced Micro Devices, Inc.
5 
6 Permission is hereby granted, free of charge, to any person obtaining a copy
7 of this software and associated documentation files (the "Software"), to deal
8 in the Software without restriction, including without limitation the rights
9 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10 copies of the Software, and to permit persons to whom the Software is
11 furnished to do so, subject to the following conditions:
12 
13 The above copyright notice and this permission notice shall be included in all
14 copies or substantial portions of the Software.
15 
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22 SOFTWARE.
23 */
24 
25 #ifndef RPPDEFS_H
26 #define RPPDEFS_H
27 
34 #include <stddef.h>
35 #include <cmath>
36 #ifdef OCL_COMPILE
37 #include <CL/cl.h>
38 #endif
39 
41 #define RPP_MIN_8U ( 0 )
43 #define RPP_MAX_8U ( 255 )
45 #define RPPT_MAX_DIMS ( 5 )
46 
47 const float ONE_OVER_6 = 1.0f / 6;
48 const float ONE_OVER_3 = 1.0f / 3;
49 const float ONE_OVER_255 = 1.0f / 255;
50 
51 /******************** RPP typedefs ********************/
52 
54 typedef unsigned char Rpp8u;
56 typedef signed char Rpp8s;
58 typedef unsigned short Rpp16u;
60 typedef short Rpp16s;
62 typedef unsigned int Rpp32u;
64 typedef int Rpp32s;
66 typedef unsigned long long Rpp64u;
68 typedef long long Rpp64s;
70 typedef float Rpp32f;
72 typedef double Rpp64f;
74 typedef void* RppPtr_t;
76 typedef size_t RppSize_t;
77 
81 typedef enum
82 {
86  RPP_ERROR = -1,
124 
128 typedef enum
129 {
130  rppStatusSuccess = 0,
131  rppStatusBadParm = -1,
132  rppStatusUnknownError = -2,
133  rppStatusNotInitialized = -3,
134  rppStatusInvalidValue = -4,
135  rppStatusAllocFailed = -5,
136  rppStatusInternalError = -6,
137  rppStatusNotImplemented = -7,
138  rppStatusUnsupportedOp = -8,
139 } rppStatus_t;
140 
144 typedef enum
145 {
146  RPP_SCALAR_OP_AND = 1,
147  RPP_SCALAR_OP_OR,
148  RPP_SCALAR_OP_XOR,
149  RPP_SCALAR_OP_NAND,
150  RPP_SCALAR_OP_EQUAL,
151  RPP_SCALAR_OP_NOTEQUAL,
152  RPP_SCALAR_OP_LESS,
153  RPP_SCALAR_OP_LESSEQ,
154  RPP_SCALAR_OP_GREATER,
155  RPP_SCALAR_OP_GREATEREQ,
156  RPP_SCALAR_OP_ADD,
157  RPP_SCALAR_OP_SUBTRACT,
158  RPP_SCALAR_OP_MULTIPLY,
159  RPP_SCALAR_OP_DIVIDE,
160  RPP_SCALAR_OP_MODULUS,
161  RPP_SCALAR_OP_MIN,
162  RPP_SCALAR_OP_MAX,
163 } RppOp;
164 
168 typedef enum
169 {
170  U8_S8,
171  S8_U8,
173 
177 typedef struct
178 {
179  Rpp32f rho;
180  Rpp32f theta;
181 } RppPointPolar;
182 
186 typedef struct
187 {
188  Rpp32u channelParam;
189  Rpp32u bufferMultiplier;
191 
195 typedef struct
196 {
197  Rpp32f data[6];
198 } Rpp32f6;
199 
203 typedef struct
204 {
205  Rpp32s data[24];
206 } Rpp32s24;
207 
211 typedef struct
212 {
213  Rpp32f data[24];
214 } Rpp32f24;
215 
216 /******************** RPPI typedefs ********************/
217 
221 typedef enum
222 {
223  RGB_HSV = 1,
224  HSV_RGB
226 
230 typedef enum
231 {
232  RPPI_LOW,
233  RPPI_MEDIUM,
234  RPPI_HIGH
236 
240 typedef enum
241 {
242  RPPI_CHN_PLANAR,
243  RPPI_CHN_PACKED
244 } RppiChnFormat;
245 
249 typedef enum
250 {
251  RPPI_HORIZONTAL_AXIS,
252  RPPI_VERTICAL_AXIS,
253  RPPI_BOTH_AXIS
254 } RppiAxis;
255 
259 typedef enum
260 {
261  GAUSS3,
262  GAUSS5,
263  GAUSS3x1,
264  GAUSS1x3,
265  AVG3 = 10,
266  AVG5
267 } RppiBlur;
268 
272 typedef enum
273 {
274  ZEROPAD,
275  NOPAD
276 } RppiPad;
277 
281 typedef enum
282 {
283  RGB,
284  HSV
285 } RppiFormat;
286 
290 typedef struct
291 {
292  unsigned int width;
293  unsigned int height;
294 } RppiSize;
295 
299 typedef struct
300 {
301  int x;
302  int y;
303 } RppiPoint;
304 
308 typedef struct
309 {
310  int x;
311  int y;
312  int z;
313 } RppiPoint3D;
314 
315 typedef struct
316 {
317  int x;
318  int y;
319  int width;
320  int height;
321 } RppiRect;
322 
326 typedef struct
327 {
328  unsigned int x;
329  unsigned int y;
330  unsigned int roiWidth;
331  unsigned int roiHeight;
332 } RppiROI;
333 
334 /******************** RPPT typedefs ********************/
335 
339 typedef enum
340 {
341  U8,
342  F32,
343  F16,
344  I8
345 } RpptDataType;
346 
350 typedef enum
351 {
352  NCHW,
353  NHWC,
354  NCDHW,
355  NDHWC
356 } RpptLayout;
357 
361 typedef enum
362 {
363  LTRB, // Left-Top-Right-Bottom
364  XYWH // X-Y-Width-Height
365 } RpptRoiType;
366 
370 typedef enum
371 {
372  LTFRBB, // Left-Top-Front-Right-Bottom-Back
373  XYZWHD // X-Y-Z-Width-Height-Depth
374 } RpptRoi3DType;
375 
376 typedef enum
377 {
378  RGBtype,
379  BGRtype
380 } RpptSubpixelLayout;
381 
385 typedef enum
386 {
387  NEAREST_NEIGHBOR = 0,
388  BILINEAR,
389  BICUBIC,
390  LANCZOS,
391  GAUSSIAN,
392  TRIANGULAR
394 
398 typedef enum
399 {
400  ZERO = 0,
401  CLAMP,
402  REFLECT
404 
408 typedef struct
409 {
410  RppiPoint lt, rb; // Left-Top point and Right-Bottom point
411 
412 } RpptRoiLtrb;
413 
417 typedef struct
418 {
419  RppiPoint3D ltf, rbb; // Left-Top-Front point and Right-Bottom-Back point
420 
421 } RpptRoiLtfrbb;
422 
426 typedef struct
427 {
428  RppiPoint xy;
429  int roiWidth, roiHeight;
430 
431 } RpptRoiXywh;
432 
436 typedef struct
437 {
438  RppiPoint3D xyz;
439  int roiWidth, roiHeight, roiDepth;
440 
441 } RpptRoiXyzwhd;
442 
446 typedef union
447 {
448  RpptRoiLtrb ltrbROI; // ROI defined as Left-Top-Right-Bottom
449  RpptRoiXywh xywhROI; // ROI defined as X-Y-Width-Height
450 
451 } RpptROI, *RpptROIPtr;
452 
456 typedef union
457 {
458  RpptRoiLtfrbb ltfrbbROI; // ROI defined as Left-Top-Front-Right-Bottom-Back
459  RpptRoiXyzwhd xyzwhdROI; // ROI defined as X-Y-Z-Width-Height-Depth
460 
462 
466 typedef struct
467 {
468  Rpp32u nStride;
469  Rpp32u cStride;
470  Rpp32u hStride;
471  Rpp32u wStride;
472 } RpptStrides;
473 
477 typedef struct
478 {
479  RppSize_t numDims;
480  Rpp32u offsetInBytes;
481  RpptDataType dataType;
482  Rpp32u n, c, h, w;
483  RpptStrides strides;
484  RpptLayout layout;
486 
490 typedef struct
491 {
492  RppSize_t numDims;
493  Rpp32u offsetInBytes;
494  RpptDataType dataType;
495  Rpp32u dims[RPPT_MAX_DIMS];
496  Rpp32u strides[RPPT_MAX_DIMS];
497  RpptLayout layout;
499 
500 typedef struct
501 {
502  Rpp8u R;
503  Rpp8u G;
504  Rpp8u B;
505 } RpptRGB;
506 
510 typedef struct
511 {
512  Rpp32f R;
513  Rpp32f G;
514  Rpp32f B;
515 } RpptFloatRGB;
516 
520 typedef struct
521 {
522  Rpp32u x;
523  Rpp32u y;
525 
529 typedef struct
530 {
531  Rpp32f x;
532  Rpp32f y;
534 
538 typedef struct
539 {
540  Rpp32u width;
541  Rpp32u height;
543 
547 typedef struct
548 { Rpp32u x[5];
549  Rpp32u counter;
551 
555 typedef struct
556 { Rpp32s x[5];
557  Rpp32s counter;
558  int boxMullerFlag;
559  float boxMullerExtra;
561 
565 typedef struct
566 {
567  Rpp32s24 srcLocsTL;
568  Rpp32s24 srcLocsTR;
569  Rpp32s24 srcLocsBL;
570  Rpp32s24 srcLocsBR;
572 
576 typedef struct
577 {
578  Rpp32f24 srcValsTL;
579  Rpp32f24 srcValsTR;
580  Rpp32f24 srcValsBL;
581  Rpp32f24 srcValsBR;
583 
587 typedef struct GenericFilter
588 {
589  Rpp32f scale = 1.0f;
590  Rpp32f radius = 1.0f;
591  Rpp32s size;
592  GenericFilter(RpptInterpolationType interpolationType, Rpp32s in_size, Rpp32s out_size, Rpp32f scaleRatio)
593  {
594  switch(interpolationType)
595  {
596  case RpptInterpolationType::BICUBIC:
597  {
598  this->radius = 2.0f;
599  break;
600  }
601  case RpptInterpolationType::LANCZOS:
602  {
603  if(in_size > out_size)
604  {
605  this->radius = 3.0f * scaleRatio;
606  this->scale = (1 / scaleRatio);
607  }
608  else
609  this->radius = 3.0f;
610  break;
611  }
612  case RpptInterpolationType::GAUSSIAN:
613  {
614  if(in_size > out_size)
615  {
616  this->radius = scaleRatio;
617  this->scale = (1 / scaleRatio);
618  }
619  break;
620  }
621  case RpptInterpolationType::TRIANGULAR:
622  {
623  if(in_size > out_size)
624  {
625  this->radius = scaleRatio;
626  this->scale = (1 / scaleRatio);
627  }
628  break;
629  }
630  default:
631  {
632  this->radius = 1.0f;
633  this->scale = 1.0f;
634  break;
635  }
636  }
637  this->size = std::ceil(2 * this->radius);
638  }
640 
641 /******************** HOST memory typedefs ********************/
642 
646 typedef struct
647 {
648  Rpp32f *floatmem;
649 } memRpp32f;
650 
654 typedef struct
655 {
656  Rpp64f *doublemem;
657 } memRpp64f;
658 
662 typedef struct
663 {
664  Rpp32u *uintmem;
665 } memRpp32u;
666 
670 typedef struct
671 {
672  Rpp32s *intmem;
673 } memRpp32s;
674 
678 typedef struct
679 {
680  Rpp8u *ucharmem;
681 } memRpp8u;
682 
686 typedef struct
687 {
688  Rpp8s *charmem;
689 } memRpp8s;
690 
694 typedef struct
695 {
696  RpptRGB* rgbmem;
697 } memRpptRGB;
698 
702 typedef struct
703 {
704  Rpp32u *height;
705  Rpp32u *width;
706 } memSize;
707 
711 typedef struct
712 {
713  Rpp32u *x;
714  Rpp32u *y;
715  Rpp32u *roiHeight;
716  Rpp32u *roiWidth;
717 } memROI;
718 
722 typedef struct {
723  RppiSize *srcSize;
724  RppiSize *dstSize;
725  RppiSize *maxSrcSize;
726  RppiSize *maxDstSize;
727  RppiROI *roiPoints;
728  memRpp32f floatArr[10];
729  memRpp64f doubleArr[10];
730  memRpp32u uintArr[10];
731  memRpp32s intArr[10];
732  memRpp8u ucharArr[10];
733  memRpp8s charArr[10];
734  memRpptRGB rgbArr;
735  Rpp64u *srcBatchIndex;
736  Rpp64u *dstBatchIndex;
737  Rpp32u *inc;
738  Rpp32u *dstInc;
739  Rpp32f *tempFloatmem;
740 } memCPU;
741 
742 #ifdef OCL_COMPILE
743 
744 /******************** OCL memory typedefs ********************/
745 
749 typedef struct
750 {
751  cl_mem floatmem;
752 } clmemRpp32f;
753 
757 typedef struct
758 {
759  cl_mem doublemem;
760 } clmemRpp64f;
761 
765 typedef struct
766 {
767  cl_mem uintmem;
768 } clmemRpp32u;
769 
773 typedef struct
774 {
775  cl_mem intmem;
776 } clmemRpp32s;
777 
781 typedef struct
782 {
783  cl_mem ucharmem;
784 } clmemRpp8u;
785 
789 typedef struct
790 {
791  cl_mem charmem;
792 } clmemRpp8s;
793 
797 typedef struct
798 {
799  cl_mem height;
800  cl_mem width;
801 } clmemSize;
802 
806 typedef struct
807 {
808  cl_mem x;
809  cl_mem y;
810  cl_mem roiHeight;
811  cl_mem roiWidth;
812 } clmemROI;
813 
817 typedef struct
818 {
819  memSize csrcSize;
820  memSize cdstSize;
821  memSize cmaxSrcSize;
822  memSize cmaxDstSize;
823  memROI croiPoints;
824  clmemSize srcSize;
825  clmemSize dstSize;
826  clmemSize maxSrcSize;
827  clmemSize maxDstSize;
828  clmemROI roiPoints;
829  clmemRpp32f floatArr[10];
830  clmemRpp64f doubleArr[10];
831  clmemRpp32u uintArr[10];
832  clmemRpp32s intArr[10];
833  clmemRpp8u ucharArr[10];
834  clmemRpp8s charArr[10];
835  cl_mem srcBatchIndex;
836  cl_mem dstBatchIndex;
837  cl_mem inc;
838  cl_mem dstInc;
839 } memGPU;
840 
844 typedef struct
845 {
846  memCPU mcpu;
847  memGPU mgpu;
848 } memMgmt;
849 
850 #elif defined(HIP_COMPILE)
851 
852 /******************** HIP memory typedefs ********************/
853 
857 typedef struct
858 {
859  Rpp32f* floatmem;
860 } hipMemRpp32f;
861 
865 typedef struct
866 {
867  Rpp64f* doublemem;
868 } hipMemRpp64f;
869 
873 typedef struct
874 {
875  Rpp32u* uintmem;
876 } hipMemRpp32u;
877 
881 typedef struct
882 {
883  Rpp32s* intmem;
884 } hipMemRpp32s;
885 
889 typedef struct
890 {
891  Rpp8u* ucharmem;
892 } hipMemRpp8u;
893 
897 typedef struct
898 {
899  Rpp8s* charmem;
900 } hipMemRpp8s;
901 
905 typedef struct
906 {
907  RpptRGB* rgbmem;
908 } hipMemRpptRGB;
909 
913 typedef struct
914 {
915  Rpp32u* height;
916  Rpp32u* width;
917 } hipMemSize;
918 
922 typedef struct
923 {
924  Rpp32u* x;
925  Rpp32u* y;
926  Rpp32u* roiHeight;
927  Rpp32u* roiWidth;
928 } hipMemROI;
929 
933 typedef struct
934 {
935  memSize csrcSize;
936  memSize cdstSize;
937  memSize cmaxSrcSize;
938  memSize cmaxDstSize;
939  memROI croiPoints;
940  hipMemSize srcSize;
941  hipMemSize dstSize;
942  hipMemSize maxSrcSize;
943  hipMemSize maxDstSize;
944  hipMemROI roiPoints;
945  hipMemRpp32f floatArr[10];
946  hipMemRpp32f float3Arr[10];
947  hipMemRpp64f doubleArr[10];
948  hipMemRpp32u uintArr[10];
949  hipMemRpp32s intArr[10];
950  hipMemRpp8u ucharArr[10];
951  hipMemRpp8s charArr[10];
952  hipMemRpptRGB rgbArr;
953  hipMemRpp32f maskArr;
954  Rpp64u* srcBatchIndex;
955  Rpp64u* dstBatchIndex;
956  Rpp32u* inc;
957  Rpp32u* dstInc;
958 } memGPU;
959 
963 typedef struct
964 {
965  memCPU mcpu;
966  memGPU mgpu;
967 } memMgmt;
968 
969 #else
970 
974 typedef struct
975 {
976  memCPU mcpu;
977 } memMgmt;
978 
979 #endif //BACKEND
980 
984 typedef struct
985 {
986  RppPtr_t cpuHandle;
987  Rpp32u nbatchSize;
988  memMgmt mem;
989 } InitHandle;
990 
991 #endif /* RPPDEFS_H */
RppiPad
RPPI Image pad type enum.
Definition: rppdefs.h:273
RppiFormat
RPPI Image format type enum.
Definition: rppdefs.h:282
unsigned int Rpp32u
32 bit unsigned int
Definition: rppdefs.h:62
RppConvertBitDepthMode
RPP BitDepth Conversion type enum.
Definition: rppdefs.h:169
int Rpp32s
32 bit signed int
Definition: rppdefs.h:64
signed char Rpp8s
8 bit signed char
Definition: rppdefs.h:56
RppiChnFormat
RPPI Image channel format type enum.
Definition: rppdefs.h:241
unsigned short Rpp16u
16 bit unsigned short
Definition: rppdefs.h:58
unsigned char Rpp8u
8 bit unsigned char
Definition: rppdefs.h:54
void * RppPtr_t
void pointer
Definition: rppdefs.h:74
RpptLayout
RPPT Tensor layout type enum.
Definition: rppdefs.h:351
RppiBlur
RPPI Image blur type enum.
Definition: rppdefs.h:260
RppiAxis
RPP Image axis type enum.
Definition: rppdefs.h:250
RpptRoiType
RPPT Tensor 2D ROI type enum.
Definition: rppdefs.h:362
RpptDataType
RPPT Tensor datatype enum.
Definition: rppdefs.h:340
double Rpp64f
64 bit double
Definition: rppdefs.h:72
RpptAudioBorderType
RPPT Audio Border Type.
Definition: rppdefs.h:399
size_t RppSize_t
size_t
Definition: rppdefs.h:76
struct GenericFilter GenericFilter
RPPT Tensor GenericFilter type struct.
RppStatus
RPP RppStatus type enums.
Definition: rppdefs.h:82
RpptRoi3DType
RPPT Tensor subpixel layout type enum.
Definition: rppdefs.h:371
RppOp
RPP Operations type enum.
Definition: rppdefs.h:145
unsigned long long Rpp64u
64 bit unsigned long long
Definition: rppdefs.h:66
#define RPPT_MAX_DIMS
RPP maximum dimensions in tensor .
Definition: rppdefs.h:45
RpptInterpolationType
RPPT Tensor interpolation type enum.
Definition: rppdefs.h:386
short Rpp16s
16 bit signed short
Definition: rppdefs.h:60
RppiColorConvertMode
RPPI Image color convert mode type enum.
Definition: rppdefs.h:222
float Rpp32f
32 bit float
Definition: rppdefs.h:70
RppiFuzzyLevel
RPPI Image fuzzy level type enum.
Definition: rppdefs.h:231
long long Rpp64s
64 bit long long
Definition: rppdefs.h:68
rppStatus_t
RPP rppStatus_t type enums.
Definition: rppdefs.h:129
@ RPP_ERROR_NOT_IMPLEMENTED
Function variant requested is not implemented / unsupported.
Definition: rppdefs.h:96
@ RPP_ERROR_INVALID_DST_DATATYPE
Invalid dst tensor datatype. (Needs to adhere to function specification.)
Definition: rppdefs.h:108
@ RPP_ERROR_OUT_OF_BOUND_SRC_ROI
Out of bound source ROI.
Definition: rppdefs.h:118
@ RPP_ERROR_ZERO_DIVISION
Arguments provided will result in zero division error.
Definition: rppdefs.h:92
@ RPP_ERROR_INVALID_ARGUMENTS
One or more arguments invalid. (Needs to adhere to function specification.)
Definition: rppdefs.h:88
@ RPP_ERROR_INVALID_CHANNELS
Number of channels is invalid. (Needs to adhere to function specification.)
Definition: rppdefs.h:122
@ RPP_ERROR_INVALID_SRC_CHANNELS
Invalid src tensor number of channels. (Needs to adhere to function specification....
Definition: rppdefs.h:98
@ RPP_ERROR_INVALID_SRC_OR_DST_DATATYPE
Invalid src/dst tensor datatype. (Needs to adhere to function specification.)
Definition: rppdefs.h:110
@ RPP_ERROR_INVALID_PARAMETER_DATATYPE
Invalid datatype.
Definition: rppdefs.h:114
@ RPP_ERROR_NOT_ENOUGH_MEMORY
Not enough memory.
Definition: rppdefs.h:116
@ RPP_ERROR
Unspecified error.
Definition: rppdefs.h:86
@ RPP_ERROR_INVALID_DST_LAYOUT
Invalid dst tensor layout. (Needs to adhere to function specification.)
Definition: rppdefs.h:104
@ RPP_ERROR_INVALID_DST_CHANNELS
Invalid dst tensor number of channels. (Needs to adhere to function specification....
Definition: rppdefs.h:100
@ RPP_ERROR_INVALID_SRC_DATATYPE
Invalid src tensor datatype. (Needs to adhere to function specification.)
Definition: rppdefs.h:106
@ RPP_ERROR_INVALID_SRC_LAYOUT
Invalid src tensor layout. (Needs to adhere to function specification.)
Definition: rppdefs.h:102
@ RPP_ERROR_SRC_DST_LAYOUT_MISMATCH
src and dst layout mismatch
Definition: rppdefs.h:120
@ RPP_ERROR_HIGH_SRC_DIMENSION
Src tensor / src ROI dimension too high. (Needs to adhere to function specification....
Definition: rppdefs.h:94
@ RPP_SUCCESS
No error.
Definition: rppdefs.h:84
@ RPP_ERROR_INSUFFICIENT_DST_BUFFER_LENGTH
Insufficient dst buffer length provided. (Needs to adhere to function specification....
Definition: rppdefs.h:112
@ RPP_ERROR_LOW_OFFSET
Low tensor offsetInBytes provided for src/dst tensor.
Definition: rppdefs.h:90
RPPT Tensor GenericFilter type struct.
Definition: rppdefs.h:588
RPP initialize handle.
Definition: rppdefs.h:985
RPP 24 float vector.
Definition: rppdefs.h:212
RPP 6 float vector.
Definition: rppdefs.h:196
RPP 24 signed int vector.
Definition: rppdefs.h:204
RPP layout params.
Definition: rppdefs.h:187
RPP polar point.
Definition: rppdefs.h:178
RPPI Image 2D Rectangle (XYWH format) type struct.
Definition: rppdefs.h:309
RPPI Image 2D cartesian point type struct.
Definition: rppdefs.h:300
RPPI Image 2D ROI (XYWH format) type struct.
Definition: rppdefs.h:327
Definition: rppdefs.h:316
RPPI Image size(Width/Height dimensions) type struct.
Definition: rppdefs.h:291
RPPT Tensor 2D bilinear neighborhood 32-bit signed int 8-length-vectors type struct.
Definition: rppdefs.h:566
RPPT Tensor 2D bilinear neighborhood 32-bit float 8-length-vectors type struct.
Definition: rppdefs.h:577
RPPT Tensor descriptor type struct.
Definition: rppdefs.h:478
RPPT Tensor 32-bit float RGB type struct.
Definition: rppdefs.h:511
RPPT Tensor 2D 32-bit float vector type struct.
Definition: rppdefs.h:530
RPPT Tensor 8-bit uchar RGB type struct.
Definition: rppdefs.h:491
RPPT Tensor 2D image patch dimensions type struct.
Definition: rppdefs.h:539
Definition: rppdefs.h:501
RPPT Tensor 3D ROI LTFRBB struct.
Definition: rppdefs.h:418
RPPT Tensor 2D ROI LTRB struct.
Definition: rppdefs.h:409
RPPT Tensor 2D ROI XYWH struct.
Definition: rppdefs.h:427
RPPT Tensor 3D ROI XYZWHD struct.
Definition: rppdefs.h:437
RPPT Tensor strides type struct.
Definition: rppdefs.h:467
RPPT Tensor 2D 32-bit uint vector type struct.
Definition: rppdefs.h:521
RPPT Tensor random number generator state (xorwow box muller state) type struct.
Definition: rppdefs.h:556
RPPT Tensor random number generator state (xorwow state) type struct.
Definition: rppdefs.h:548
RPP HIP 2D ROI memory.
Definition: rppdefs.h:923
RPP HIP 32-bit float memory.
Definition: rppdefs.h:858
RPP HIP 32-bit signed int memory.
Definition: rppdefs.h:882
RPP HIP 32-bit unsigned int memory.
Definition: rppdefs.h:874
RPP HIP 64-bit double memory.
Definition: rppdefs.h:866
RPP HIP 8-bit signed char memory.
Definition: rppdefs.h:898
RPP HIP 8-bit unsigned char memory.
Definition: rppdefs.h:890
RPP HIP RGB memory.
Definition: rppdefs.h:906
RPP HIP 2D dimensions memory.
Definition: rppdefs.h:914
RPP HOST memory type struct.
Definition: rppdefs.h:722
RPP OCL memory management type struct.
Definition: rppdefs.h:934
RPP HIP-HOST memory management.
Definition: rppdefs.h:964
RPP HOST 2D ROI memory.
Definition: rppdefs.h:712
RPP HOST 32-bit float memory.
Definition: rppdefs.h:647
RPP HOST 32-bit signed int memory.
Definition: rppdefs.h:671
RPP HOST 32-bit unsigned int memory.
Definition: rppdefs.h:663
RPP HOST 64-bit double memory.
Definition: rppdefs.h:655
RPP HOST 8-bit signed char memory.
Definition: rppdefs.h:687
RPP HOST 8-bit unsigned char memory.
Definition: rppdefs.h:679
RPP HOST RGB memory.
Definition: rppdefs.h:695
RPP HOST 2D dimensions memory.
Definition: rppdefs.h:703
RPPT Tensor 3D ROI union.
Definition: rppdefs.h:457
RPPT Tensor 2D ROI union.
Definition: rppdefs.h:447