NVIDIA DRIVE OS Linux SDK API Reference
5.1.12.0 Release
Welcome
API Modules
Data Structures
Files
More
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
nvmedia_arraymetadata.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2018-2019, NVIDIA CORPORATION. All rights reserved. All
3
* information contained herein is proprietary and confidential to NVIDIA
4
* Corporation. Any use, reproduction, or disclosure without the written
5
* permission of NVIDIA Corporation is prohibited.
6
*/
7
27
#ifndef NVM_ARRAYMETADATA_H
28
#define NVM_ARRAYMETADATA_H
29
30
#ifdef __cplusplus
31
extern
"C"
{
32
#endif
33
34
#include "
nvmedia_array.h
"
35
36
37
/* Size in bytes occupied by number of elements. */
38
#define SIZEOF_NUM_ELEMENTS (256u)
39
40
typedef
struct
{
42
NvMediaArrayType
elementType
;
44
uint32_t
capacity
;
46
uint32_t
stride
;
48
uint32_t
allocationSize
;
49
}
NvMediaArrayMetaData
;
50
51
52
#ifdef __cplusplus
53
};
/* extern "C" */
54
#endif
55
56
#endif
/* NVM_ARRAYMETADATA_H */
NvMediaArrayMetaData
Definition:
nvmedia_arraymetadata.h:40
NvMediaArrayMetaData::stride
uint32_t stride
stride to next element in bytes.
Definition:
nvmedia_arraymetadata.h:46
NvMediaArrayType
NvMediaArrayType
Defines the different types of arrays.
Definition:
nvmedia_array.h:59
nvmedia_array.h
NVIDIA Media Interface: Arrays
NvMediaArrayMetaData::allocationSize
uint32_t allocationSize
Total size of allocation (capacity * stride) + space to store number of elements. ...
Definition:
nvmedia_arraymetadata.h:48
NvMediaArrayMetaData::capacity
uint32_t capacity
Number of elements the array was created with.
Definition:
nvmedia_arraymetadata.h:44
NvMediaArrayMetaData::elementType
NvMediaArrayType elementType
Type of elements in Array.
Definition:
nvmedia_arraymetadata.h:42
Advance Information | Subject to Change | Prepared and Provided under NDA | Generated by NVIDIA | Mon Dec 2 2019 09:59:00 | PR-08890-5.1