MVDSTD:CalculateWorkBufSize: Difference between revisions

2670QM (talk | contribs)
mNo edit summary
2670QM (talk | contribs)
Fixed wrong description
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, so any videos that are compliant with H.264 specs should be decoded with this buffer size.
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 4K is enough) is safer.


Calculation procedures are :
Calculation procedures are :