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

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

rocAL: /home/docs/checkouts/readthedocs.org/user_builds/advanced-micro-devices-rocal/checkouts/docs-5.7.0/rocAL/include/api/rocal_api_info.h Source File
rocal_api_info.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_INFO_H
24 #define MIVISIONX_ROCAL_API_INFO_H
25 #include "rocal_api_types.h"
26 
42 extern "C" int ROCAL_API_CALL rocalGetOutputWidth(RocalContext rocal_context);
43 
51 extern "C" int ROCAL_API_CALL rocalGetOutputHeight(RocalContext rocal_context);
52 
61 
69 extern "C" size_t ROCAL_API_CALL rocalGetRemainingImages(RocalContext rocal_context);
70 
79 extern "C" size_t ROCAL_API_CALL rocalGetImageWidth(RocalImage image);
80 
90 
100 
109 extern "C" size_t ROCAL_API_CALL rocalIsEmpty(RocalContext rocal_context);
110 
119 
128 
136 extern "C" const char *ROCAL_API_CALL rocalGetErrorMessage(RocalContext rocal_context);
137 
146 
147 #endif // MIVISIONX_ROCAL_API_INFO_H
TimingInfo ROCAL_API_CALL rocalGetTimingInfo(RocalContext rocal_context)
rocalGetTimingInfo
const char *ROCAL_API_CALL rocalGetErrorMessage(RocalContext rocal_context)
rocalGetErrorMessage
size_t ROCAL_API_CALL rocalGetRemainingImages(RocalContext rocal_context)
rocalGetRemainingImages
size_t ROCAL_API_CALL rocalGetImagePlanes(RocalImage image)
rocalGetImagePlanes
int ROCAL_API_CALL rocalGetOutputWidth(RocalContext rocal_context)
rocalGetOutputWidth
size_t ROCAL_API_CALL rocalGetImageWidth(RocalImage image)
rocalGetImageWidth
int ROCAL_API_CALL rocalGetOutputColorFormat(RocalContext rocal_context)
rocalGetOutputColorFormat
size_t ROCAL_API_CALL rocalGetAugmentationBranchCount(RocalContext rocal_context)
rocalGetAugmentationBranchCount
int ROCAL_API_CALL rocalGetOutputHeight(RocalContext rocal_context)
rocalGetOutputHeight
size_t ROCAL_API_CALL rocalGetImageHeight(RocalImage image)
rocalGetImageHeight
RocalStatus ROCAL_API_CALL rocalGetStatus(RocalContext rocal_context)
rocalGetStatus
size_t ROCAL_API_CALL rocalIsEmpty(RocalContext rocal_context)
rocalIsEmpty
RocalStatus
rocAL Status enum
Definition: rocal_api_types.h:113
void * RocalContext
typedef void* rocAL Context
Definition: rocal_api_types.h:61
void * RocalImage
typedef void* rocAL Image
Definition: rocal_api_types.h:65
The AMD rocAL Library - Types.
#define ROCAL_API_CALL
Definition: rocal_api_types.h:35
Timing Info struct.
Definition: rocal_api_types.h:86