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 lavc/hevcdec: move HEVCContext.tab_ct_depth to HEVCLayerContext 2024-09-06 13:59:29 +02:00
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 lavc/hevcdec: make a HEVCFrame hold a reference to its PPS 2024-09-06 13:59:29 +02:00
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 avcodec/hevc/Makefile: Move rules for lavc/* files to lavc/Makefile 2024-06-09 10:59:33 +02:00
mvs.c lavc/hevcdec: make a HEVCFrame hold a reference to its PPS 2024-09-06 13:59:29 +02:00
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 lavc/hevc/pred: stop accessing parameter sets through HEVCParamSets 2024-06-11 17:39:34 +02:00
pred_template.c avcodec: use the renamed av_zero_extend 2024-06-13 20:36:09 -03:00
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