[FFmpeg-devel] [PATCH] avcodec/hevc: reduce memory used by the SAO
christophe.gisquet at gmail.com
Thu Feb 5 08:17:25 CET 2015
2015-02-05 7:29 GMT+01:00 Christophe Gisquet <christophe.gisquet at gmail.com>:
> We were previously reference-counting the sao-buffer. Should we do
> that for sao_pixel_buffer_[hv], then?
Something like the attached patch.
Note: I'm probably overallocating compared to previously, but that
doesn't look to be a big deal.
On the other hand, those are buffers sized 2*block_height*image_width
The storing is maybe overzealous, as I don't see why just more than 1
or 2 lines/columns need to be stored.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7429 bytes
Desc: not available
More information about the ffmpeg-devel