AJA NTV2 SDK  18.0.0.2122
NTV2 SDK 18.0.0.2122
ntv2resample.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
7 #ifndef RESAMPLE_H
8 #define RESAMPLE_H
9 
10 #include "ajaexport.h"
11 #include "ajatypes.h"
12 #include "ntv2fixed.h"
13 #include "ntv2videodefines.h"
14 
15 
16 // ReSampleLine
17 // RGBAlphaPixel Version
19 void ReSampleLine(RGBAlphaPixel *Input,
20  RGBAlphaPixel *Output,
21  UWord startPixel,
22  UWord endPixel,
23  LWord numInputPixels,
24  LWord numOutputPixels);
25 
26 
27 // ReSampleLine
28 // Word Version
30 void ReSampleLine(Word *Input,
31  Word *Output,
32  UWord startPixel,
33  UWord endPixel,
34  LWord numInputPixels,
35  LWord numOutputPixels);
36 
37 
38 // ReSampleLine
39 // Word Version
41 void ReSampleYCbCrSampleLine(Word *Input,
42  Word *Output,
43  LWord numInputPixels,
44  LWord numOutputPixels);
45 
46 // ReSampleLine
47 // Word Version
49 void ReSampleAudio(Word *Input,
50  Word *Output,
51  UWord startPixel,
52  UWord endPixel,
53  LWord numInputPixels,
54  LWord numOutputPixels,
55  Word channelInterleaveMulitplier=1);
56 
57 #endif // RESAMPLE_H
Declares common video macros and structs used in the SDK.
int32_t LWord
Definition: ajatypes.h:222
void ReSampleYCbCrSampleLine(Word *Input, Word *Output, LWord numInputPixels, LWord numOutputPixels)
void ReSampleAudio(Word *Input, Word *Output, UWord startPixel, UWord endPixel, LWord numInputPixels, LWord numOutputPixels, Word channelInterleaveMulitplier=1)
int16_t Word
Definition: ajatypes.h:220
Defines the import/export macros for producing DLLs or LIBs.
Declares several fixed-point math routines. Assumes 16-bit fraction.
Declares the most fundamental data types used by NTV2. Since Windows NT was the first principal devel...
#define AJAExport
Definition: export.h:33
uint16_t UWord
Definition: ajatypes.h:221
void ReSampleLine(RGBAlphaPixel *Input, RGBAlphaPixel *Output, UWord startPixel, UWord endPixel, LWord numInputPixels, LWord numOutputPixels)