Theora Playback Library
1.0.0
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
theoraplayer
include
theoraplayer
TheoraVideoFrame.h
Go to the documentation of this file.
1
/************************************************************************************
2
This source file is part of the Theora Video Playback Library
3
For latest info, see http://libtheoraplayer.sourceforge.net/
4
*************************************************************************************
5
Copyright (c) 2008-2013 Kresimir Spes (kspes@cateia.com)
6
This program is free software; you can redistribute it and/or modify it under
7
the terms of the BSD license: http://www.opensource.org/licenses/bsd-license.php
8
*************************************************************************************/
9
#ifndef _TheoraVideoFrame_h
10
#define _TheoraVideoFrame_h
11
12
#include "
TheoraExport.h
"
13
#include "
TheoraVideoClip.h
"
14
15
struct
TheoraPixelTransform
;
19
class
TheoraPlayerExport
TheoraVideoFrame
20
{
21
protected
:
22
TheoraVideoClip
*
mParent
;
23
unsigned
char
*
mBuffer
;
24
unsigned
long
mFrameNumber
;
25
public
:
27
float
mTimeToDisplay
;
29
bool
mReady
;
31
bool
mInUse
;
33
int
mIteration
;
34
35
int
mBpp
;
36
37
TheoraVideoFrame
(
TheoraVideoClip
* parent);
38
virtual
~
TheoraVideoFrame
();
39
41
void
_setFrameNumber
(
int
number) { mFrameNumber = number; }
43
int
getFrameNumber
() {
return
mFrameNumber; }
44
45
void
clear();
46
47
int
getWidth();
48
int
getStride();
49
int
getHeight();
50
51
unsigned
char
* getBuffer();
52
54
virtual
void
decode(
struct
TheoraPixelTransform
* t);
55
};
56
#endif
Generated by
1.8.3.1