#include <XvMCSurfaceTypes.h>
Definition at line 44 of file XvMCSurfaceTypes.h.
Public Member Functions | |
| XvMCSurfaceTypes (Display *dpy, XvPortID port) | |
| ~XvMCSurfaceTypes () | |
| int | find (int pminWidth, int pminHeight, int chroma, bool vld, bool idct, int mpeg, int pminSubpictureWidth, int pminSubpictureHeight) |
| Find an appropriate surface on the current port. | |
| bool | hasChroma420 (int surface) const |
| bool | hasChroma422 (int surface) const |
| bool | hasChroma444 (int surface) const |
| bool | hasOverlay (int surface) const |
| bool | hasBackendSubpicture (int surface) const |
| bool | hasSubpictureScaling (int surface) const |
| bool | isIntraUnsigned (int surface) const |
| bool | hasCopyToPBuffer (int surface) const |
| bool | hasMotionCompensationAcceleration (int surface) const |
| bool | hasIDCTAcceleration (int surface) const |
| bool | hasVLDAcceleration (int surface) const |
| bool | hasMPEG1Support (int surface) const |
| bool | hasMPEG2Support (int surface) const |
| bool | hasH263Support (int surface) const |
| bool | hasMPEG4Support (int surface) const |
| int | surfaceTypeID (int surface) const |
| unsigned short | maxWidth (int surface) const |
| unsigned short | maxHeight (int surface) const |
| unsigned short | maxSubpictureWidth (int surface) const |
| unsigned short | maxSubpictureHeight (int surface) const |
| void | set (int surface, XvMCSurfaceInfo *surfinfo) const |
| int | size () const |
| QString | toString (Display *pdisp=NULL, XvPortID p=0) const |
| ostream & | operator<< (ostream &os) const |
Static Public Member Functions | |
| static void | find (int minWidth, int minHeight, int chroma, bool vld, bool idct, int mpeg, int minSubpictureWidth, int minSubpictureHeight, Display *dpy, XvPortID portMin, XvPortID portMax, XvPortID &port, int &surfNum) |
| Find an appropriate surface on the current display. | |
| static bool | has (Display *pdisp, XvMCAccelID accel_type, uint stream_type, int chroma, uint width, uint height, uint osd_width, uint osd_height) |
| Find out if there is a surface on any port capable of a specific acceleration type. | |
| static QString | XvMCDescription (Display *pdisp=NULL) |
Private Attributes | |
| int | num |
| XvMCSurfaceInfo * | surfaces |
| XvMCSurfaceTypes::XvMCSurfaceTypes | ( | Display * | dpy, | |
| XvPortID | port | |||
| ) | [inline] |
Definition at line 47 of file XvMCSurfaceTypes.h.
| XvMCSurfaceTypes::~XvMCSurfaceTypes | ( | ) | [inline] |
Definition at line 52 of file XvMCSurfaceTypes.h.
| int XvMCSurfaceTypes::find | ( | int | pminWidth, | |
| int | pminHeight, | |||
| int | chroma, | |||
| bool | vld, | |||
| bool | idct, | |||
| int | mpeg, | |||
| int | pminSubpictureWidth, | |||
| int | pminSubpictureHeight | |||
| ) | [inline] |
Find an appropriate surface on the current port.
Definition at line 43 of file XvMCSurfaceTypes.cpp.
Referenced by find(), VideoOutputXv::GrabSuitableXvPort(), and has().
| bool XvMCSurfaceTypes::hasChroma420 | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasChroma422 | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasChroma444 | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasOverlay | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasBackendSubpicture | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasSubpictureScaling | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::isIntraUnsigned | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasCopyToPBuffer | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasMotionCompensationAcceleration | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasIDCTAcceleration | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasVLDAcceleration | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasMPEG1Support | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasMPEG2Support | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasH263Support | ( | int | surface | ) | const [inline] |
| bool XvMCSurfaceTypes::hasMPEG4Support | ( | int | surface | ) | const [inline] |
| int XvMCSurfaceTypes::surfaceTypeID | ( | int | surface | ) | const [inline] |
| unsigned short XvMCSurfaceTypes::maxWidth | ( | int | surface | ) | const [inline] |
| unsigned short XvMCSurfaceTypes::maxHeight | ( | int | surface | ) | const [inline] |
| unsigned short XvMCSurfaceTypes::maxSubpictureWidth | ( | int | surface | ) | const [inline] |
| unsigned short XvMCSurfaceTypes::maxSubpictureHeight | ( | int | surface | ) | const [inline] |
| void XvMCSurfaceTypes::set | ( | int | surface, | |
| XvMCSurfaceInfo * | surfinfo | |||
| ) | const [inline] |
Definition at line 170 of file XvMCSurfaceTypes.h.
Referenced by VideoOutputXv::GrabSuitableXvPort().
| int XvMCSurfaceTypes::size | ( | ) | const [inline] |
Definition at line 175 of file XvMCSurfaceTypes.h.
Referenced by find(), VideoOutputXv::GrabSuitableXvPort(), toString(), and XvMCDescription().
| void XvMCSurfaceTypes::find | ( | int | minWidth, | |
| int | minHeight, | |||
| int | chroma, | |||
| bool | vld, | |||
| bool | idct, | |||
| int | mpeg, | |||
| int | minSubpictureWidth, | |||
| int | minSubpictureHeight, | |||
| Display * | dpy, | |||
| XvPortID | portMin, | |||
| XvPortID | portMax, | |||
| XvPortID & | port, | |||
| int & | surfNum | |||
| ) | [static] |
Find an appropriate surface on the current display.
Definition at line 86 of file XvMCSurfaceTypes.cpp.
| bool XvMCSurfaceTypes::has | ( | Display * | pdisp, | |
| XvMCAccelID | accel_type, | |||
| uint | stream_type, | |||
| int | chroma, | |||
| uint | width, | |||
| uint | height, | |||
| uint | osd_width, | |||
| uint | osd_height | |||
| ) | [static] |
Find out if there is a surface on any port capable of a specific acceleration type.
Definition at line 122 of file XvMCSurfaceTypes.cpp.
Referenced by VideoOutputXv::GetBestSupportedCodec().
| QString XvMCSurfaceTypes::XvMCDescription | ( | Display * | pdisp = NULL |
) | [static] |
Definition at line 310 of file XvMCSurfaceTypes.cpp.
| QString XvMCSurfaceTypes::toString | ( | Display * | pdisp = NULL, |
|
| XvPortID | p = 0 | |||
| ) | const |
Definition at line 247 of file XvMCSurfaceTypes.cpp.
Referenced by operator<<(), and XvMCDescription().
| ostream& XvMCSurfaceTypes::operator<< | ( | ostream & | os | ) | const [inline] |
Definition at line 192 of file XvMCSurfaceTypes.h.
int XvMCSurfaceTypes::num [private] |
Definition at line 195 of file XvMCSurfaceTypes.h.
Referenced by find(), size(), toString(), and XvMCSurfaceTypes().
XvMCSurfaceInfo* XvMCSurfaceTypes::surfaces [private] |
Definition at line 196 of file XvMCSurfaceTypes.h.
Referenced by find(), hasBackendSubpicture(), hasChroma420(), hasChroma422(), hasChroma444(), hasCopyToPBuffer(), hasH263Support(), hasIDCTAcceleration(), hasMotionCompensationAcceleration(), hasMPEG1Support(), hasMPEG2Support(), hasMPEG4Support(), hasOverlay(), hasSubpictureScaling(), hasVLDAcceleration(), isIntraUnsigned(), maxHeight(), maxSubpictureHeight(), maxSubpictureWidth(), maxWidth(), set(), surfaceTypeID(), toString(), XvMCSurfaceTypes(), and ~XvMCSurfaceTypes().
1.5.5