summaryrefslogtreecommitdiff
path: root/libavcodec/hevc_ps.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-04-10 13:46:20 +0200
committerAnton Khirnov <anton@khirnov.net>2024-04-10 13:46:20 +0200
commitf51b5bd0b23e2822f32cd66b486dd6d02063432c (patch)
tree3cd427ee74e3a04da1c8bdc2cca8a81d9d38f280 /libavcodec/hevc_ps.h
parentb0e5878cb6a2a58673ef79e22ddcaf71f402b75a (diff)
lavc/hevc_ps: do not store delta_poc_s[01] in ShortTermRPS
They are only used in vulkan_hevc and are not actually needed, as they can be computed from delta_poc. Reduces sizeof(HEVCSPS) by 16kB.
Diffstat (limited to 'libavcodec/hevc_ps.h')
-rw-r--r--libavcodec/hevc_ps.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/hevc_ps.h b/libavcodec/hevc_ps.h
index 9801b4347f..6ef29a8ea7 100644
--- a/libavcodec/hevc_ps.h
+++ b/libavcodec/hevc_ps.h
@@ -78,8 +78,6 @@ typedef struct ShortTermRPS {
unsigned int num_negative_pics;
int num_delta_pocs;
int rps_idx_num_delta_pocs;
- int32_t delta_poc_s0[32];
- int32_t delta_poc_s1[32];
int32_t delta_poc[32];
uint8_t used[32];
} ShortTermRPS;