FreeRDP
yuv.h File Reference
#include <freerdp/api.h>
#include <freerdp/types.h>
#include <freerdp/constants.h>
This graph shows which files directly or indirectly include this file:

Functions

FREERDP_API BOOL yuv420_context_decode (YUV_CONTEXT *context, const BYTE *pYUVData[3], const UINT32 iStride[3], UINT32 yuvHeight, DWORD DstFormat, BYTE *dest, UINT32 nDstStep, const RECTANGLE_16 *regionRects, UINT32 numRegionRects)
 
FREERDP_API BOOL yuv420_context_encode (YUV_CONTEXT *context, const BYTE *rgbData, UINT32 srcStep, UINT32 srcFormat, const UINT32 iStride[3], BYTE *yuvData[3], const RECTANGLE_16 *regionRects, UINT32 numRegionRects)
 
FREERDP_API BOOL yuv444_context_decode (YUV_CONTEXT *context, BYTE type, const BYTE *pYUVData[3], const UINT32 iStride[3], UINT32 srcYuvHeight, BYTE *pYUVDstData[3], const UINT32 iDstStride[3], DWORD DstFormat, BYTE *dest, UINT32 nDstStep, const RECTANGLE_16 *regionRects, UINT32 numRegionRects)
 
FREERDP_API BOOL yuv444_context_encode (YUV_CONTEXT *context, BYTE version, const BYTE *pSrcData, UINT32 nSrcStep, UINT32 SrcFormat, const UINT32 iStride[3], BYTE *pYUVLumaData[3], BYTE *pYUVChromaData[3], const RECTANGLE_16 *regionRects, UINT32 numRegionRects)
 
FREERDP_API BOOL yuv_context_reset (YUV_CONTEXT *context, UINT32 width, UINT32 height)
 
FREERDP_API void yuv_context_free (YUV_CONTEXT *context)
 
FREERDP_API YUV_CONTEXT * yuv_context_new (BOOL encoder, UINT32 ThreadingFlags)
 

Function Documentation

◆ yuv420_context_decode()

FREERDP_API BOOL yuv420_context_decode ( YUV_CONTEXT *  context,
const BYTE pYUVData[3],
const UINT32  iStride[3],
UINT32  yuvHeight,
DWORD  DstFormat,
BYTE dest,
UINT32  nDstStep,
const RECTANGLE_16 regionRects,
UINT32  numRegionRects 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ yuv420_context_encode()

FREERDP_API BOOL yuv420_context_encode ( YUV_CONTEXT *  context,
const BYTE rgbData,
UINT32  srcStep,
UINT32  srcFormat,
const UINT32  iStride[3],
BYTE yuvData[3],
const RECTANGLE_16 regionRects,
UINT32  numRegionRects 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ yuv444_context_decode()

FREERDP_API BOOL yuv444_context_decode ( YUV_CONTEXT *  context,
BYTE  type,
const BYTE pYUVData[3],
const UINT32  iStride[3],
UINT32  srcYuvHeight,
BYTE pYUVDstData[3],
const UINT32  iDstStride[3],
DWORD  DstFormat,
BYTE dest,
UINT32  nDstStep,
const RECTANGLE_16 regionRects,
UINT32  numRegionRects 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ yuv444_context_encode()

FREERDP_API BOOL yuv444_context_encode ( YUV_CONTEXT *  context,
BYTE  version,
const BYTE pSrcData,
UINT32  nSrcStep,
UINT32  SrcFormat,
const UINT32  iStride[3],
BYTE pYUVLumaData[3],
BYTE pYUVChromaData[3],
const RECTANGLE_16 regionRects,
UINT32  numRegionRects 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ yuv_context_free()

FREERDP_API void yuv_context_free ( YUV_CONTEXT *  context)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ yuv_context_new()

FREERDP_API YUV_CONTEXT* yuv_context_new ( BOOL  encoder,
UINT32  ThreadingFlags 
)

do it here to avoid a race condition between threads

Here is the call graph for this function:
Here is the caller graph for this function:

◆ yuv_context_reset()

FREERDP_API BOOL yuv_context_reset ( YUV_CONTEXT *  context,
UINT32  width,
UINT32  height 
)
Here is the call graph for this function:
Here is the caller graph for this function: