Lines Matching refs:pDet
80 IMediaDet* pDet = NULL; in implCreateMediaDet() local
82 …( CoCreateInstance( CLSID_MediaDet, NULL, CLSCTX_INPROC_SERVER, IID_IMediaDet, (void**) &pDet ) ) ) in implCreateMediaDet()
88 …if( !SUCCEEDED( pDet->put_Filename( ::SysAllocString( reinterpret_cast<LPCOLESTR>(aLocalStr.GetBuf… in implCreateMediaDet()
90 pDet->Release(); in implCreateMediaDet()
91 pDet = NULL; in implCreateMediaDet()
96 return pDet; in implCreateMediaDet()
104 IMediaDet* pDet = implCreateMediaDet( rURL ); in create() local
106 if( pDet ) in create()
109 pDet->Release(); in create()
110 pDet = NULL; in create()
124 IMediaDet* pDet = implCreateMediaDet( maURL ); in grabFrame() local
126 if( pDet ) in grabFrame()
132 if( SUCCEEDED( pDet->get_OutputStreams( &nStreamCount ) ) ) in grabFrame()
138 if( SUCCEEDED( pDet->put_CurrentStream( n ) ) && in grabFrame()
139 SUCCEEDED( pDet->get_StreamType( &aMajorType ) ) && in grabFrame()
148 ( S_OK == pDet->get_StreamLength( &fLength ) ) && in grabFrame()
154 if( SUCCEEDED( pDet->get_StreamMediaType( &aMediaType ) ) ) in grabFrame()
183 SUCCEEDED( pDet->GetBitmapBits( 0, &nSize, NULL, nWidth, nHeight ) ) && in grabFrame()
190 … if( SUCCEEDED( pDet->GetBitmapBits( fMediaTime, NULL, pBuffer, nWidth, nHeight ) ) ) in grabFrame()
210 pDet->Release(); in grabFrame()