comparison loader/dshow/cmediasample.c @ 29263:0f1b5b68af32

whitespace cosmetics: Remove all trailing whitespace.
author diego
date Wed, 13 May 2009 02:58:57 +0000
parents b70f5ac9c001
children 008338d7679f
comparison
equal deleted inserted replaced
29262:7d545a6b8aff 29263:0f1b5b68af32
117 * 117 *
118 * \param[in] This pointer to CMediaSample object 118 * \param[in] This pointer to CMediaSample object
119 * \param[out] address of variable that receives pointer to sample's buffer 119 * \param[out] address of variable that receives pointer to sample's buffer
120 * 120 *
121 * \return S_OK success 121 * \return S_OK success
122 * \return apropriate error otherwise 122 * \return apropriate error otherwise
123 * 123 *
124 * \note The calles should not free or reallocate buffer 124 * \note The calles should not free or reallocate buffer
125 * 125 *
126 */ 126 */
127 static HRESULT STDCALL CMediaSample_GetPointer(IMediaSample* This, 127 static HRESULT STDCALL CMediaSample_GetPointer(IMediaSample* This,
155 * \param[out] pTimeStart pointer to variable that receives start time 155 * \param[out] pTimeStart pointer to variable that receives start time
156 * \param[out] pTimeEnd pointer to variable that receives end time 156 * \param[out] pTimeEnd pointer to variable that receives end time
157 * 157 *
158 * \return S_OK success 158 * \return S_OK success
159 * \return VFW_E_NO_STOP_TIME The sample has valid start time, but no stop time 159 * \return VFW_E_NO_STOP_TIME The sample has valid start time, but no stop time
160 * \return VFW_E_SAMPLE_TIME_NOT_SET The sample is not time-stamped 160 * \return VFW_E_SAMPLE_TIME_NOT_SET The sample is not time-stamped
161 * 161 *
162 * \remarks 162 * \remarks
163 * Both values are relative to stream time 163 * Both values are relative to stream time
164 * 164 *
165 */ 165 */
332 * \return S_FALSE Media type was not changed from previous sample 332 * \return S_FALSE Media type was not changed from previous sample
333 * \return E_OUTOFMEMORY Insufficient memory 333 * \return E_OUTOFMEMORY Insufficient memory
334 * 334 *
335 * \remarks 335 * \remarks
336 * If media type is not changed from previous sample, ppMediaType is null 336 * If media type is not changed from previous sample, ppMediaType is null
337 * If method returns S_OK caller should free memory allocated for structure 337 * If method returns S_OK caller should free memory allocated for structure
338 * including pbFormat block 338 * including pbFormat block
339 */ 339 */
340 static HRESULT STDCALL CMediaSample_GetMediaType(IMediaSample* This, 340 static HRESULT STDCALL CMediaSample_GetMediaType(IMediaSample* This,
341 AM_MEDIA_TYPE** ppMediaType) 341 AM_MEDIA_TYPE** ppMediaType)
342 { 342 {
382 382
383 return 0; 383 return 0;
384 } 384 }
385 385
386 /** 386 /**
387 * \brief IMediaSample::IsDiscontinuity (determines if this sample represents data break 387 * \brief IMediaSample::IsDiscontinuity (determines if this sample represents data break
388 * in stream) 388 * in stream)
389 * 389 *
390 * \param[in] This pointer to CMediaSample object 390 * \param[in] This pointer to CMediaSample object
391 * 391 *
392 * \return S_OK if this sample is break in data stream 392 * \return S_OK if this sample is break in data stream
393 * \return S_FALSE otherwise 393 * \return S_FALSE otherwise
394 * 394 *
395 * \remarks 395 * \remarks
396 * Discontinuity occures when filter seeks to different place in the stream or when drops 396 * Discontinuity occures when filter seeks to different place in the stream or when drops
397 * samples. 397 * samples.
398 * 398 *
399 */ 399 */
400 static HRESULT STDCALL CMediaSample_IsDiscontinuity(IMediaSample * This) 400 static HRESULT STDCALL CMediaSample_IsDiscontinuity(IMediaSample * This)
402 Debug printf("CMediaSample_IsDiscontinuity(%p) called\n", This); 402 Debug printf("CMediaSample_IsDiscontinuity(%p) called\n", This);
403 return ((CMediaSample*) This)->isDiscontinuity; 403 return ((CMediaSample*) This)->isDiscontinuity;
404 } 404 }
405 405
406 /** 406 /**
407 * \brief IMediaSample::IsDiscontinuity (specifies whether this sample represents data break 407 * \brief IMediaSample::IsDiscontinuity (specifies whether this sample represents data break
408 * in stream) 408 * in stream)
409 * 409 *
410 * \param[in] This pointer to CMediaSample object 410 * \param[in] This pointer to CMediaSample object
411 * \param[in] bDiscontinuity if TRUE this sample represents discontinuity with previous sample 411 * \param[in] bDiscontinuity if TRUE this sample represents discontinuity with previous sample
412 * 412 *
428 * \param[in] This pointer to CMediaSample object 428 * \param[in] This pointer to CMediaSample object
429 * \param[out] pTimeStart pointer to variable that receives start time 429 * \param[out] pTimeStart pointer to variable that receives start time
430 * \param[out] pTimeEnd pointer to variable that receives end time 430 * \param[out] pTimeEnd pointer to variable that receives end time
431 * 431 *
432 * \return S_OK success 432 * \return S_OK success
433 * \return VFW_E_MEDIA_TIME_NOT_SET The sample is not time-stamped 433 * \return VFW_E_MEDIA_TIME_NOT_SET The sample is not time-stamped
434 * 434 *
435 */ 435 */
436 static HRESULT STDCALL CMediaSample_GetMediaTime(IMediaSample * This, 436 static HRESULT STDCALL CMediaSample_GetMediaTime(IMediaSample * This,
437 /* [out] */ LONGLONG *pTimeStart, 437 /* [out] */ LONGLONG *pTimeStart,
438 /* [out] */ LONGLONG *pTimeEnd) 438 /* [out] */ LONGLONG *pTimeEnd)