Kay
March 23, 2004, 16:11:30
Stefan,
Let's say that the video format that I'm using is 720x480, RGB24. Therefore, the size of the buffer should be 1036800 bytes (720 * 480 * 3).
I would like to take care of allocating the memory buffers myself, but to set the size of the buffer to a multiple of the disk volume sector size. This allows me to optimize the storage of the frames to disk.
For example, if I'm using a disk sector size of 4096 bytes, then I would want each frame buffer to be a multiple of 4096 in size, or 1040384.
Can I use
newMemoryBufferCollection
Let's say that the video format that I'm using is 720x480, RGB24. Therefore, the size of the buffer should be 1036800 bytes (720 * 480 * 3).
I would like to take care of allocating the memory buffers myself, but to set the size of the buffer to a multiple of the disk volume sector size. This allows me to optimize the storage of the frames to disk.
For example, if I'm using a disk sector size of 4096 bytes, then I would want each frame buffer to be a multiple of 4096 in size, or 1040384.
Can I use
newMemoryBufferCollection