[FFmpeg-cvslog] avcodec/svq1enc: Remove write-only c_block_{width,height}
Andreas Rheinhardt
git at videolan.org
Sat Jun 21 23:20:34 EEST 2025
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Jun 13 00:34:06 2025 +0200| [4b7f1595ccb57b747445184a8cf550c56c51aa90] | committer: Andreas Rheinhardt
avcodec/svq1enc: Remove write-only c_block_{width,height}
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4b7f1595ccb57b747445184a8cf550c56c51aa90
---
libavcodec/svq1enc.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/libavcodec/svq1enc.c b/libavcodec/svq1enc.c
index e3061baff4..cdcf1de712 100644
--- a/libavcodec/svq1enc.c
+++ b/libavcodec/svq1enc.c
@@ -80,10 +80,6 @@ typedef struct SVQ1EncContext {
int y_block_width;
int y_block_height;
- /* U & V plane (C planes) block dimensions */
- int c_block_width;
- int c_block_height;
-
DECLARE_ALIGNED(16, int16_t, encoded_block_levels)[6][7][256];
uint16_t *mb_type;
@@ -595,9 +591,6 @@ static av_cold int svq1_encode_init(AVCodecContext *avctx)
s->y_block_width = (s->frame_width + 15) / 16;
s->y_block_height = (s->frame_height + 15) / 16;
- s->c_block_width = (s->frame_width / 4 + 15) / 16;
- s->c_block_height = (s->frame_height / 4 + 15) / 16;
-
s->avctx = avctx;
s->m.c.avctx = avctx;
More information about the ffmpeg-cvslog
mailing list