#include <mythrender_vdpau.h>
Public Member Functions | |
| bool | CreateDummy (void) |
| MythRenderVDPAU () | |
| ~MythRenderVDPAU () | |
| uint | GetColorKey (void) |
| void | SetPreempted (void) |
| bool | Create (const QSize &size, WId window, uint colorkey=VDPAU_COLORKEY) |
| bool | CreateDecodeOnly (void) |
| bool | WasPreempted (void) |
| bool | SetColorKey (uint color) |
| void | WaitForFlip (void) |
| void | Flip (void) |
| void | SyncDisplay (void) |
| void | DrawDisplayRect (const QRect &rect, bool use_colorkey=false) |
| void | MoveResizeWin (QRect &rect) |
| void | CheckOutputSurfaces (void) |
| bool | GetScreenShot (int width=0, int height=0, QString filename="") |
| uint | CreateOutputSurface (const QSize &size, VdpRGBAFormat fmt=VDP_RGBA_FORMAT_B8G8R8A8, uint existing=0) |
| uint | CreateVideoSurface (const QSize &size, VdpChromaType type=VDP_CHROMA_TYPE_420, uint existing=0) |
| uint | CreateBitmapSurface (const QSize &size, VdpRGBAFormat fmt=VDP_RGBA_FORMAT_B8G8R8A8, uint existing=0) |
| uint | CreateDecoder (const QSize &size, VdpDecoderProfile profile, uint references, uint existing=0) |
| uint | CreateVideoMixer (const QSize &size, uint layers, uint features, VdpChromaType type=VDP_CHROMA_TYPE_420, uint existing=0) |
| uint | CreateLayer (uint surface, const QRect *src=NULL, const QRect *dst=NULL) |
| void | DestroyOutputSurface (uint id) |
| void | DestroyVideoSurface (uint id) |
| void | DestroyBitmapSurface (uint id) |
| void | DestroyDecoder (uint id) |
| void | DestroyVideoMixer (uint id) |
| void | DestroyLayer (uint id) |
| bool | MixAndRend (uint id, VdpVideoMixerPictureStructure field, uint vid_surface, uint out_surface, const QVector< uint > *refs, bool top, QRect src, const QRect &dst, QRect dst_vid, uint layer1=0, uint layer2=0) |
| bool | SetDeinterlacing (uint id, uint deinterlacers=kVDPFeatNone) |
| bool | ChangeVideoMixerFeatures (uint id, uint features) |
| int | SetMixerAttribute (uint id, uint attrib, int value) |
| bool | SetMixerAttribute (uint id, uint attrib, float value) |
| void | SetCSCMatrix (uint id, void *vals) |
| bool | UploadBitmap (uint id, void *const plane[1], uint32_t pitch[1]) |
| bool | UploadMythImage (uint id, MythImage *image) |
| bool | UploadYUVFrame (uint id, void *const planes[3], uint32_t pitches[3]) |
| bool | DownloadYUVFrame (uint id, void *const planes[3], uint32_t pitches[3]) |
| bool | DrawBitmap (uint id, uint target, const QRect *src, const QRect *dst, VDPBlendType blendi=kVDPBlendNormal, int alpha=0, int red=0, int blue=0, int green=0) |
| bool | DrawLayer (uint id, uint target) |
| int | GetBitmapSize (uint id) |
| void * | GetRender (uint id) |
| uint | GetSurfaceOwner (VdpVideoSurface surface) |
| QSize | GetSurfaceSize (uint id) |
| void | ClearVideoSurface (uint id) |
| void | ChangeVideoSurfaceOwner (uint id) |
| void | Decode (uint id, struct vdpau_render_state *render) |
Static Public Member Functions | |
| static bool | IsMPEG4Available (void) |
| static bool | H264DecoderSizeSupported (uint width, uint height) |
Static Public Attributes | |
| static bool | gVDPAUSupportChecked = false |
| static uint | gVDPAUBestScaling = 0 |
| static bool | gVDPAUMPEG4Accel = false |
Private Member Functions | |
| bool | CreateDevice (void) |
| bool | GetProcs (void) |
| bool | CreatePresentationQueue (void) |
| bool | CreatePresentationSurfaces (void) |
| bool | RegisterCallback (bool enable=true) |
| bool | CheckHardwareSupport (void) |
| bool | IsFeatureAvailable (uint feature) |
| void | Destroy (void) |
| void | DestroyDevice (void) |
| void | ResetProcs (void) |
| void | DestroyPresentationQueue (void) |
| void | DestroyPresentationSurfaces (void) |
| void | DestroyOutputSurfaces (void) |
| void | DestroyVideoSurfaces (void) |
| void | DestroyBitmapSurfaces (void) |
| void | DestroyDecoders (void) |
| void | DestroyVideoMixers (void) |
| void | DestroyLayers (void) |
| bool | SetMixerAttribute (uint id, VdpVideoMixerAttribute attribute[1], void const *value[1]) |
| void | Preempted (void) |
| void | ResetVideoSurfaces (void) |
Private Attributes | |
| VdpRect | m_rect |
| bool | m_preempted |
| bool | m_recreating |
| bool | m_recreated |
| bool | m_reset_video_surfaces |
| QMutex | m_render_lock |
| QMutex | m_decode_lock |
| MythXDisplay * | m_display |
| WId | m_window |
| VdpDevice | m_device |
| uint | m_surface |
| VdpPresentationQueue | m_flipQueue |
| VdpPresentationQueueTarget | m_flipTarget |
| bool | m_flipReady |
| uint | m_colorKey |
| QVector< uint > | m_surfaces |
| QHash< uint, VDPAUOutputSurface > | m_outputSurfaces |
| QHash< uint, VDPAUBitmapSurface > | m_bitmapSurfaces |
| QHash< uint, VDPAUDecoder > | m_decoders |
| QHash< uint, VDPAUVideoMixer > | m_videoMixers |
| QHash< uint, VDPAUVideoSurface > | m_videoSurfaces |
| QHash< VdpVideoSurface, uint > | m_videoSurfaceHash |
| QHash< uint, VDPAULayer > | m_layers |
| VdpGetProcAddress * | vdp_get_proc_address |
| VdpGetErrorString * | vdp_get_error_string |
| VdpDeviceDestroy * | vdp_device_destroy |
| VdpGetApiVersion * | vdp_get_api_version |
| VdpGetInformationString * | vdp_get_information_string |
| VdpVideoSurfaceCreate * | vdp_video_surface_create |
| VdpVideoSurfaceDestroy * | vdp_video_surface_destroy |
| VdpVideoSurfaceGetBitsYCbCr * | vdp_video_surface_put_bits_y_cb_cr |
| VdpVideoSurfaceGetParameters * | vdp_video_surface_get_parameters |
| VdpVideoSurfacePutBitsYCbCr * | vdp_video_surface_get_bits_y_cb_cr |
| VdpOutputSurfacePutBitsNative * | vdp_output_surface_put_bits_native |
| VdpOutputSurfaceCreate * | vdp_output_surface_create |
| VdpOutputSurfaceDestroy * | vdp_output_surface_destroy |
| VdpOutputSurfaceRenderBitmapSurface * | vdp_output_surface_render_bitmap_surface |
| VdpOutputSurfaceGetParameters * | vdp_output_surface_get_parameters |
| VdpOutputSurfaceGetBitsNative * | vdp_output_surface_get_bits_native |
| VdpOutputSurfaceRenderOutputSurface * | vdp_output_surface_render_output_surface |
| VdpVideoMixerCreate * | vdp_video_mixer_create |
| VdpVideoMixerSetFeatureEnables * | vdp_video_mixer_set_feature_enables |
| VdpVideoMixerDestroy * | vdp_video_mixer_destroy |
| VdpVideoMixerRender * | vdp_video_mixer_render |
| VdpVideoMixerSetAttributeValues * | vdp_video_mixer_set_attribute_values |
| VdpGenerateCSCMatrix * | vdp_generate_csc_matrix |
| VdpVideoMixerQueryFeatureSupport * | vdp_video_mixer_query_feature_support |
| VdpPresentationQueueTargetDestroy * | vdp_presentation_queue_target_destroy |
| VdpPresentationQueueCreate * | vdp_presentation_queue_create |
| VdpPresentationQueueDestroy * | vdp_presentation_queue_destroy |
| VdpPresentationQueueDisplay * | vdp_presentation_queue_display |
| VdpPresentationQueueBlockUntilSurfaceIdle * | vdp_presentation_queue_block_until_surface_idle |
| VdpPresentationQueueTargetCreateX11 * | vdp_presentation_queue_target_create_x11 |
| VdpPresentationQueueGetTime * | vdp_presentation_queue_get_time |
| VdpPresentationQueueSetBackgroundColor * | vdp_presentation_queue_set_background_color |
| VdpDecoderCreate * | vdp_decoder_create |
| VdpDecoderDestroy * | vdp_decoder_destroy |
| VdpDecoderRender * | vdp_decoder_render |
| VdpDecoderQueryCapabilities * | vdp_decoder_query_capabilities |
| VdpBitmapSurfaceCreate * | vdp_bitmap_surface_create |
| VdpBitmapSurfaceDestroy * | vdp_bitmap_surface_destroy |
| VdpBitmapSurfacePutBitsNative * | vdp_bitmap_surface_put_bits_native |
| VdpPreemptionCallbackRegister * | vdp_preemption_callback_register |
Definition at line 58 of file mythrender_vdpau.h.
| MythRenderVDPAU::MythRenderVDPAU | ( | ) |
Definition at line 270 of file mythrender_vdpau.cpp.
Referenced by H264DecoderSizeSupported(), and IsMPEG4Available().
| MythRenderVDPAU::~MythRenderVDPAU | ( | void | ) |
Definition at line 283 of file mythrender_vdpau.cpp.
| bool MythRenderVDPAU::IsMPEG4Available | ( | void | ) | [static] |
Definition at line 289 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::GetBestSupportedCodec().
Definition at line 306 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::GetBestSupportedCodec().
| bool MythRenderVDPAU::CreateDummy | ( | void | ) |
Definition at line 336 of file mythrender_vdpau.cpp.
Referenced by H264DecoderSizeSupported(), and IsMPEG4Available().
| uint MythRenderVDPAU::GetColorKey | ( | void | ) | [inline] |
Definition at line 71 of file mythrender_vdpau.h.
| void MythRenderVDPAU::SetPreempted | ( | void | ) | [inline] |
Definition at line 72 of file mythrender_vdpau.h.
Referenced by vdpau_preemption_callback().
Definition at line 371 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::InitRender(), and MythVDPAUPainter::InitVDPAU().
| bool MythRenderVDPAU::CreateDecodeOnly | ( | void | ) |
Definition at line 353 of file mythrender_vdpau.cpp.
Referenced by VideoOutputNullVDPAU::InitRender().
| bool MythRenderVDPAU::WasPreempted | ( | void | ) |
Definition at line 409 of file mythrender_vdpau.cpp.
Referenced by MythVDPAUPainter::Begin().
Definition at line 420 of file mythrender_vdpau.cpp.
Referenced by Create(), and Preempted().
| void MythRenderVDPAU::WaitForFlip | ( | void | ) |
Definition at line 443 of file mythrender_vdpau.cpp.
Referenced by MythVDPAUPainter::Begin(), and VideoOutputVDPAU::PrepareFrame().
| void MythRenderVDPAU::Flip | ( | void | ) |
Definition at line 465 of file mythrender_vdpau.cpp.
Referenced by MythVDPAUPainter::End(), and VideoOutputVDPAU::Show().
| void MythRenderVDPAU::SyncDisplay | ( | void | ) |
Definition at line 488 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DrawUnusedRects(), and Flip().
| void MythRenderVDPAU::DrawDisplayRect | ( | const QRect & | rect, | |
| bool | use_colorkey = false | |||
| ) |
Definition at line 495 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DrawUnusedRects(), and VideoOutputVDPAU::RestoreDisplay().
| void MythRenderVDPAU::MoveResizeWin | ( | QRect & | rect | ) |
Definition at line 506 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::MoveResizeWindow().
| void MythRenderVDPAU::CheckOutputSurfaces | ( | void | ) |
Definition at line 561 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::PrepareFrame().
| bool MythRenderVDPAU::GetScreenShot | ( | int | width = 0, |
|
| int | height = 0, |
|||
| QString | filename = "" | |||
| ) |
Definition at line 513 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::GetScreenShot().
| uint MythRenderVDPAU::CreateOutputSurface | ( | const QSize & | size, | |
| VdpRGBAFormat | fmt = VDP_RGBA_FORMAT_B8G8R8A8, |
|||
| uint | existing = 0 | |||
| ) |
Definition at line 590 of file mythrender_vdpau.cpp.
Referenced by CheckOutputSurfaces(), CreatePresentationSurfaces(), VideoOutputVDPAU::InitPIPLayer(), and Preempted().
| uint MythRenderVDPAU::CreateVideoSurface | ( | const QSize & | size, | |
| VdpChromaType | type = VDP_CHROMA_TYPE_420, |
|||
| uint | existing = 0 | |||
| ) |
Definition at line 633 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::CreateVideoSurfaces(), VideoOutputNullVDPAU::CreateVideoSurfaces(), VideoOutputVDPAU::DrawSlice(), VideoOutputNullVDPAU::DrawSlice(), ResetVideoSurfaces(), and VideoOutputVDPAU::ShowPIP().
| uint MythRenderVDPAU::CreateBitmapSurface | ( | const QSize & | size, | |
| VdpRGBAFormat | fmt = VDP_RGBA_FORMAT_B8G8R8A8, |
|||
| uint | existing = 0 | |||
| ) |
Definition at line 677 of file mythrender_vdpau.cpp.
Referenced by VideoVisualGoom::Draw(), MythVDPAUPainter::GetTextureFromCache(), and Preempted().
| uint MythRenderVDPAU::CreateDecoder | ( | const QSize & | size, | |
| VdpDecoderProfile | profile, | |||
| uint | references, | |||
| uint | existing = 0 | |||
| ) |
Definition at line 719 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DrawSlice(), VideoOutputNullVDPAU::DrawSlice(), H264DecoderSizeSupported(), and Preempted().
| uint MythRenderVDPAU::CreateVideoMixer | ( | const QSize & | size, | |
| uint | layers, | |||
| uint | features, | |||
| VdpChromaType | type = VDP_CHROMA_TYPE_420, |
|||
| uint | existing = 0 | |||
| ) |
Definition at line 763 of file mythrender_vdpau.cpp.
Referenced by ChangeVideoMixerFeatures(), VideoOutputVDPAU::InitBuffers(), Preempted(), and VideoOutputVDPAU::ShowPIP().
| uint MythRenderVDPAU::CreateLayer | ( | uint | surface, | |
| const QRect * | src = NULL, |
|||
| const QRect * | dst = NULL | |||
| ) |
Definition at line 895 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::InitPIPLayer().
| void MythRenderVDPAU::DestroyOutputSurface | ( | uint | id | ) |
Definition at line 919 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DeinitPIPLayer(), and DestroyPresentationSurfaces().
| void MythRenderVDPAU::DestroyVideoSurface | ( | uint | id | ) |
Definition at line 936 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DeleteVideoSurfaces(), VideoOutputNullVDPAU::DeleteVideoSurfaces(), and VideoOutputVDPAU::RemovePIP().
| void MythRenderVDPAU::DestroyBitmapSurface | ( | uint | id | ) |
Definition at line 951 of file mythrender_vdpau.cpp.
Referenced by MythVDPAUPainter::DeleteBitmaps(), and VideoVisualGoom::~VideoVisualGoom().
| void MythRenderVDPAU::DestroyDecoder | ( | uint | id | ) |
Definition at line 965 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DeleteRender(), VideoOutputNullVDPAU::DeleteRender(), and H264DecoderSizeSupported().
| void MythRenderVDPAU::DestroyVideoMixer | ( | uint | id | ) |
Definition at line 979 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DeleteBuffers(), and VideoOutputVDPAU::RemovePIP().
| void MythRenderVDPAU::DestroyLayer | ( | uint | id | ) |
Definition at line 993 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DeinitPIPLayer().
| bool MythRenderVDPAU::MixAndRend | ( | uint | id, | |
| VdpVideoMixerPictureStructure | field, | |||
| uint | vid_surface, | |||
| uint | out_surface, | |||
| const QVector< uint > * | refs, | |||
| bool | top, | |||
| QRect | src, | |||
| const QRect & | dst, | |||
| QRect | dst_vid, | |||
| uint | layer1 = 0, |
|||
| uint | layer2 = 0 | |||
| ) |
Definition at line 1004 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::PrepareFrame(), and VideoOutputVDPAU::ShowPIP().
Definition at line 1129 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::SetupDeinterlace().
Definition at line 1148 of file mythrender_vdpau.cpp.
Referenced by SetDeinterlacing().
Definition at line 1179 of file mythrender_vdpau.cpp.
Referenced by CreateVideoMixer(), VideoOutputVDPAU::InitBuffers(), SetCSCMatrix(), and SetMixerAttribute().
Definition at line 1212 of file mythrender_vdpau.cpp.
| void MythRenderVDPAU::SetCSCMatrix | ( | uint | id, | |
| void * | vals | |||
| ) |
Definition at line 1164 of file mythrender_vdpau.cpp.
Referenced by CreateVideoMixer(), VideoOutputVDPAU::InitPictureAttributes(), and VideoOutputVDPAU::SetPictureAttribute().
Definition at line 1243 of file mythrender_vdpau.cpp.
Referenced by VideoVisualGoom::Draw(), and UploadMythImage().
Definition at line 1261 of file mythrender_vdpau.cpp.
Referenced by MythVDPAUPainter::GetTextureFromCache().
Definition at line 1271 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::PrepareFrame(), VideoOutputVDPAU::ShowPIP(), and VideoOutputVDPAU::UpdatePauseFrame().
Definition at line 1293 of file mythrender_vdpau.cpp.
Referenced by VideoOutputNullVDPAU::ReleaseFrame().
| bool MythRenderVDPAU::DrawBitmap | ( | uint | id, | |
| uint | target, | |||
| const QRect * | src, | |||
| const QRect * | dst, | |||
| VDPBlendType | blendi = kVDPBlendNormal, |
|||
| int | alpha = 0, |
|||
| int | red = 0, |
|||
| int | blue = 0, |
|||
| int | green = 0 | |||
| ) |
Definition at line 1315 of file mythrender_vdpau.cpp.
Referenced by MythVDPAUPainter::Begin(), CreateOutputSurface(), VideoVisualGoom::Draw(), MythVDPAUPainter::DrawImage(), VideoOutputVDPAU::PrepareFrame(), and VideoOutputVDPAU::ShowPIP().
Definition at line 1385 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::PrepareFrame().
| int MythRenderVDPAU::GetBitmapSize | ( | uint | id | ) |
Definition at line 1408 of file mythrender_vdpau.cpp.
Referenced by MythVDPAUPainter::DeleteBitmaps(), and MythVDPAUPainter::GetTextureFromCache().
| void * MythRenderVDPAU::GetRender | ( | uint | id | ) |
Definition at line 1416 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DrawSlice(), VideoOutputNullVDPAU::DrawSlice(), VideoOutputVDPAU::InitBuffers(), and VideoOutputNullVDPAU::InitBuffers().
| uint MythRenderVDPAU::GetSurfaceOwner | ( | VdpVideoSurface | surface | ) |
Definition at line 1427 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::FrameIsInUse(), VideoOutputVDPAU::PrepareFrame(), VideoOutputNullVDPAU::ReleaseFrame(), VideoOutputVDPAU::UpdatePauseFrame(), and VideoOutputVDPAU::UpdateReferenceFrames().
| QSize MythRenderVDPAU::GetSurfaceSize | ( | uint | id | ) |
Definition at line 1438 of file mythrender_vdpau.cpp.
Referenced by VideoOutputNullVDPAU::InitShadowBuffers().
| void MythRenderVDPAU::ClearVideoSurface | ( | uint | id | ) |
Definition at line 1465 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::ClearDummyFrame(), VideoOutputVDPAU::CreateVideoSurfaces(), VideoOutputNullVDPAU::CreateVideoSurfaces(), VideoOutputVDPAU::DrawSlice(), and VideoOutputNullVDPAU::DrawSlice().
| void MythRenderVDPAU::ChangeVideoSurfaceOwner | ( | uint | id | ) |
Definition at line 1493 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::ClaimVideoSurfaces(), and VideoOutputNullVDPAU::ClaimVideoSurfaces().
| void MythRenderVDPAU::Decode | ( | uint | id, | |
| struct vdpau_render_state * | render | |||
| ) |
Definition at line 1502 of file mythrender_vdpau.cpp.
Referenced by VideoOutputVDPAU::DrawSlice(), and VideoOutputNullVDPAU::DrawSlice().
| bool MythRenderVDPAU::CreateDevice | ( | void | ) | [private] |
Definition at line 1529 of file mythrender_vdpau.cpp.
Referenced by Create(), CreateDecodeOnly(), CreateDummy(), and Preempted().
| bool MythRenderVDPAU::GetProcs | ( | void | ) | [private] |
Definition at line 1559 of file mythrender_vdpau.cpp.
Referenced by Create(), CreateDecodeOnly(), CreateDummy(), and Preempted().
| bool MythRenderVDPAU::CreatePresentationQueue | ( | void | ) | [private] |
Definition at line 1632 of file mythrender_vdpau.cpp.
Referenced by Create(), and Preempted().
| bool MythRenderVDPAU::CreatePresentationSurfaces | ( | void | ) | [private] |
Definition at line 1652 of file mythrender_vdpau.cpp.
Referenced by Create().
Definition at line 1680 of file mythrender_vdpau.cpp.
Referenced by Create(), CreateDecodeOnly(), Destroy(), and Preempted().
| bool MythRenderVDPAU::CheckHardwareSupport | ( | void | ) | [private] |
Definition at line 1696 of file mythrender_vdpau.cpp.
Referenced by Create(), CreateDecodeOnly(), and CreateDummy().
Definition at line 1754 of file mythrender_vdpau.cpp.
Referenced by CheckHardwareSupport().
| void MythRenderVDPAU::Destroy | ( | void | ) | [private] |
Definition at line 1764 of file mythrender_vdpau.cpp.
Referenced by ~MythRenderVDPAU().
| void MythRenderVDPAU::DestroyDevice | ( | void | ) | [private] |
Definition at line 1789 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::ResetProcs | ( | void | ) | [private] |
Definition at line 1800 of file mythrender_vdpau.cpp.
Referenced by Destroy(), MythRenderVDPAU(), and Preempted().
| void MythRenderVDPAU::DestroyPresentationQueue | ( | void | ) | [private] |
Definition at line 1840 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::DestroyPresentationSurfaces | ( | void | ) | [private] |
Definition at line 1860 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::DestroyOutputSurfaces | ( | void | ) | [private] |
Definition at line 1869 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::DestroyVideoSurfaces | ( | void | ) | [private] |
Definition at line 1887 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::DestroyBitmapSurfaces | ( | void | ) | [private] |
Definition at line 1913 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::DestroyDecoders | ( | void | ) | [private] |
Definition at line 1931 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::DestroyVideoMixers | ( | void | ) | [private] |
Definition at line 1949 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| void MythRenderVDPAU::DestroyLayers | ( | void | ) | [private] |
Definition at line 1906 of file mythrender_vdpau.cpp.
Referenced by Destroy().
| bool MythRenderVDPAU::SetMixerAttribute | ( | uint | id, | |
| VdpVideoMixerAttribute | attribute[1], | |||
| void const * | value[1] | |||
| ) | [private] |
Definition at line 1967 of file mythrender_vdpau.cpp.
| void MythRenderVDPAU::Preempted | ( | void | ) | [private] |
Definition at line 1982 of file mythrender_vdpau.cpp.
| void MythRenderVDPAU::ResetVideoSurfaces | ( | void | ) | [private] |
Definition at line 2091 of file mythrender_vdpau.cpp.
Referenced by Preempted().
bool MythRenderVDPAU::gVDPAUSupportChecked = false [static] |
Definition at line 61 of file mythrender_vdpau.h.
Referenced by CheckHardwareSupport(), and IsMPEG4Available().
uint MythRenderVDPAU::gVDPAUBestScaling = 0 [static] |
Definition at line 62 of file mythrender_vdpau.h.
Referenced by CheckHardwareSupport(), and CreateVideoMixer().
bool MythRenderVDPAU::gVDPAUMPEG4Accel = false [static] |
Definition at line 63 of file mythrender_vdpau.h.
Referenced by CheckHardwareSupport(), and IsMPEG4Available().
VdpRect MythRenderVDPAU::m_rect [private] |
Definition at line 168 of file mythrender_vdpau.h.
Referenced by Create(), Destroy(), Flip(), and MythRenderVDPAU().
bool MythRenderVDPAU::m_preempted [private] |
Definition at line 169 of file mythrender_vdpau.h.
Referenced by Preempted().
bool MythRenderVDPAU::m_recreating [private] |
Definition at line 170 of file mythrender_vdpau.h.
Referenced by Preempted().
bool MythRenderVDPAU::m_recreated [private] |
Definition at line 171 of file mythrender_vdpau.h.
Referenced by Preempted(), and WasPreempted().
bool MythRenderVDPAU::m_reset_video_surfaces [private] |
Definition at line 172 of file mythrender_vdpau.h.
Referenced by Preempted(), and ResetVideoSurfaces().
QMutex MythRenderVDPAU::m_render_lock [private] |
Definition at line 173 of file mythrender_vdpau.h.
QMutex MythRenderVDPAU::m_decode_lock [private] |
Definition at line 174 of file mythrender_vdpau.h.
MythXDisplay* MythRenderVDPAU::m_display [private] |
Definition at line 175 of file mythrender_vdpau.h.
Referenced by Create(), CreateDecodeOnly(), CreateDevice(), CreateDummy(), CreatePresentationQueue(), Destroy(), DestroyPresentationQueue(), DrawDisplayRect(), Flip(), MoveResizeWin(), SetColorKey(), and SyncDisplay().
WId MythRenderVDPAU::m_window [private] |
Definition at line 176 of file mythrender_vdpau.h.
Referenced by Create(), CreatePresentationQueue(), Destroy(), DrawDisplayRect(), MoveResizeWin(), and Preempted().
VdpDevice MythRenderVDPAU::m_device [private] |
Definition at line 177 of file mythrender_vdpau.h.
Referenced by CheckHardwareSupport(), CreateBitmapSurface(), CreateDecoder(), CreateDevice(), CreateOutputSurface(), CreatePresentationQueue(), CreateVideoMixer(), CreateVideoSurface(), DestroyDevice(), GetProcs(), IsFeatureAvailable(), and RegisterCallback().
uint MythRenderVDPAU::m_surface [private] |
Definition at line 178 of file mythrender_vdpau.h.
Referenced by CreatePresentationQueue(), DestroyPresentationSurfaces(), DrawBitmap(), DrawLayer(), Flip(), GetScreenShot(), MixAndRend(), and WaitForFlip().
VdpPresentationQueue MythRenderVDPAU::m_flipQueue [private] |
Definition at line 179 of file mythrender_vdpau.h.
Referenced by CreatePresentationQueue(), CreatePresentationSurfaces(), DestroyPresentationQueue(), Flip(), Preempted(), SetColorKey(), and WaitForFlip().
VdpPresentationQueueTarget MythRenderVDPAU::m_flipTarget [private] |
Definition at line 180 of file mythrender_vdpau.h.
Referenced by CreatePresentationQueue(), and DestroyPresentationQueue().
bool MythRenderVDPAU::m_flipReady [private] |
Definition at line 181 of file mythrender_vdpau.h.
Referenced by CreatePresentationSurfaces(), DestroyPresentationQueue(), DestroyPresentationSurfaces(), Flip(), Preempted(), and WaitForFlip().
uint MythRenderVDPAU::m_colorKey [private] |
Definition at line 182 of file mythrender_vdpau.h.
Referenced by DrawDisplayRect(), Preempted(), and SetColorKey().
QVector<uint> MythRenderVDPAU::m_surfaces [private] |
Definition at line 184 of file mythrender_vdpau.h.
Referenced by CheckOutputSurfaces(), CreatePresentationSurfaces(), DestroyPresentationSurfaces(), DrawBitmap(), DrawLayer(), Flip(), GetScreenShot(), MixAndRend(), and WaitForFlip().
QHash<uint, VDPAUOutputSurface> MythRenderVDPAU::m_outputSurfaces [private] |
Definition at line 185 of file mythrender_vdpau.h.
Referenced by CreateLayer(), CreateOutputSurface(), DestroyOutputSurface(), DestroyOutputSurfaces(), DrawBitmap(), DrawLayer(), Flip(), GetScreenShot(), MixAndRend(), Preempted(), and WaitForFlip().
QHash<uint, VDPAUBitmapSurface> MythRenderVDPAU::m_bitmapSurfaces [private] |
Definition at line 186 of file mythrender_vdpau.h.
Referenced by CreateBitmapSurface(), DestroyBitmapSurface(), DestroyBitmapSurfaces(), DrawBitmap(), GetBitmapSize(), Preempted(), and UploadBitmap().
QHash<uint, VDPAUDecoder> MythRenderVDPAU::m_decoders [private] |
Definition at line 187 of file mythrender_vdpau.h.
Referenced by CreateDecoder(), Decode(), DestroyDecoder(), DestroyDecoders(), and Preempted().
QHash<uint, VDPAUVideoMixer> MythRenderVDPAU::m_videoMixers [private] |
Definition at line 188 of file mythrender_vdpau.h.
Referenced by ChangeVideoMixerFeatures(), CreateVideoMixer(), DestroyVideoMixer(), DestroyVideoMixers(), MixAndRend(), Preempted(), SetCSCMatrix(), SetDeinterlacing(), and SetMixerAttribute().
QHash<uint, VDPAUVideoSurface> MythRenderVDPAU::m_videoSurfaces [private] |
Definition at line 189 of file mythrender_vdpau.h.
Referenced by ChangeVideoSurfaceOwner(), ClearVideoSurface(), CreateVideoSurface(), DestroyVideoSurface(), DestroyVideoSurfaces(), DownloadYUVFrame(), GetRender(), GetSurfaceSize(), MixAndRend(), Preempted(), ResetVideoSurfaces(), and UploadYUVFrame().
QHash<VdpVideoSurface, uint> MythRenderVDPAU::m_videoSurfaceHash [private] |
Definition at line 190 of file mythrender_vdpau.h.
Referenced by CreateVideoSurface(), DestroyVideoSurface(), DestroyVideoSurfaces(), and GetSurfaceOwner().
QHash<uint, VDPAULayer> MythRenderVDPAU::m_layers [private] |
Definition at line 191 of file mythrender_vdpau.h.
Referenced by ChangeVideoMixerFeatures(), CreateLayer(), DestroyLayer(), DestroyLayers(), DrawLayer(), MixAndRend(), and Preempted().
VdpGetProcAddress* MythRenderVDPAU::vdp_get_proc_address [private] |
Definition at line 193 of file mythrender_vdpau.h.
Referenced by CreateDevice(), DestroyDevice(), and GetProcs().
VdpGetErrorString* MythRenderVDPAU::vdp_get_error_string [private] |
Definition at line 194 of file mythrender_vdpau.h.
Referenced by CreateDevice(), and DestroyDevice().
VdpDeviceDestroy* MythRenderVDPAU::vdp_device_destroy [private] |
Definition at line 195 of file mythrender_vdpau.h.
Referenced by DestroyDevice(), GetProcs(), and ResetProcs().
VdpGetApiVersion* MythRenderVDPAU::vdp_get_api_version [private] |
Definition at line 196 of file mythrender_vdpau.h.
Referenced by CheckHardwareSupport(), and GetProcs().
VdpGetInformationString* MythRenderVDPAU::vdp_get_information_string [private] |
Definition at line 197 of file mythrender_vdpau.h.
Referenced by CheckHardwareSupport(), and GetProcs().
VdpVideoSurfaceCreate* MythRenderVDPAU::vdp_video_surface_create [private] |
Definition at line 198 of file mythrender_vdpau.h.
Referenced by CreateVideoSurface(), GetProcs(), and ResetProcs().
VdpVideoSurfaceDestroy* MythRenderVDPAU::vdp_video_surface_destroy [private] |
Definition at line 199 of file mythrender_vdpau.h.
Referenced by DestroyVideoSurface(), DestroyVideoSurfaces(), GetProcs(), and ResetProcs().
VdpVideoSurfaceGetBitsYCbCr* MythRenderVDPAU::vdp_video_surface_put_bits_y_cb_cr [private] |
Definition at line 200 of file mythrender_vdpau.h.
Referenced by ClearVideoSurface(), GetProcs(), ResetProcs(), and UploadYUVFrame().
VdpVideoSurfaceGetParameters* MythRenderVDPAU::vdp_video_surface_get_parameters [private] |
Definition at line 201 of file mythrender_vdpau.h.
Referenced by GetProcs(), GetSurfaceSize(), and ResetProcs().
VdpVideoSurfacePutBitsYCbCr* MythRenderVDPAU::vdp_video_surface_get_bits_y_cb_cr [private] |
Definition at line 202 of file mythrender_vdpau.h.
Referenced by DownloadYUVFrame(), GetProcs(), and ResetProcs().
VdpOutputSurfacePutBitsNative* MythRenderVDPAU::vdp_output_surface_put_bits_native [private] |
Definition at line 203 of file mythrender_vdpau.h.
Referenced by ResetProcs().
VdpOutputSurfaceCreate* MythRenderVDPAU::vdp_output_surface_create [private] |
Definition at line 204 of file mythrender_vdpau.h.
Referenced by CreateOutputSurface(), GetProcs(), and ResetProcs().
VdpOutputSurfaceDestroy* MythRenderVDPAU::vdp_output_surface_destroy [private] |
Definition at line 205 of file mythrender_vdpau.h.
Referenced by DestroyOutputSurface(), DestroyOutputSurfaces(), GetProcs(), and ResetProcs().
VdpOutputSurfaceRenderBitmapSurface* MythRenderVDPAU::vdp_output_surface_render_bitmap_surface [private] |
Definition at line 206 of file mythrender_vdpau.h.
Referenced by DrawBitmap(), GetProcs(), and ResetProcs().
VdpOutputSurfaceGetParameters* MythRenderVDPAU::vdp_output_surface_get_parameters [private] |
Definition at line 207 of file mythrender_vdpau.h.
Referenced by GetProcs(), GetScreenShot(), and ResetProcs().
VdpOutputSurfaceGetBitsNative* MythRenderVDPAU::vdp_output_surface_get_bits_native [private] |
Definition at line 208 of file mythrender_vdpau.h.
Referenced by GetProcs(), GetScreenShot(), and ResetProcs().
VdpOutputSurfaceRenderOutputSurface* MythRenderVDPAU::vdp_output_surface_render_output_surface [private] |
Definition at line 209 of file mythrender_vdpau.h.
Referenced by DrawLayer(), GetProcs(), and ResetProcs().
VdpVideoMixerCreate* MythRenderVDPAU::vdp_video_mixer_create [private] |
Definition at line 210 of file mythrender_vdpau.h.
Referenced by CreateVideoMixer(), GetProcs(), and ResetProcs().
VdpVideoMixerSetFeatureEnables* MythRenderVDPAU::vdp_video_mixer_set_feature_enables [private] |
Definition at line 211 of file mythrender_vdpau.h.
Referenced by CreateVideoMixer(), GetProcs(), and ResetProcs().
VdpVideoMixerDestroy* MythRenderVDPAU::vdp_video_mixer_destroy [private] |
Definition at line 212 of file mythrender_vdpau.h.
Referenced by ChangeVideoMixerFeatures(), DestroyVideoMixer(), DestroyVideoMixers(), GetProcs(), and ResetProcs().
VdpVideoMixerRender* MythRenderVDPAU::vdp_video_mixer_render [private] |
Definition at line 213 of file mythrender_vdpau.h.
Referenced by GetProcs(), MixAndRend(), and ResetProcs().
VdpVideoMixerSetAttributeValues* MythRenderVDPAU::vdp_video_mixer_set_attribute_values [private] |
Definition at line 214 of file mythrender_vdpau.h.
Referenced by GetProcs(), ResetProcs(), and SetMixerAttribute().
VdpGenerateCSCMatrix* MythRenderVDPAU::vdp_generate_csc_matrix [private] |
Definition at line 215 of file mythrender_vdpau.h.
Referenced by GetProcs(), and ResetProcs().
VdpVideoMixerQueryFeatureSupport* MythRenderVDPAU::vdp_video_mixer_query_feature_support [private] |
Definition at line 216 of file mythrender_vdpau.h.
Referenced by GetProcs(), IsFeatureAvailable(), and ResetProcs().
VdpPresentationQueueTargetDestroy* MythRenderVDPAU::vdp_presentation_queue_target_destroy [private] |
Definition at line 217 of file mythrender_vdpau.h.
Referenced by DestroyPresentationQueue(), GetProcs(), and ResetProcs().
VdpPresentationQueueCreate* MythRenderVDPAU::vdp_presentation_queue_create [private] |
Definition at line 218 of file mythrender_vdpau.h.
Referenced by CreatePresentationQueue(), GetProcs(), and ResetProcs().
VdpPresentationQueueDestroy* MythRenderVDPAU::vdp_presentation_queue_destroy [private] |
Definition at line 219 of file mythrender_vdpau.h.
Referenced by DestroyPresentationQueue(), GetProcs(), and ResetProcs().
VdpPresentationQueueDisplay* MythRenderVDPAU::vdp_presentation_queue_display [private] |
Definition at line 220 of file mythrender_vdpau.h.
Referenced by Flip(), GetProcs(), and ResetProcs().
VdpPresentationQueueBlockUntilSurfaceIdle* MythRenderVDPAU::vdp_presentation_queue_block_until_surface_idle [private] |
Definition at line 222 of file mythrender_vdpau.h.
Referenced by GetProcs(), ResetProcs(), and WaitForFlip().
VdpPresentationQueueTargetCreateX11* MythRenderVDPAU::vdp_presentation_queue_target_create_x11 [private] |
Definition at line 224 of file mythrender_vdpau.h.
Referenced by CreatePresentationQueue(), GetProcs(), and ResetProcs().
VdpPresentationQueueGetTime* MythRenderVDPAU::vdp_presentation_queue_get_time [private] |
Definition at line 225 of file mythrender_vdpau.h.
Referenced by GetProcs(), and ResetProcs().
VdpPresentationQueueSetBackgroundColor* MythRenderVDPAU::vdp_presentation_queue_set_background_color [private] |
Definition at line 227 of file mythrender_vdpau.h.
Referenced by GetProcs(), ResetProcs(), and SetColorKey().
VdpDecoderCreate* MythRenderVDPAU::vdp_decoder_create [private] |
Definition at line 228 of file mythrender_vdpau.h.
Referenced by CreateDecoder(), GetProcs(), and ResetProcs().
VdpDecoderDestroy* MythRenderVDPAU::vdp_decoder_destroy [private] |
Definition at line 229 of file mythrender_vdpau.h.
Referenced by DestroyDecoder(), DestroyDecoders(), GetProcs(), and ResetProcs().
VdpDecoderRender* MythRenderVDPAU::vdp_decoder_render [private] |
Definition at line 230 of file mythrender_vdpau.h.
Referenced by Decode(), GetProcs(), and ResetProcs().
VdpDecoderQueryCapabilities* MythRenderVDPAU::vdp_decoder_query_capabilities [private] |
Definition at line 231 of file mythrender_vdpau.h.
Referenced by CheckHardwareSupport(), GetProcs(), and ResetProcs().
VdpBitmapSurfaceCreate* MythRenderVDPAU::vdp_bitmap_surface_create [private] |
Definition at line 232 of file mythrender_vdpau.h.
Referenced by CreateBitmapSurface(), GetProcs(), and ResetProcs().
VdpBitmapSurfaceDestroy* MythRenderVDPAU::vdp_bitmap_surface_destroy [private] |
Definition at line 233 of file mythrender_vdpau.h.
Referenced by DestroyBitmapSurface(), DestroyBitmapSurfaces(), GetProcs(), and ResetProcs().
VdpBitmapSurfacePutBitsNative* MythRenderVDPAU::vdp_bitmap_surface_put_bits_native [private] |
Definition at line 234 of file mythrender_vdpau.h.
Referenced by GetProcs(), ResetProcs(), and UploadBitmap().
VdpPreemptionCallbackRegister* MythRenderVDPAU::vdp_preemption_callback_register [private] |
Definition at line 235 of file mythrender_vdpau.h.
Referenced by GetProcs(), RegisterCallback(), and ResetProcs().
1.6.3