MVDSTD:CalculateWorkBufSize: Difference between revisions
Fixed wrong description |
mNo edit summary |
||
Line 153: | Line 153: | ||
|} | |} | ||
This will calculate maximum possible buffer size (==buffer size that '''''may''''' be needed to decode video) based on H.264 level and resolution, <s>so any videos that are compliant with H.264 specs should be decoded with this buffer size</s> '''''it seems there is some buffer overflow (some hundreds bytes according to test) when maximum number of reference frames are used''''', so adding some extra bytes (maybe around | This will calculate maximum possible buffer size (==buffer size that '''''may''''' be needed to decode video) based on H.264 level and resolution, <s>so any videos that are compliant with H.264 specs should be decoded with this buffer size</s> '''''it seems there is some buffer overflow (some hundreds bytes according to test) when maximum number of reference frames are used''''', so adding some extra bytes (maybe around 4096Bytes is enough) is safer. | ||
Calculation procedures are : | Calculation procedures are : |