Lines Matching refs:pC
102 ThumbnailContext* pC = NULL;
107 pC = (ThumbnailContext*)pCallbackUserData ;
108 CHECK_PTR(VBcallback, pC->m_pVideoBrowser, err, M4ERR_PARAMETER);
113 if (pC->m_dst32 != NULL)
115 M4OSA_Int32* dst = pC->m_dst32;
123 for (i = pPlane->u_width; i < pC->m_width; i++)
128 dst += pC->m_width;
131 else if (pC->m_dst16 != NULL)
133 M4OSA_Int16* dst = pC->m_dst16;
138 for (i = pPlane->u_width; i < pC->m_width; i++)
143 dst += pC->m_width;
226 ThumbnailContext* pC = (ThumbnailContext*)pContext;
228 if ((pC->m_width != width) || (pC->m_height != height))
230 err = videoBrowserSetWindow(pC->m_pVideoBrowser, pixelArray,
233 pC->m_width = width;
234 pC->m_height = height;
240 if ((((VideoBrowserContext*)pC->m_pVideoBrowser)->m_currentCTS != 0) &&
241 (*pTimeMS >= pC->m_previousTime) &&
242 (*pTimeMS < ((VideoBrowserContext*)pC->m_pVideoBrowser)->m_currentCTS))
244 pC->m_previousTime = *pTimeMS;
245 *pTimeMS = ((VideoBrowserContext*)pC->m_pVideoBrowser)->m_currentCTS;
249 pC->m_previousTime = *pTimeMS;
252 err = videoBrowserPrepareFrame(pC->m_pVideoBrowser, pTimeMS, tolerance);
255 if (pC->m_bRender != M4OSA_TRUE) {
256 err = videoBrowserDisplayCurrentFrame(pC->m_pVideoBrowser);
273 ThumbnailContext* pC = (ThumbnailContext*)pContext;
275 CHECK_PTR(ThumbnailGetPixels32, pC->m_pVideoBrowser, err, M4ERR_ALLOC) ;
278 pC->m_dst16 = NULL;
279 pC->m_dst32 = pixelArray;
295 ThumbnailContext* pC = (ThumbnailContext*)pContext;
297 CHECK_PTR(ThumbnailGetPixels16, pC->m_pVideoBrowser, err, M4ERR_ALLOC);
300 pC->m_dst16 = pixelArray;
301 pC->m_dst32 = NULL;
316 ThumbnailContext* pC = (ThumbnailContext*)pContext;
318 CHECK_PTR(ThumbnailClose, pC, err, M4ERR_ALLOC);
320 if (M4OSA_NULL != pC)
322 if (M4OSA_NULL != pC->m_pVideoBrowser)
324 videoBrowserCleanUp(pC->m_pVideoBrowser);
326 free(pC);