BufferGfx.h File Reference

#include <xdc/std.h>
#include <ti/sdo/dmai/Dmai.h>
#include <ti/sdo/dmai/Buffer.h>
#include <ti/sdo/dmai/VideoStd.h>
#include <ti/sdo/dmai/ColorSpace.h>

Go to the source code of this file.


Data Structures

struct  BufferGfx_Dimensions
 Describes the dimensions of a graphics Buffer. More...
struct  BufferGfx_Attrs
 Describes the attributes used to create a BufferGfx instance. More...

Functions

Buffer_AttrsBufferGfx_getBufferAttrs (BufferGfx_Attrs *gfxAttrs)
 Get the basic Buffer_Attrs of a BufferGfx_Attrs structure.
Int32 BufferGfx_calcSize (VideoStd_Type videoStd, ColorSpace_Type colorSpace)
 Calculate the size of a Buffer given a VideoStd_Type and a ColorSpace_Type.
Int32 BufferGfx_calcSizeDim (BufferGfx_Dimensions *dimPtr, ColorSpace_Type colorSpace)
 Calculate the size of a Buffer given BufferGfx_Dimensions and a ColorSpace_Type.
Int BufferGfx_calcDimensions (VideoStd_Type videoStd, ColorSpace_Type colorSpace, BufferGfx_Dimensions *dimPtr)
 Calculate the dimensions of a Buffer given a VideoStd_Type and a ColorSpace_Type.
Int32 BufferGfx_calcLineLength (Int32 width, ColorSpace_Type colorSpace)
 Calculate the line length (pitch) of a Buffer given a ColorSpace_Type.
Int32 BufferGfx_getFrameType (Buffer_Handle hBuf)
 Get the frame type of a BufferGfx instance.
Void BufferGfx_setFrameType (Buffer_Handle hBuf, Int32 frameType)
 Set the frame type of a BufferGfx instance,.
ColorSpace_Type BufferGfx_getColorSpace (Buffer_Handle hBuf)
 Get the ColorSpace_Type of a BufferGfx instance.
Void BufferGfx_setColorSpace (Buffer_Handle hBuf, ColorSpace_Type colorSpace)
 Set the ColorSpace_Type of a BufferGfx instance.
Void BufferGfx_getDimensions (Buffer_Handle hBuf, BufferGfx_Dimensions *dimPtr)
 Get the BufferGfx_Dimensions of a BufferGfx instance. If the current dimensions are not set (all fields set to 0), the original dimensions will be returned, otherwise the current dimensions are returned.
Int BufferGfx_setDimensions (Buffer_Handle hBuf, BufferGfx_Dimensions *dimPtr)
 Set the current BufferGfx_Dimensions of a BufferGfx instance.
Void BufferGfx_resetDimensions (Buffer_Handle hBuf)
 Reset the dimensions to the original create time dimensions.
Int BufferGfx_setMaxDimensions (Buffer_Handle hBuf, BufferGfx_Dimensions *dimPtr)
 Set the maximum dimensions of a Buffer reference.

Variables

const BufferGfx_Attrs BufferGfx_Attrs_DEFAULT
 The default BufferGfx_Attrs used to create a BufferGfx instance.

Copyright 2011, Texas Instruments Incorporated