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
..
cabac.c
data.c
data.h
dsp.c
dsp.h
dsp_template.c avcodec/hevc: ff_hevc_(qpel/epel)_filters are signed type 2024-09-14 16:36:34 +08:00
filter.c
hevc.h lavc/hevc_ps: parse VPS extension 2024-09-23 17:11:40 +02:00
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
Makefile
mvs.c
parse.c lavc/hevcdec/parse: process NALUs with nuh_layer_id>0 2024-09-23 17:11:40 +02:00
parse.h
parser.c lavc/hevc/parser: only split packets on NALUs with nuh_layer_id=0 2024-09-23 17:11:40 +02:00
pred.c
pred.h
pred_template.c
ps.c avcodec/hevc/ps: add a range check for sps_max_sub_layers 2024-10-11 16:17:48 -03:00
ps.h lavc/hevc/ps: implement SPS parsing for nuh_layer_id>0 2024-09-23 17:11:40 +02:00
ps_enc.c
refs.c avcodec/hevc/refs: export Stereo 3D side data 2024-09-23 17:15:02 +02:00
sei.c avcodec/hevc/sei: add support for 3D Reference Displays Information SEI 2024-09-23 17:11:40 +02:00
sei.h avcodec/hevc/sei: num_ref_displays can be up to 32 2024-09-24 15:11:57 -03:00