AVPKit
com::avpkit::core::PixelFormat Class Reference
Inheritance diagram for com::avpkit::core::PixelFormat:
Collaboration diagram for com::avpkit::core::PixelFormat:

Static Public Member Functions

static int getFastYUV420PPixelOffset (int width, int height, int x, int y, IPixelFormat::YUVColorComponent c)
 
- Static Public Member Functions inherited from com::avpkit::core::IPixelFormat
static unsigned char getYUV420PPixel (IVideoPicture *frame, int x, int y, YUVColorComponent c)
 Returns the byte for the coordinates at x and y for the color component c. More...
 
static void setYUV420PPixel (IVideoPicture *frame, int x, int y, YUVColorComponent c, unsigned char value)
 Sets the value of the color component c at the coordinates x and y in the given frame. More...
 
static int getYUV420PPixelOffset (IVideoPicture *frame, int x, int y, YUVColorComponent c)
 For a given x and y in a frame, and a given color components, this method tells you how far into the actual data you'd have to go to find the byte that represents that color/coordinate combination. More...
 

Additional Inherited Members

- Public Types inherited from com::avpkit::core::IPixelFormat
enum  Type {
  NONE = -1 , YUV420P , YUYV422 , RGB24 ,
  BGR24 , YUV422P , YUV444P , YUV410P ,
  YUV411P , GRAY8 , MONOWHITE , MONOBLACK ,
  PAL8 , YUVJ420P , YUVJ422P , YUVJ444P ,
  UYVY422 , UYYVYY411 , BGR8 , BGR4 ,
  BGR4_BYTE , RGB8 , RGB4 , RGB4_BYTE ,
  NV12 , NV21 , ARGB , RGBA ,
  ABGR , BGRA , GRAY16BE , GRAY16LE ,
  YUV440P , YUVJ440P , YUVA420P , RGB48BE ,
  RGB48LE , RGB565BE , RGB565LE , RGB555BE ,
  RGB555LE , BGR565BE , BGR565LE , BGR555BE ,
  BGR555LE , VAAPI , YUV420P16LE , YUV420P16BE ,
  YUV422P16LE , YUV422P16BE , YUV444P16LE , YUV444P16BE ,
  DXVA2_VLD , RGB444LE , RGB444BE , BGR444LE ,
  BGR444BE , YA8 , Y400A = YA8 , GRAY8A = YA8 ,
  BGR48BE , BGR48LE , YUV420P9BE , YUV420P9LE ,
  YUV420P10BE , YUV420P10LE , YUV422P10BE , YUV422P10LE ,
  YUV444P9BE , YUV444P9LE , YUV444P10BE , YUV444P10LE ,
  YUV422P9BE , YUV422P9LE , GBRP , GBR24P = GBRP ,
  GBRP9BE , GBRP9LE , GBRP10BE , GBRP10LE ,
  GBRP16BE , GBRP16LE , YUVA422P , YUVA444P ,
  YUVA420P9BE , YUVA420P9LE , YUVA422P9BE , YUVA422P9LE ,
  YUVA444P9BE , YUVA444P9LE , YUVA420P10BE , YUVA420P10LE ,
  YUVA422P10BE , YUVA422P10LE , YUVA444P10BE , YUVA444P10LE ,
  YUVA420P16BE , YUVA420P16LE , YUVA422P16BE , YUVA422P16LE ,
  YUVA444P16BE , YUVA444P16LE , VDPAU , XYZ12LE ,
  XYZ12BE , NV16 , NV20LE , NV20BE ,
  RGBA64BE , RGBA64LE , BGRA64BE , BGRA64LE ,
  YVYU422 , YA16BE , YA16LE , GBRAP ,
  GBRAP16BE , GBRAP16LE , QSV , MMAL ,
  D3D11VA_VLD , CUDA , FMT_0RGB , RGB0 ,
  FMT_0BGR , BGR0 , YUV420P12BE , YUV420P12LE ,
  YUV420P14BE , YUV420P14LE , YUV422P12BE , YUV422P12LE ,
  YUV422P14BE , YUV422P14LE , YUV444P12BE , YUV444P12LE ,
  YUV444P14BE , YUV444P14LE , GBRP12BE , GBRP12LE ,
  GBRP14BE , GBRP14LE , YUVJ411P , BAYER_BGGR8 ,
  BAYER_RGGB8 , BAYER_GBRG8 , BAYER_GRBG8 , BAYER_BGGR16LE ,
  BAYER_BGGR16BE , BAYER_RGGB16LE , BAYER_RGGB16BE , BAYER_GBRG16LE ,
  BAYER_GBRG16BE , BAYER_GRBG16LE , BAYER_GRBG16BE , XVMC ,
  YUV440P10LE , YUV440P10BE , YUV440P12LE , YUV440P12BE ,
  AYUV64LE , AYUV64BE , VIDEOTOOLBOX , P010LE ,
  P010BE , MEDIACODEC , GBRAP12BE , GBRAP12LE ,
  GBRAP10BE , GBRAP10LE , GRAY12BE , GRAY12LE ,
  GRAY10BE , GRAY10LE , P016LE , P016BE ,
  D3D11 , GRAY9BE , GRAY9LE , GBRPF32BE ,
  GBRPF32LE , GBRAPF32BE , GBRAPF32LE , DRM_PRIME ,
  OPENCL , GRAY14BE , GRAY14LE , GRAYF32BE ,
  GRAYF32LE , YUVA422P12BE , YUVA422P12LE , YUVA444P12BE ,
  YUVA444P12LE , NV24 , NV42 , VULKAN ,
  Y210BE , Y210LE , NB
}
 Pixel format. More...
 
enum  YUVColorComponent { YUV_Y =0 , YUV_U =1 , YUV_V =2 }
 
typedef enum com::avpkit::core::IPixelFormat::Type Type
 Pixel format. More...
 
- Public Member Functions inherited from com::avpkit::ferry::RefCounted
virtual int32_t acquire ()
 Internal Only. More...
 
virtual int32_t release ()
 Internal Only. More...
 
virtual RefCountedcopyReference ()
 Create a new Java object that refers to the same native object. More...
 
virtual int32_t getCurrentRefCount ()
 Return the current reference count on this object. More...
 
void setJavaAllocator (void *allocator)
 This method is public but not part of the standard API. More...
 
void * getJavaAllocator ()
 This method is public but not part of the standard API. More...
 
- Protected Member Functions inherited from com::avpkit::ferry::RefCounted
virtual void destroy ()
 This method is called by RefCounted objects when their Ref Count reaches zero and they are about to be destroyed.
 
- Protected Attributes inherited from com::avpkit::ferry::RefCounted
AtomicIntegermRefCount
 This is the internal reference count, represented as an AtomicInteger to make sure it is thread safe.
 
void * mAllocator
 Not part of public API.
 

Detailed Description

Definition at line 27 of file PixelFormat.h.


The documentation for this class was generated from the following file: