#include <videoout_directfb.h>

Definition at line 10 of file videoout_directfb.h.
Public Member Functions | |
| VideoOutputDirectfb () | |
| ~VideoOutputDirectfb () | |
| bool | Init (int width, int height, float aspect, WId winid, int winx, int winy, int winw, int winh, WId embedid=0) |
| Performs most of the initialization for VideoOutput. | |
| void | ProcessFrame (VideoFrame *frame, OSD *osd, FilterChain *filterList, NuppelVideoPlayer *pipPlayer) |
| void | PrepareFrame (VideoFrame *buffer, FrameScanType) |
| void | Show (FrameScanType) |
| void | MoveResize (void) |
| performs all the calculations for video framing and any resizing. | |
| bool | InputChanged (const QSize &input_size, float aspect, MythCodecID av_codec_id, void *codec_private) |
| Tells video output to discard decoded frames and wait for new ones. | |
| void | Zoom (ZoomDirection direction) |
| Sets up zooming into to different parts of the video, the zoom is actually applied in MoveResize(). | |
| void | DrawUnusedRects (bool) |
| Draws non-video portions of the screen. | |
| void | UpdatePauseFrame (void) |
| Updates frame displayed when video is paused. | |
| int | SetPictureAttribute (PictureAttribute attribute, int newValue) |
| Sets a specified picture attribute. | |
| int | GetRefreshRate (void) |
| Returns current display's frame refresh period in microseconds. | |
Static Public Member Functions | |
| static QStringList | GetAllowedRenderers (MythCodecID myth_codec_id, const QSize &video_dim) |
Private Attributes | |
| bool | XJ_started |
| VideoFrame | pauseFrame |
| QObject * | widget |
| DirectfbData * | data |
| VideoOutputDirectfb::VideoOutputDirectfb | ( | void | ) |
Definition at line 259 of file videoout_directfb.cpp.
| VideoOutputDirectfb::~VideoOutputDirectfb | ( | ) |
Definition at line 266 of file videoout_directfb.cpp.
| bool VideoOutputDirectfb::Init | ( | int | width, | |
| int | height, | |||
| float | aspect, | |||
| WId | winid, | |||
| int | winx, | |||
| int | winy, | |||
| int | winw, | |||
| int | winh, | |||
| WId | embedid = 0 | |||
| ) | [virtual] |
Performs most of the initialization for VideoOutput.
Reimplemented from VideoOutput.
Definition at line 354 of file videoout_directfb.cpp.
| void VideoOutputDirectfb::ProcessFrame | ( | VideoFrame * | frame, | |
| OSD * | osd, | |||
| FilterChain * | filterList, | |||
| NuppelVideoPlayer * | pipPlayer | |||
| ) | [virtual] |
| void VideoOutputDirectfb::PrepareFrame | ( | VideoFrame * | buffer, | |
| FrameScanType | ||||
| ) | [virtual] |
| void VideoOutputDirectfb::Show | ( | FrameScanType | ) | [virtual] |
| void VideoOutputDirectfb::MoveResize | ( | void | ) | [virtual] |
performs all the calculations for video framing and any resizing.
First we apply playback over/underscanning and offsetting, then we letterbox settings, and finally we apply manual scale & move properties for "Zoom Mode".
Reimplemented from VideoOutput.
Definition at line 958 of file videoout_directfb.cpp.
Referenced by Init(), InputChanged(), and Zoom().
| bool VideoOutputDirectfb::InputChanged | ( | const QSize & | input_size, | |
| float | aspect, | |||
| MythCodecID | myth_codec_id, | |||
| void * | codec_private | |||
| ) | [virtual] |
Tells video output to discard decoded frames and wait for new ones.
Reimplemented from VideoOutput.
Definition at line 913 of file videoout_directfb.cpp.
| void VideoOutputDirectfb::Zoom | ( | ZoomDirection | direction | ) | [virtual] |
Sets up zooming into to different parts of the video, the zoom is actually applied in MoveResize().
Reimplemented from VideoOutput.
Definition at line 952 of file videoout_directfb.cpp.
| void VideoOutputDirectfb::DrawUnusedRects | ( | bool | sync | ) | [inline, virtual] |
Draws non-video portions of the screen.
| sync | if set any queued up draws are sent immediately to the graphics context and we block until they have completed. |
Implements VideoOutput.
Definition at line 31 of file videoout_directfb.h.
| void VideoOutputDirectfb::UpdatePauseFrame | ( | void | ) | [virtual] |
Updates frame displayed when video is paused.
Implements VideoOutput.
Definition at line 823 of file videoout_directfb.cpp.
| int VideoOutputDirectfb::SetPictureAttribute | ( | PictureAttribute | attribute, | |
| int | newValue | |||
| ) | [virtual] |
Sets a specified picture attribute.
| attribute | Picture attribute to set. | |
| newValue | Value to set attribute to. |
Reimplemented from VideoOutput.
Definition at line 997 of file videoout_directfb.cpp.
| int VideoOutputDirectfb::GetRefreshRate | ( | void | ) | [virtual] |
Returns current display's frame refresh period in microseconds.
e.g. 1000000 / frame_rate_in_Hz
Implements VideoOutput.
Definition at line 299 of file videoout_directfb.cpp.
| QStringList VideoOutputDirectfb::GetAllowedRenderers | ( | MythCodecID | myth_codec_id, | |
| const QSize & | video_dim | |||
| ) | [static] |
bool VideoOutputDirectfb::XJ_started [private] |
Definition at line 41 of file videoout_directfb.h.
Referenced by Init(), and ~VideoOutputDirectfb().
VideoFrame VideoOutputDirectfb::pauseFrame [private] |
Definition at line 42 of file videoout_directfb.h.
Referenced by Init(), InputChanged(), ProcessFrame(), UpdatePauseFrame(), VideoOutputDirectfb(), and ~VideoOutputDirectfb().
QObject* VideoOutputDirectfb::widget [private] |
DirectfbData* VideoOutputDirectfb::data [private] |
Definition at line 44 of file videoout_directfb.h.
Referenced by Init(), InputChanged(), MoveResize(), PrepareFrame(), ProcessFrame(), SetPictureAttribute(), Show(), UpdatePauseFrame(), and ~VideoOutputDirectfb().
1.5.5