summaryrefslogtreecommitdiff
path: root/rotord/libavwrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'rotord/libavwrapper.h')
-rwxr-xr-xrotord/libavwrapper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/rotord/libavwrapper.h b/rotord/libavwrapper.h
index e48dfa5..a663289 100755
--- a/rotord/libavwrapper.h
+++ b/rotord/libavwrapper.h
@@ -95,8 +95,11 @@ namespace libav {
virtual ~decoder();
//bool open(QUrl url, enum PixelFormat formatParam = PIX_FMT_RGB24);
//bool open(QIODevice& fileStream, QString& fileName, enum PixelFormat formatParam = PIX_FMT_RGB24);
+ bool reinit_buffers_and_scaler();
+ bool init_buffers_and_scaler();
uint8_t getPixelIntensity(int x, int y, Channel c = GRAY) const;
bool fetchFrame(int targetFrameIndex = 0);
+ bool fetchFrame(int w,int h,int targetFrameIndex = 0);
int getNumberOfFrames() const;
int getWidth() const;
int getHeight() const;
@@ -265,6 +268,7 @@ namespace libav {
AVPacket packet;
int sample_end;
int sample_start;
+ bool isPlanar;
};