20 #ifndef VIDEORESAMPLER_H_
21 #define VIDEORESAMPLER_H_
23 #include <com/avpkit/core/IVideoResampler.h>
33 namespace com {
namespace avpkit {
namespace core
58 virtual int32_t
setProperty(
const char* name,
const char* value);
59 virtual int32_t
setProperty(
const char* name,
double value);
60 virtual int32_t
setProperty(
const char* name, int64_t value);
61 virtual int32_t
setProperty(
const char* name,
bool value);
71 int32_t outputWidth, int32_t outputHeight,
73 int32_t inputWidth, int32_t inputHeight,
Represents settable properties that effect how AVPKit objects operate.
This class wraps represents a Rational number for the AVPKit.
Represents one raw (undecoded) picture in a video stream, plus a timestamp for when to display that v...
Converts IVideoPicture objects of a given width, height and format to a new width,...
virtual bool getPropertyAsBoolean(const char *name)
Gets the value of this property, and returns as a boolean.
virtual int32_t getNumProperties()
Returns the total number of settable properties on this object.
virtual IPixelFormat::Type getOutputPixelFormat()
Get the output pixel format.
virtual char * getPropertyAsString(const char *name)
Gets a property on this Object.
virtual IProperty * getPropertyMetaData(int32_t propertyNo)
Returns the name of the numbered property.
virtual int32_t getInputHeight()
Get the height in pixels we expect on the input frame to the resampler.
virtual int32_t resample(IVideoPicture *pOutFrame, IVideoPicture *pInFrame)
Resample in to out based on the resampler parameters.
virtual IPixelFormat::Type getInputPixelFormat()
Get the input pixel format.
virtual int64_t getPropertyAsLong(const char *name)
Gets the value of this property, and returns as an long;.
virtual IRational * getPropertyAsRational(const char *name)
Gets the value of this property, and returns as an IRational;.
virtual double getPropertyAsDouble(const char *name)
Gets the value of this property, and returns as a double;.
virtual int32_t getInputWidth()
Get the width in pixels we expect on the input frame to the resampler.
virtual int32_t getOutputHeight()
Get the output height, in pixels.
virtual int32_t getOutputWidth()
Get the output width, in pixels.
virtual int32_t setProperty(const char *name, const char *value)
Sets a property on this Object.
WARNING: Do not use logging in this class, and do not set any static file variables to values other t...