Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Multiple Buffer scheme of VDIG in case of compressed frames



I think this question belongs on the quicktime-api list but I'll try to answer it here.

There are two sets of digitizing api's that a vdig can support.

1) http://developer.apple.com/documentation/QuickTime/APIREF/ControllingDigitization.htm#//apple_ref/doc/uid/TP40001187-DontLinkChapterID_1-ControllingDigitization

2)
http://developer.apple.com/documentation/QuickTime/APIREF/ControllingCompressedSourceDevices.htm#//apple_ref/doc/uid/TP40001187-DontLinkChapterID_1-ControllingCompressedSourceDevices

In the first set (which includes VDSetupBuffers), the app controls the buffers. The buffers are always in 'raw ' format, non compressed, indexed color (1,2,4,8 bit), or rgb (16,32 bit).

In the second set, the frames can be any format, raw or compressed. The buffer pool is created and controlled by the vdig itself. VDSetUpBuffer is not supposed to be used with the compressed source routines.

The SoftVDigX sample code supports the second set. It is a Compressed Source only digitizer.

The older softvdig sample code supports the first set. It has options to also or only support the second set.

> ----------
> From: 	Nakkala Sivaram Prasad
> Sent: 	Tuesday, March 29, 2005 9:28 AM
> To: 	email@hidden
> Subject: 	Multiple Buffer scheme of VDIG in case of compressed frames
> 
> Hi,
> 
> 	 Usually VDIG receives raw data frames which are compressed by
> VDIG and compressed frames are passed to Sequence grabber. In this case
> VDIG funcationality struture allows multiple buffer scheme via
> VDSetUpBuffer which inherently provides bufferList (of type
> VdigBufferRecListHandle which is a record of pixmap handles). In case,
> if VDIG receives compressed frames(where there is no need of compressing
> raw frames), how the multiple buffer scheme can be maintained to store
> the each compressed frame handle in VDSetUpBuffer ? Now the compressed
> data is available in Memory as Handle not as a pixmap handle (of an
> image) to support VDSetUpBuffer. 
> 
> Thanks and Regards,
> Sivaram Prasad Nakkala
> 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.