VDReleaseCompressBuffer
The VDReleaseCompressBuffer function allows an application to free a buffer received from the VDCompressDone function.
pascal VideoDigitizerError VDReleaseCompressBuffer
(VideoDigitizerComponent ci,
Ptr bufferAddr);
ci
- Identifies the application's connection to the video digitizer component. An application obtains this value from the Component Manager's
OpenComponent function.
bufferAddr
- Points to the location of the buffer to be released. This address must correspond to a buffer address that the application obtained from the
VDCompressDone function (discussed in the previous section).
DESCRIPTION
Once an application frees the buffer, the video digitizer is able to use the buffer for other images. Applications should try to free these buffers as quickly as possible, so that
the video digitizer can make optimum use of its buffer, and thereby support higher frame rates.
RESULT CODES
| noErr | 0 | No error |
| digiUnimpErr | -2201 | Function not supported |