|
FireSync API
|
| kStatus kCalculateSubframe | ( | kSize | desiredSubframeCount, |
| kSize | pixelCount, | ||
| kSize * | subframeCount, | ||
| kSize * | subframeCapacity | ||
| ) |
Calculates the expected compressed subframe capacity given a desired number of subframes and image size.
This method can be used with the compression feature of kCameraPhaseDecoder to calculate the expected subframe capacity, given specific inputs.
| desiredSubframeCount | Desired number of subframes. |
| pixelCount | Uncompressed image size, in pixels. |
| subframeCount | Receives actual subframe count. |
| subframeCapacity | Receives subframe capacity. |