AJA NTV2 SDK
17.6.0.1688
NTV2 SDK 17.6.0.1688
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
e
f
g
h
i
j
k
l
m
o
p
r
s
t
u
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
i
j
k
m
n
o
p
r
s
t
u
v
Enumerations
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Typedefs
_
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
b
c
e
g
k
n
r
v
Related Functions
:
a
b
c
d
j
o
s
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Variables
_
a
b
c
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Typedefs
_
a
b
c
d
f
h
i
j
l
m
n
o
p
q
r
s
t
u
w
Enumerations
_
a
b
c
d
e
f
h
i
j
k
m
n
p
q
r
s
t
u
v
x
Enumerator
a
b
c
d
e
f
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
buffer.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: MIT */
8
#ifndef AJA_BUFFER_H
9
#define AJA_BUFFER_H
10
11
#include "
public.h
"
12
16
class
AJA_EXPORT
AJABuffer
17
{
18
public
:
19
AJABuffer
();
20
virtual
~
AJABuffer
();
21
30
AJAStatus
AttachBuffer(uint8_t* pBuffer,
size_t
size);
31
41
AJAStatus
AllocateBuffer(
size_t
size,
size_t
alignment = 0,
char
* pName =
NULL
);
42
49
AJAStatus
FreeBuffer();
50
56
uint8_t* GetBuffer();
57
58
uint32_t* GetUINT32Buffer();
59
65
size_t
GetBufferSize();
66
72
size_t
GetBufferAlignment();
73
79
const
char
* GetBufferName();
80
88
AJAStatus
SetDataOffset(
size_t
offset);
89
95
size_t
GetDataOffset();
96
104
AJAStatus
SetDataSize(
size_t
size);
105
111
size_t
GetDataSize();
112
118
uint8_t* GetData();
119
120
private
:
121
122
void
ComputeAlignment();
123
124
uint8_t* mpAllocate;
125
size_t
mAllocateSize;
126
size_t
mAllocateAlignment;
127
char
* mpAllocateName;
128
129
uint8_t* mpBuffer;
130
size_t
mBufferSize;
131
size_t
mBufferAlignment;
132
133
size_t
mDataOffset;
134
size_t
mDataSize;
135
};
136
137
#endif
138
NULL
#define NULL
Definition:
ntv2caption608types.h:19
AJA_EXPORT
#define AJA_EXPORT
Definition:
export.h:34
AJABuffer
Definition:
buffer.h:16
public.h
Master header for the ajabase library.
AJAStatus
AJAStatus
Definition:
types.h:378
libajantv2
ajabase
common
buffer.h
Generated on Wed Mar 5 2025 11:06:22 for AJA NTV2 SDK by
1.8.17