[FFmpeg-devel] sizeof(HEVCVPS)
James Almer
jamrial at gmail.com
Thu Mar 21 02:31:24 EET 2024
On 3/20/2024 7:23 PM, Michael Niedermayer wrote:
> Hi
>
> why is sizeof(HEVCVPS) is 7463476 ?
>
> If you think about this for a moment, a VPS in the bit stream is what, 5 bytes ?
>
> Now iam not even talking about someone proving you a 10mb file with a million VPSs
> 7TB allocation, memsets memcpies, ...
>
> But even with a totally normal file 7mb is easily bigger than the frame buffer
> that wastes memory, it wastes cpu time, it wastes data cache
>
> thx
Posted a patch for this.
More information about the ffmpeg-devel
mailing list