ffmpeg/libavcodec/hevc
Dale Curtis 08b1bffa49 avcodec/h2645: allocate film grain metadata dynamically
Film grain support adds a huge amount of overhead to the H264Context
structure for a feature that is rarely used. On low end devices or
pages that have lots of media this bloats memory usage rapidly.

This changes the static film grain metadata allocations to be dynamic
which reduces the H264Context size from 851808 bytes to 53444 bytes.

Bug: https://crbug.com/359358875
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Niklas Haas <git@haasn.dev>
2024-10-25 01:02:35 +02:00
..
Makefile
cabac.c
data.c
data.h
dsp.c
dsp.h
dsp_template.c
filter.c
hevc.h
hevcdec.c avcodec/h2645: allocate film grain metadata dynamically 2024-10-25 01:02:35 +02:00
hevcdec.h avcodec/h2645: allocate film grain metadata dynamically 2024-10-25 01:02:35 +02:00
mvs.c
parse.c
parse.h
parser.c
pred.c
pred.h
pred_template.c
ps.c
ps.h
ps_enc.c
refs.c
sei.c
sei.h