◆ anonymous enum
◆ State
Enumerator |
---|
uninitializedState | |
runningState | |
pausedState | |
stoppedState | |
◆ DirectShowContext()
VideoComponent::Pimpl::DirectShowContext::DirectShowContext |
( |
Pimpl & |
c | ) |
|
|
inline |
◆ ~DirectShowContext()
VideoComponent::Pimpl::DirectShowContext::~DirectShowContext |
( |
| ) |
|
|
inlineoverride |
◆ convertToDShowVolume()
static long VideoComponent::Pimpl::DirectShowContext::convertToDShowVolume |
( |
float |
vol | ) |
|
|
inlinestaticnoexcept |
◆ createNativeWindow()
bool VideoComponent::Pimpl::DirectShowContext::createNativeWindow |
( |
| ) |
|
|
inlineprivate |
◆ deleteNativeWindow()
void VideoComponent::Pimpl::DirectShowContext::deleteNativeWindow |
( |
| ) |
|
|
inlineprivate |
◆ displayResolutionChanged()
void VideoComponent::Pimpl::DirectShowContext::displayResolutionChanged |
( |
| ) |
|
|
inline |
◆ getDuration()
double VideoComponent::Pimpl::DirectShowContext::getDuration |
( |
| ) |
const |
|
inline |
◆ getErrorMessageFromResult()
static Result VideoComponent::Pimpl::DirectShowContext::getErrorMessageFromResult |
( |
HRESULT |
hr | ) |
|
|
inlinestatic |
◆ getPosition()
double VideoComponent::Pimpl::DirectShowContext::getPosition |
( |
| ) |
const |
|
inline |
◆ getSpeed()
double VideoComponent::Pimpl::DirectShowContext::getSpeed |
( |
| ) |
const |
|
inline |
◆ getVideoSize()
Rectangle<int> VideoComponent::Pimpl::DirectShowContext::getVideoSize |
( |
| ) |
const |
|
inlinenoexcept |
◆ getVolume()
float VideoComponent::Pimpl::DirectShowContext::getVolume |
( |
| ) |
const |
|
inline |
◆ graphEventProc()
void VideoComponent::Pimpl::DirectShowContext::graphEventProc |
( |
| ) |
|
|
inline |
References VideoComponent::Pimpl::close(), component, juce::ComTypes::EC_COMPLETE, juce::ComTypes::EC_ERRORABORT, juce::ComTypes::EC_ERRORABORTEX, juce::ComTypes::EC_REPAINT, juce::ComTypes::EC_STATE_CHANGE, juce::ComTypes::EC_USERABORT, VideoComponent::Pimpl::errorOccurred(), getErrorMessageFromResult(), jassert, mediaEvent, VideoComponent::Pimpl::playbackStarted(), VideoComponent::Pimpl::playbackStopped(), VideoComponent::Pimpl::setPosition(), juce::ComTypes::State_Paused, juce::ComTypes::State_Running, and VideoComponent::Pimpl::stop().
◆ handleAsyncUpdate()
void VideoComponent::Pimpl::DirectShowContext::handleAsyncUpdate |
( |
| ) |
|
|
inlineoverride |
◆ isRendererConnected()
bool VideoComponent::Pimpl::DirectShowContext::isRendererConnected |
( |
| ) |
|
|
inlineprivate |
◆ loadFile()
Result VideoComponent::Pimpl::DirectShowContext::loadFile |
( |
const String & |
fileOrURLPath | ) |
|
|
inline |
References baseFilter, basicAudio, juce::ComTypes::CLSID_FilterGraph, createNativeWindow(), juce::ComTypes::EC_STATE_CHANGE, getErrorMessageFromResult(), graphBuilder, graphEventID, hasVideo, hwnd, isRendererConnected(), jassert, mediaControl, mediaEvent, mediaPosition, pause(), release(), state, stoppedState, uninitializedState, and videoRenderer.
◆ pause()
void VideoComponent::Pimpl::DirectShowContext::pause |
( |
| ) |
|
|
inline |
◆ peerChanged()
void VideoComponent::Pimpl::DirectShowContext::peerChanged |
( |
| ) |
|
|
inline |
◆ play()
void VideoComponent::Pimpl::DirectShowContext::play |
( |
| ) |
|
|
inline |
◆ recreateNativeWindowAsync()
void VideoComponent::Pimpl::DirectShowContext::recreateNativeWindowAsync |
( |
| ) |
|
|
inline |
◆ release()
void VideoComponent::Pimpl::DirectShowContext::release |
( |
| ) |
|
|
inline |
References baseFilter, basicAudio, deleteNativeWindow(), graphBuilder, hasVideo, mediaControl, mediaEvent, mediaPosition, nativeWindow, state, uninitializedState, and videoRenderer.
Referenced by loadFile(), and ~DirectShowContext().
◆ repaint()
void VideoComponent::Pimpl::DirectShowContext::repaint |
( |
| ) |
|
|
inline |
◆ setPosition()
void VideoComponent::Pimpl::DirectShowContext::setPosition |
( |
double |
seconds | ) |
|
|
inline |
◆ setSpeed()
void VideoComponent::Pimpl::DirectShowContext::setSpeed |
( |
double |
newSpeed | ) |
|
|
inline |
◆ setVolume()
void VideoComponent::Pimpl::DirectShowContext::setVolume |
( |
float |
newVolume | ) |
|
|
inline |
◆ showWindow()
void VideoComponent::Pimpl::DirectShowContext::showWindow |
( |
bool |
shouldBeVisible | ) |
|
|
inline |
◆ stop()
void VideoComponent::Pimpl::DirectShowContext::stop |
( |
| ) |
|
|
inline |
◆ updateContextPosition()
void VideoComponent::Pimpl::DirectShowContext::updateContextPosition |
( |
| ) |
|
|
inline |
◆ updateVideoPosition()
void VideoComponent::Pimpl::DirectShowContext::updateVideoPosition |
( |
| ) |
|
|
inline |
◆ updateWindowPosition()
void VideoComponent::Pimpl::DirectShowContext::updateWindowPosition |
( |
const Rectangle< int > & |
newBounds | ) |
|
|
inline |
◆ baseFilter
ComSmartPtr<ComTypes::IBaseFilter> VideoComponent::Pimpl::DirectShowContext::baseFilter |
|
private |
◆ basicAudio
ComSmartPtr<ComTypes::IBasicAudio> VideoComponent::Pimpl::DirectShowContext::basicAudio |
|
private |
◆ component
Pimpl& VideoComponent::Pimpl::DirectShowContext::component |
|
private |
◆ graphBuilder
ComSmartPtr<ComTypes::IGraphBuilder> VideoComponent::Pimpl::DirectShowContext::graphBuilder |
|
private |
◆ hasVideo
bool VideoComponent::Pimpl::DirectShowContext::hasVideo = false |
|
private |
◆ hdc
HDC VideoComponent::Pimpl::DirectShowContext::hdc = {} |
|
private |
◆ hwnd
HWND VideoComponent::Pimpl::DirectShowContext::hwnd = {} |
|
private |
◆ mediaControl
ComSmartPtr<ComTypes::IMediaControl> VideoComponent::Pimpl::DirectShowContext::mediaControl |
|
private |
◆ mediaEvent
ComSmartPtr<ComTypes::IMediaEventEx> VideoComponent::Pimpl::DirectShowContext::mediaEvent |
|
private |
◆ mediaPosition
ComSmartPtr<ComTypes::IMediaPosition> VideoComponent::Pimpl::DirectShowContext::mediaPosition |
|
private |
◆ nativeWindow
std::unique_ptr<NativeWindow> VideoComponent::Pimpl::DirectShowContext::nativeWindow |
|
private |
◆ needToRecreateNativeWindow
bool VideoComponent::Pimpl::DirectShowContext::needToRecreateNativeWindow = false |
|
private |
◆ needToUpdateViewport
bool VideoComponent::Pimpl::DirectShowContext::needToUpdateViewport = true |
|
private |
◆ state
◆ videoRenderer
The documentation for this struct was generated from the following file: