#include <videoout_dvdv.h>
It's used by AvFormatDecoder and VideoOutputQuartz, and also interacts with libavcodec (see dvdv.h).
Definition at line 23 of file videoout_dvdv.h.
Public Member Functions | |
| DVDV () | |
| ~DVDV () | |
| void | Reset (void) |
| bool | SetVideoSize (const QSize &) |
| bool | PreProcessFrame (AVCodecContext *) |
| void | PostProcessFrame (AVCodecContext *, VideoFrame *, int, bool) |
| DVDV () | |
| ~DVDV () | |
| bool | SetVideoSize (const QSize &video_dim) |
| Initialize the Accel params with the size of video to be decoded. | |
| void | Teardown (void) |
| Tear down most of Accel without deleting the instance. | |
| void | Reset (void) |
| Reset the Accel state. | |
| bool | PreProcessFrame (AVCodecContext *context) |
| Prepare the Accel code for a call to avcodec_decode_video. | |
| void | PostProcessFrame (AVCodecContext *context, VideoFrame *pic, int pict_type, bool gotpicture) |
| Process the macroblocks collected by avcodec_decode_video. | |
| void | MoveResize (int imgx, int imgy, int imgw, int imgh, int dispxoff, int dispyoff, int dispwoff, int disphoff) |
| Resize and reposition the video subwindow. | |
| void | DrawOSD (unsigned char *y, unsigned char *u, unsigned char *v, unsigned char *alpha) |
| Update the OSD display. | |
| void | DecodeFrame (VideoFrame *pic) |
| Decode a buffered video frame. | |
| void | ShowFrame () |
| Draw the most recently decoded video frame to the screen. | |
Protected Attributes | |
| struct DVDV_Private * | d |
| DVDV::DVDV | ( | ) | [inline] |
Definition at line 26 of file videoout_dvdv.h.
| DVDV::~DVDV | ( | ) | [inline] |
Definition at line 27 of file videoout_dvdv.h.
| DVDV::DVDV | ( | ) |
| DVDV::~DVDV | ( | ) |
| void DVDV::Reset | ( | void | ) | [inline] |
| bool DVDV::SetVideoSize | ( | const QSize & | video_dim | ) | [inline] |
Definition at line 30 of file videoout_dvdv.h.
Referenced by VideoOutputQuartz::Init(), VideoOutputQuartz::InputChanged(), and AvFormatDecoderPrivate::SetVideoSize().
| bool DVDV::PreProcessFrame | ( | AVCodecContext * | context | ) | [inline] |
Definition at line 31 of file videoout_dvdv.h.
Referenced by AvFormatDecoderPrivate::DecodeMPEG2Video().
| void DVDV::PostProcessFrame | ( | AVCodecContext * | context, | |
| VideoFrame * | pic, | |||
| int | pict_type, | |||
| bool | gotpicture | |||
| ) | [inline] |
Definition at line 32 of file videoout_dvdv.h.
Referenced by AvFormatDecoderPrivate::DecodeMPEG2Video().
| bool DVDV::SetVideoSize | ( | const QSize & | video_dim | ) |
Initialize the Accel params with the size of video to be decoded.
| void DVDV::Teardown | ( | void | ) |
Tear down most of Accel without deleting the instance.
Note: We need to be torn down in the same thread that called SetVideoSize().
| void DVDV::Reset | ( | void | ) |
Reset the Accel state.
| bool DVDV::PreProcessFrame | ( | AVCodecContext * | context | ) |
Prepare the Accel code for a call to avcodec_decode_video.
| void DVDV::PostProcessFrame | ( | AVCodecContext * | context, | |
| VideoFrame * | pic, | |||
| int | pict_type, | |||
| bool | gotpicture | |||
| ) |
Process the macroblocks collected by avcodec_decode_video.
| void DVDV::MoveResize | ( | int | imgx, | |
| int | imgy, | |||
| int | imgw, | |||
| int | imgh, | |||
| int | dispxoff, | |||
| int | dispyoff, | |||
| int | dispwoff, | |||
| int | disphoff | |||
| ) |
Resize and reposition the video subwindow.
Definition at line 328 of file videoout_dvdv.mm.
Referenced by VideoOutputQuartzView::Transform().
| void DVDV::DrawOSD | ( | unsigned char * | y, | |
| unsigned char * | u, | |||
| unsigned char * | v, | |||
| unsigned char * | alpha | |||
| ) |
Update the OSD display.
Definition at line 391 of file videoout_dvdv.mm.
Referenced by VideoOutputQuartz::ProcessFrame().
| void DVDV::DecodeFrame | ( | VideoFrame * | pic | ) |
Decode a buffered video frame.
Definition at line 702 of file videoout_dvdv.mm.
Referenced by VideoOutputQuartz::PrepareFrame().
| void DVDV::ShowFrame | ( | ) |
struct DVDV_Private* DVDV::d [read, protected] |
Definition at line 78 of file videoout_dvdv.h.
Referenced by DecodeFrame(), DrawOSD(), and MoveResize().
1.5.5