|
svvitch
digital signage player
|
ビデオフレームクラス. More...
#include <VideoFrame.h>

Public Member Functions | |
| VideoFrame (Renderer &renderer) | |
| VideoFrame (Renderer &renderer, const int w, const int h, const int linesize[], const D3DFORMAT format) | |
| VideoFrame (Renderer &renderer, const int w, const int h, const int linesize[], const int h2, const D3DFORMAT format, const LPD3DXEFFECT fx) | |
| virtual | ‾VideoFrame () |
| const int | frameNumber () const |
| const int | width () const |
| const int | height () const |
| const bool | equals (const int w, const int h, const D3DFORMAT format) |
| void | copy (VideoFrame *frame) |
| void | write (const AVFrame *frame) |
| void | draw (const int x, const int y, int w=-1, int h=-1, int aspectMode=0, DWORD col=0xffffffff, int tx=0, int ty=0, int tw=-1, int th=-1) |
Private Member Functions | |
| const Float | toTexelU (const int pixel) |
| const Float | toTexelV (const int pixel) |
Private Attributes | |
| Poco::Logger & | _log |
| Renderer & | _renderer |
| int | _frameNumber |
| int | _ow |
| int | _oh |
| int | _w [3] |
| int | _h [3] |
| LPDIRECT3DTEXTURE9 | _texture [3] |
| LPD3DXEFFECT | _fx |
Friends | |
| class | FFVideoDecoder |
| VideoFrame::VideoFrame | ( | Renderer & | renderer | ) | [inline] |
Definition at line 48 of file VideoFrame.h.
| VideoFrame::VideoFrame | ( | Renderer & | renderer, |
| const int | w, | ||
| const int | h, | ||
| const int | linesize[], | ||
| const D3DFORMAT | format | ||
| ) | [inline] |
| VideoFrame::VideoFrame | ( | Renderer & | renderer, |
| const int | w, | ||
| const int | h, | ||
| const int | linesize[], | ||
| const int | h2, | ||
| const D3DFORMAT | format, | ||
| const LPD3DXEFFECT | fx | ||
| ) | [inline] |
| void VideoFrame::copy | ( | VideoFrame * | frame | ) | [inline] |
| void VideoFrame::draw | ( | const int | x, |
| const int | y, | ||
| int | w = -1, |
||
| int | h = -1, |
||
| int | aspectMode = 0, |
||
| DWORD | col = 0xffffffff, |
||
| int | tx = 0, |
||
| int | ty = 0, |
||
| int | tw = -1, |
||
| int | th = -1 |
||
| ) | [inline] |
| const bool VideoFrame::equals | ( | const int | w, |
| const int | h, | ||
| const D3DFORMAT | format | ||
| ) | [inline] |
Definition at line 101 of file VideoFrame.h.
| const int VideoFrame::frameNumber | ( | ) | const [inline] |
Definition at line 89 of file VideoFrame.h.
| const int VideoFrame::height | ( | ) | const [inline] |
Definition at line 97 of file VideoFrame.h.
| const Float VideoFrame::toTexelU | ( | const int | pixel | ) | [inline, private] |
| const Float VideoFrame::toTexelV | ( | const int | pixel | ) | [inline, private] |
| const int VideoFrame::width | ( | ) | const [inline] |
Definition at line 93 of file VideoFrame.h.
| void VideoFrame::write | ( | const AVFrame * | frame | ) | [inline] |
Definition at line 131 of file VideoFrame.h.
| virtual VideoFrame::‾VideoFrame | ( | ) | [inline, virtual] |
Definition at line 83 of file VideoFrame.h.
friend class FFVideoDecoder [friend] |
Definition at line 25 of file VideoFrame.h.
int VideoFrame::_frameNumber [private] |
Definition at line 30 of file VideoFrame.h.
LPD3DXEFFECT VideoFrame::_fx [private] |
Definition at line 36 of file VideoFrame.h.
int VideoFrame::_h[3] [private] |
Definition at line 34 of file VideoFrame.h.
Poco::Logger& VideoFrame::_log [private] |
Definition at line 27 of file VideoFrame.h.
int VideoFrame::_oh [private] |
Definition at line 32 of file VideoFrame.h.
int VideoFrame::_ow [private] |
Definition at line 31 of file VideoFrame.h.
Renderer& VideoFrame::_renderer [private] |
Definition at line 29 of file VideoFrame.h.
LPDIRECT3DTEXTURE9 VideoFrame::_texture[3] [private] |
Definition at line 35 of file VideoFrame.h.
int VideoFrame::_w[3] [private] |
Definition at line 33 of file VideoFrame.h.