20 #ifndef IPIXELFORMAT_H_
21 #define IPIXELFORMAT_H_
23 #include <com/avpkit/ferry/RefCounted.h>
24 #include <com/avpkit/core/AVPKit.h>
25 #include <libavutil/version.h>
26 #include <libavcodec/version.h>
29 #ifndef LIBAVUTIL_VERSION_MAJOR
30 #define LIBAVUTIL_VERSION_MAJOR 55
33 namespace com {
namespace avpkit {
namespace core
383 static unsigned char getYUV420PPixel(IVideoPicture *frame,
int x,
int y, YUVColorComponent c);
396 static void setYUV420PPixel(IVideoPicture *frame,
int x,
int y, YUVColorComponent c,
unsigned char value);
413 static int getYUV420PPixelOffset(IVideoPicture *frame,
int x,
int y, YUVColorComponent c);
416 virtual ~IPixelFormat();
Parent of all Ferry objects – it mains reference counts in native code.
WARNING: Do not use logging in this class, and do not set any static file variables to values other t...