Opened 9 years ago Closed 9 years ago #1450 closed enhancement (fixed)HM encoder memory reduction
Description
The HM Encoder takes excessive memory, especially when considering increasing picture sizes and GOP structures.
For example, when encoding Traffic (2560x1600), with the 16-frame GOP structure used by JVET, memory requirements are 2482 MiB.
For derived branches, such as JEM, memory utilization is even higher.
The reason is because all memory is allocated for all the processing at the outset. This means that for a 16 frame GOP simulation, up to 32 TComPic objects will be present, all of which have memory allocated for encoding decisions.
The attached patch reduced the memory usage by ~60% for the above example, reducing Traffic, GOP-16 from 2482 MiB to just 1020 MiB.
Note that there is not such a significant problem in the decoder, as it only allocates data for pictures when they are decoded, and destroys the data afterwards (as it also has to cope with video format changes).
The patch does not affect run-time or coding efficiency.
I have uploaded it as a ticket so that other branches may examine and comment. Attachments (1)Change History (2)Changed 9 years ago by karlsharmancomment:1 Changed 9 years ago by karlsharman
Note: See
TracTickets for help on using
tickets. | This list contains all users that will be notified about changes made to this ticket. These roles will be notified: Reporter, Owner, Subscriber, Participant
|
Applied in r4764.