AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Declares a number of pixel format transcoder functions. More...
#include "ajaexport.h"
#include "ajatypes.h"
#include "ntv2fixed.h"
#include "ntv2videodefines.h"
#include <vector>
#include <stdio.h>
Go to the source code of this file.
Functions | |
bool | ConvertLine_2vuy_to_v210 (const UByte *pInSrcLine_2vuy, ULWord *pOutDstLine_v210, const ULWord inNumPixels) |
Converts a single 8-bit YCbCr '2vuy' raster line to 10-bit YCbCr 'v210' (from NTV2_FBF_8BIT_YCBCR to NTV2_FBF_10BIT_YCBCR ). More... | |
bool | ConvertLine_2vuy_to_yuy2 (const UByte *pInSrcLine_2vuy, UWord *pOutDstLine_yuy2, const ULWord inNumPixels) |
Converts a single 8-bit YCbCr '2vuy' raster line to 10-bit YCbCr 'v210' (from NTV2_FBF_8BIT_YCBCR to NTV2_FBF_8BIT_YCBCR_YUY2 ). More... | |
bool | ConvertLine_v210_to_2vuy (const ULWord *pInSrcLine_v210, UByte *pOutDstLine_2vuy, const ULWord inNumPixels) |
Converts a single 10-bit YCbCr 'v210' raster line to 8-bit YCbCr '2vuy'. More... | |
bool | ConvertLine_v210_to_2vuy (const void *pInSrcLine_v210, std::vector< uint8_t > &outDstLine2vuy, const ULWord inNumPixels) |
Converts a single 10-bit YCbCr 'v210' raster line to 8-bit YCbCr '2vuy' vector. More... | |
bool | ConvertLine_8bitABGR_to_10bitABGR (const UByte *pInSrcLine_8bitABGR, ULWord *pOutDstLine_10BitABGR, const ULWord inNumPixels) |
Converts a single 8-bit ABGR raster line to 10-bit ABGR (from NTV2_FBF_ABGR to NTV2_FBF_10BIT_RGB ). More... | |
bool | ConvertLine_8bitABGR_to_10bitRGBDPX (const UByte *pInSrcLine_8bitABGR, ULWord *pOutDstLine_10BitDPX, const ULWord inNumPixels) |
Converts a single 8-bit ABGR raster line to 10-bit RGB DPX (from NTV2_FBF_ABGR to NTV2_FBF_10BIT_DPX ). More... | |
bool | ConvertLine_8bitABGR_to_10bitRGBDPXLE (const UByte *pInSrcLine_8bitABGR, ULWord *pOutDstLine_10BitDPXLE, const ULWord inNumPixels) |
Converts a single 8-bit ABGR raster line to 10-bit RGB DPX (from NTV2_FBF_ABGR to NTV2_FBF_10BIT_DPX_LE ). More... | |
bool | ConvertLine_8bitABGR_to_24bitRGB (const UByte *pInSrcLine_8bitABGR, UByte *pOutDstLine_24BitRGB, const ULWord inNumPixels) |
Converts a single 8-bit ABGR raster line to 24-bit RGB (from NTV2_FBF_ABGR to NTV2_FBF_24BIT_RGB ). More... | |
bool | ConvertLine_8bitABGR_to_24bitBGR (const UByte *pInSrcLine_8bitABGR, UByte *pOutDstLine_24BitBGR, const ULWord inNumPixels) |
Converts a single 8-bit ABGR raster line to 24-bit BGR (from NTV2_FBF_ABGR to NTV2_FBF_24BIT_BGR ). More... | |
bool | ConvertLine_8bitABGR_to_48bitRGB (const UByte *pInSrcLine_8bitABGR, ULWord *pOutDstLine_48BitRGB, const ULWord inNumPixels) |
Converts a single 8-bit ABGR raster line to 48-bit RGB (from NTV2_FBF_ABGR to NTV2_FBF_48BIT_RGB ). More... | |
void | ConvertLineToYCbCr422 (RGBAlphaPixel *RGBLine, UByte *YCbCrLine, LWord numPixels, LWord startPixel, bool fUseSDMatrix) |
void | ConvertLineToYCbCr422 (RGBAlphaPixel *RGBLine, UWord *YCbCrLine, LWord numPixels, LWord startPixel, bool fUseSDMatrix) |
void | ConvertLinetoRGB (UByte *ycbcrBuffer, RGBAlphaPixel *rgbaBuffer, ULWord numPixels, bool fUseSDMatrix, bool fUseSMPTERange=false) |
void | ConvertLinetoRGB (UWord *ycbcrBuffer, RGBAlphaPixel *rgbaBuffer, ULWord numPixels, bool fUseSDMatrix, bool fUseSMPTERange=false, bool fAlphaFromLuma=false) |
void | ConvertLineto10BitRGB (UWord *ycbcrBuffer, RGBAlpha10BitPixel *rgbaBuffer, ULWord numPixels, bool fUseSDMatrix, bool fUseSMPTERange=false) |
void | ConvertLineto10BitYCbCrA (const UWord *pInYCbCrBuffer, ULWord *pOutYCbCrABuffer, const ULWord inNumPixels) |
void | ConvertRGBLineto10BitRGB (const RGBAlphaPixel *pInRGBA8Buffer, RGBAlpha10BitPixel *pOutRGBA10Buffer, const ULWord inNumPixels) |
void | ConvertRGBALineToRGB (RGBAlphaPixel *rgbaBuffer, ULWord numPixels) |
void | ConvertRGBALineToBGR (RGBAlphaPixel *rgbaBuffer, ULWord numPixels) |
void | ConvertLineto10BitRGB (const RGBAlphaPixel *pInRGBA8Buffer, ULWord *pOutRGB10BitBuffer, ULWord inNumPixels) |
void | ConvertLineto8BitYCbCr (UWord *ycbcr10BitBuffer, UByte *ycbcr8BitBuffer, ULWord numPixels) |
void | Convert8BitYCbCrToYUY2 (UByte *ycbcrBuffer, ULWord numPixels) |
void | ConvertARGBYCbCrToRGBA (UByte *rgbaBuffer, ULWord numPixels) |
void | ConvertARGBYCbCrToABGR (UByte *rgbaBuffer, ULWord numPixels) |
void | ConvertARGBToRGB (UByte *rgbaLineBuffer, UByte *rgbLineBuffer, ULWord numPixels) |
void | Convert16BitARGBTo16BitRGBEx (UWord *rgbaLineBuffer, UWord *rgbLineBuffer, ULWord numPixels) |
void | Convert16BitARGBTo16BitRGB (RGBAlpha16BitPixel *rgbaLineBuffer, UWord *rgbLineBuffer, ULWord numPixels) |
void | Convert16BitARGBTo12BitRGBPacked (RGBAlpha16BitPixel *rgbaLineBuffer, UByte *rgbLineBuffer, ULWord numPixels) |
void | ConvertARGBToBGR (const UByte *pInRGBALineBuffer, UByte *pOutRGBLineBuffer, const ULWord inNumPixels) |
void | ConvertLineto16BitRGB (UWord *ycbcrBuffer, RGBAlpha16BitPixel *rgbaBuffer, ULWord numPixels, bool fUseSDMatrix, bool fUseSMPTERange=false) |
void | PackRGB10BitFor10BitRGB (RGBAlpha10BitPixel *pBuffer, const ULWord inNumPixels) |
void | PackRGB10BitFor10BitDPX (RGBAlpha10BitPixel *pBuffer, const ULWord inNumPixels, const bool bigEndian=true) |
void | PackRGB10BitFor10BitRGBPacked (RGBAlpha10BitPixel *pBuffer, const ULWord inNumPixels) |
void | SDConvertRGBAlphatoYCbCr (RGBAlphaPixel *pSource, YCbCrPixel *pTarget) |
void | HDConvertRGBAlphatoYCbCr (RGBAlphaPixel *pSource, YCbCrPixel *pTarget) |
void | SDConvertRGBAlphatoYCbCr (const RGBAlphaPixel *pSource, YCbCr10BitPixel *pTarget) |
void | HDConvertRGBAlphatoYCbCr (const RGBAlphaPixel *pSource, YCbCr10BitPixel *pTarget) |
void | SDConvertYCbCrtoRGB (YCbCrAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | SDConvert10BitYCbCrtoRGB (const YCbCr10BitAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | HDConvertYCbCrtoRGB (YCbCrAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | HDConvert10BitYCbCrtoRGB (const YCbCr10BitAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | SDConvert10BitYCbCrto10BitRGB (YCbCr10BitAlphaPixel *pSource, RGBAlpha10BitPixel *pTarget) |
void | HDConvert10BitYCbCrto10BitRGB (YCbCr10BitAlphaPixel *pSource, RGBAlpha10BitPixel *pTarget) |
void | SDConvert10BitYCbCrto16BitRGB (YCbCr10BitAlphaPixel *pSource, RGBAlpha16BitPixel *pTarget) |
void | HDConvert10BitYCbCrto16BitRGB (YCbCr10BitAlphaPixel *pSource, RGBAlpha16BitPixel *pTarget) |
void | SDConvertYCbCrtoRGBSmpte (YCbCrAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | SDConvert10BitYCbCrtoRGBSmpte (YCbCr10BitAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | HDConvertYCbCrtoRGBSmpte (YCbCrAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | HDConvert10BitYCbCrtoRGBSmpte (YCbCr10BitAlphaPixel *pSource, RGBAlphaPixel *pTarget) |
void | SDConvert10BitYCbCrto10BitRGBSmpte (YCbCr10BitAlphaPixel *pSource, RGBAlpha10BitPixel *pTarget) |
void | HDConvert10BitYCbCrto10BitRGBSmpte (YCbCr10BitAlphaPixel *pSource, RGBAlpha10BitPixel *pTarget) |
Declares a number of pixel format transcoder functions.
Definition in file ntv2transcode.h.
void Convert16BitARGBTo12BitRGBPacked | ( | RGBAlpha16BitPixel * | rgbaLineBuffer, |
UByte * | rgbLineBuffer, | ||
ULWord | numPixels | ||
) |
Definition at line 705 of file ntv2transcode.cpp.
void Convert16BitARGBTo16BitRGB | ( | RGBAlpha16BitPixel * | rgbaLineBuffer, |
UWord * | rgbLineBuffer, | ||
ULWord | numPixels | ||
) |
Definition at line 692 of file ntv2transcode.cpp.
void Convert16BitARGBTo16BitRGBEx | ( | UWord * | rgbaLineBuffer, |
UWord * | rgbLineBuffer, | ||
ULWord | numPixels | ||
) |
Definition at line 677 of file ntv2transcode.cpp.
Definition at line 613 of file ntv2transcode.cpp.
void ConvertARGBToBGR | ( | const UByte * | pInRGBALineBuffer, |
UByte * | pOutRGBLineBuffer, | ||
const ULWord | inNumPixels | ||
) |
Definition at line 731 of file ntv2transcode.cpp.
Definition at line 662 of file ntv2transcode.cpp.
Definition at line 646 of file ntv2transcode.cpp.
Definition at line 630 of file ntv2transcode.cpp.
bool ConvertLine_2vuy_to_v210 | ( | const UByte * | pInSrcLine_2vuy, |
ULWord * | pOutDstLine_v210, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit YCbCr '2vuy' raster line to 10-bit YCbCr 'v210' (from NTV2_FBF_8BIT_YCBCR to NTV2_FBF_10BIT_YCBCR ).
[in] | pInSrcLine_2vuy | Specifies a valid, non-NULL address of the first byte of the '2vuy' raster line to be converted. |
[out] | pOutDstLine_v210 | Specifies a valid, non-NULL address of the first byte of the 'v210' raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 14 of file ntv2transcode.cpp.
bool ConvertLine_2vuy_to_yuy2 | ( | const UByte * | pInSrcLine_2vuy, |
UWord * | pOutDstLine_yuy2, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit YCbCr '2vuy' raster line to 10-bit YCbCr 'v210' (from NTV2_FBF_8BIT_YCBCR to NTV2_FBF_8BIT_YCBCR_YUY2 ).
[in] | pInSrcLine_2vuy | Specifies a valid, non-NULL address of the first byte of the '2vuy' raster line to be converted. |
[out] | pOutDstLine_yuy2 | Specifies a valid, non-NULL address of the first byte of the 'YUY2' raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 32 of file ntv2transcode.cpp.
bool ConvertLine_8bitABGR_to_10bitABGR | ( | const UByte * | pInSrcLine_8bitABGR, |
ULWord * | pOutDstLine_10BitABGR, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit ABGR raster line to 10-bit ABGR (from NTV2_FBF_ABGR to NTV2_FBF_10BIT_RGB ).
[in] | pInSrcLine_8bitABGR | Specifies a valid, non-NULL address of the first byte of the 8-bit ABGR raster line to be converted. |
[out] | pOutDstLine_10BitABGR | Specifies a valid, non-NULL address of the first byte of the 10-bit ABGR raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 90 of file ntv2transcode.cpp.
bool ConvertLine_8bitABGR_to_10bitRGBDPX | ( | const UByte * | pInSrcLine_8bitABGR, |
ULWord * | pOutDstLine_10BitDPX, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit ABGR raster line to 10-bit RGB DPX (from NTV2_FBF_ABGR to NTV2_FBF_10BIT_DPX ).
[in] | pInSrcLine_8bitABGR | Specifies a valid, non-NULL address of the first byte of the 8-bit ABGR raster line to be converted. |
[out] | pOutDstLine_10BitDPX | Specifies a valid, non-NULL address of the first byte of the 10-bit RGB DPX raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 110 of file ntv2transcode.cpp.
bool ConvertLine_8bitABGR_to_10bitRGBDPXLE | ( | const UByte * | pInSrcLine_8bitABGR, |
ULWord * | pOutDstLine_10BitDPXLE, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit ABGR raster line to 10-bit RGB DPX (from NTV2_FBF_ABGR to NTV2_FBF_10BIT_DPX_LE ).
[in] | pInSrcLine_8bitABGR | Specifies a valid, non-NULL address of the first byte of the 8-bit ABGR raster line to be converted. |
[out] | pOutDstLine_10BitDPXLE | Specifies a valid, non-NULL address of the first byte of the 10-bit RGB DPX LE raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 129 of file ntv2transcode.cpp.
bool ConvertLine_8bitABGR_to_24bitBGR | ( | const UByte * | pInSrcLine_8bitABGR, |
UByte * | pOutDstLine_24BitBGR, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit ABGR raster line to 24-bit BGR (from NTV2_FBF_ABGR to NTV2_FBF_24BIT_BGR ).
[in] | pInSrcLine_8bitABGR | Specifies a valid, non-NULL address of the first byte of the 8-bit ABGR raster line to be converted. |
[out] | pOutDstLine_24BitBGR | Specifies a valid, non-NULL address of the first byte of the 24-bit BGR raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 167 of file ntv2transcode.cpp.
bool ConvertLine_8bitABGR_to_24bitRGB | ( | const UByte * | pInSrcLine_8bitABGR, |
UByte * | pOutDstLine_24BitRGB, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit ABGR raster line to 24-bit RGB (from NTV2_FBF_ABGR to NTV2_FBF_24BIT_RGB ).
[in] | pInSrcLine_8bitABGR | Specifies a valid, non-NULL address of the first byte of the 8-bit ABGR raster line to be converted. |
[out] | pOutDstLine_24BitRGB | Specifies a valid, non-NULL address of the first byte of the 24-bit RGB raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 148 of file ntv2transcode.cpp.
bool ConvertLine_8bitABGR_to_48bitRGB | ( | const UByte * | pInSrcLine_8bitABGR, |
ULWord * | pOutDstLine_48BitRGB, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 8-bit ABGR raster line to 48-bit RGB (from NTV2_FBF_ABGR to NTV2_FBF_48BIT_RGB ).
[in] | pInSrcLine_8bitABGR | Specifies a valid, non-NULL address of the first byte of the 8-bit ABGR raster line to be converted. |
[out] | pOutDstLine_48BitRGB | Specifies a valid, non-NULL address of the first byte of the 48-bit RGB raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 187 of file ntv2transcode.cpp.
bool ConvertLine_v210_to_2vuy | ( | const ULWord * | pInSrcLine_v210, |
UByte * | pOutDstLine_2vuy, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 10-bit YCbCr 'v210' raster line to 8-bit YCbCr '2vuy'.
[in] | pInSrcLine_v210 | Specifies a valid, non-NULL address of the first byte of the 'v210' raster line to be converted. |
[out] | pOutDstLine_2vuy | Specifies a valid, non-NULL address of the first byte of the '2vuy' raster line to receive the converted data. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 49 of file ntv2transcode.cpp.
bool ConvertLine_v210_to_2vuy | ( | const void * | pInSrcLine_v210, |
std::vector< uint8_t > & | outDstLine2vuy, | ||
const ULWord | inNumPixels | ||
) |
Converts a single 10-bit YCbCr 'v210' raster line to 8-bit YCbCr '2vuy' vector.
[in] | pInSrcLine_v210 | Specifies a valid, non-NULL address of the first byte of the 'v210' raster line to be converted. |
[out] | outDstLine2vuy | Receives the 8-bit '2vuy' vector. Will be cleared upon entry and filled upon exit. |
[in] | inNumPixels | The number of pixels to be converted. |
Definition at line 69 of file ntv2transcode.cpp.
void ConvertLineto10BitRGB | ( | const RGBAlphaPixel * | pInRGBA8Buffer, |
ULWord * | pOutRGB10BitBuffer, | ||
ULWord | inNumPixels | ||
) |
Definition at line 566 of file ntv2transcode.cpp.
void ConvertLineto10BitRGB | ( | UWord * | ycbcrBuffer, |
RGBAlpha10BitPixel * | rgbaBuffer, | ||
ULWord | numPixels, | ||
bool | fUseSDMatrix, | ||
bool | fUseSMPTERange = false |
||
) |
Definition at line 475 of file ntv2transcode.cpp.
void ConvertLineto10BitYCbCrA | ( | const UWord * | pInYCbCrBuffer, |
ULWord * | pOutYCbCrABuffer, | ||
const ULWord | inNumPixels | ||
) |
Definition at line 551 of file ntv2transcode.cpp.
void ConvertLineto16BitRGB | ( | UWord * | ycbcrBuffer, |
RGBAlpha16BitPixel * | rgbaBuffer, | ||
ULWord | numPixels, | ||
bool | fUseSDMatrix, | ||
bool | fUseSMPTERange = false |
||
) |
Definition at line 850 of file ntv2transcode.cpp.
Definition at line 601 of file ntv2transcode.cpp.
void ConvertLinetoRGB | ( | UByte * | ycbcrBuffer, |
RGBAlphaPixel * | rgbaBuffer, | ||
ULWord | numPixels, | ||
bool | fUseSDMatrix, | ||
bool | fUseSMPTERange = false |
||
) |
Definition at line 280 of file ntv2transcode.cpp.
void ConvertLinetoRGB | ( | UWord * | ycbcrBuffer, |
RGBAlphaPixel * | rgbaBuffer, | ||
ULWord | numPixels, | ||
bool | fUseSDMatrix, | ||
bool | fUseSMPTERange = false , |
||
bool | fAlphaFromLuma = false |
||
) |
Definition at line 348 of file ntv2transcode.cpp.
void ConvertLineToYCbCr422 | ( | RGBAlphaPixel * | RGBLine, |
UByte * | YCbCrLine, | ||
LWord | numPixels, | ||
LWord | startPixel, | ||
bool | fUseSDMatrix | ||
) |
Definition at line 209 of file ntv2transcode.cpp.
void ConvertLineToYCbCr422 | ( | RGBAlphaPixel * | RGBLine, |
UWord * | YCbCrLine, | ||
LWord | numPixels, | ||
LWord | startPixel, | ||
bool | fUseSDMatrix | ||
) |
Definition at line 243 of file ntv2transcode.cpp.
void ConvertRGBALineToBGR | ( | RGBAlphaPixel * | rgbaBuffer, |
ULWord | numPixels | ||
) |
Definition at line 453 of file ntv2transcode.cpp.
void ConvertRGBALineToRGB | ( | RGBAlphaPixel * | rgbaBuffer, |
ULWord | numPixels | ||
) |
Definition at line 429 of file ntv2transcode.cpp.
void ConvertRGBLineto10BitRGB | ( | const RGBAlphaPixel * | pInRGBA8Buffer, |
RGBAlpha10BitPixel * | pOutRGBA10Buffer, | ||
const ULWord | inNumPixels | ||
) |
Definition at line 583 of file ntv2transcode.cpp.
|
inline |
Definition at line 487 of file ntv2transcode.h.
|
inline |
Definition at line 713 of file ntv2transcode.h.
|
inline |
Definition at line 546 of file ntv2transcode.h.
|
inline |
Definition at line 432 of file ntv2transcode.h.
|
inline |
Definition at line 658 of file ntv2transcode.h.
|
inline |
Definition at line 329 of file ntv2transcode.h.
|
inline |
Definition at line 284 of file ntv2transcode.h.
|
inline |
Definition at line 405 of file ntv2transcode.h.
|
inline |
Definition at line 631 of file ntv2transcode.h.
void PackRGB10BitFor10BitDPX | ( | RGBAlpha10BitPixel * | pBuffer, |
const ULWord | inNumPixels, | ||
const bool | bigEndian = true |
||
) |
Definition at line 761 of file ntv2transcode.cpp.
void PackRGB10BitFor10BitRGB | ( | RGBAlpha10BitPixel * | pBuffer, |
const ULWord | inNumPixels | ||
) |
Definition at line 746 of file ntv2transcode.cpp.
void PackRGB10BitFor10BitRGBPacked | ( | RGBAlpha10BitPixel * | pBuffer, |
const ULWord | inNumPixels | ||
) |
Definition at line 780 of file ntv2transcode.cpp.
|
inline |
Definition at line 460 of file ntv2transcode.h.
|
inline |
Definition at line 686 of file ntv2transcode.h.
|
inline |
Definition at line 515 of file ntv2transcode.h.
|
inline |
Definition at line 378 of file ntv2transcode.h.
|
inline |
Definition at line 604 of file ntv2transcode.h.
|
inline |
Definition at line 307 of file ntv2transcode.h.
|
inline |
Definition at line 262 of file ntv2transcode.h.
|
inline |
Definition at line 351 of file ntv2transcode.h.
|
inline |
Definition at line 577 of file ntv2transcode.h.