You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avcodec/svq1enc: Remove write-only c_block_{width,height}
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -80,10 +80,6 @@ typedef struct SVQ1EncContext {
|
|||||||
int y_block_width;
|
int y_block_width;
|
||||||
int y_block_height;
|
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];
|
DECLARE_ALIGNED(16, int16_t, encoded_block_levels)[6][7][256];
|
||||||
|
|
||||||
uint16_t *mb_type;
|
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_width = (s->frame_width + 15) / 16;
|
||||||
s->y_block_height = (s->frame_height + 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->avctx = avctx;
|
||||||
s->m.c.avctx = avctx;
|
s->m.c.avctx = avctx;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user