From 1e263133cc067b1986ac6f46f4a77f9fa1f6403c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 8 Feb 2014 12:06:35 +0100 Subject: [PATCH] avcodec/hevc: remove unused variables Signed-off-by: Michael Niedermayer --- libavcodec/hevc.c | 2 -- libavcodec/hevc.h | 1 - libavcodec/hevc_filter.c | 1 - 3 files changed, 4 deletions(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index 545e737ba9..ebbe9b6436 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -1883,7 +1883,6 @@ static void hls_decode_neighbour(HEVCContext *s, int x_ctb, int y_ctb, } else if (s->pps->tiles_enabled_flag) { if (ctb_addr_ts && s->pps->tile_id[ctb_addr_ts] != s->pps->tile_id[ctb_addr_ts - 1]) { int idxX = s->pps->col_idxX[x_ctb >> s->sps->log2_ctb_size]; - lc->start_of_tiles_x = x_ctb; lc->end_of_tiles_x = x_ctb + (s->pps->column_width[idxX] << s->sps->log2_ctb_size); lc->first_qp_group = 1; } @@ -2236,7 +2235,6 @@ static int hevc_frame_start(HEVCContext *s) memset(s->is_pcm, 0, s->sps->min_pu_width * s->sps->min_pu_height); memset(s->tab_slice_address, -1, pic_size_in_ctb * sizeof(*s->tab_slice_address)); - lc->start_of_tiles_x = 0; s->is_decoded = 0; s->first_nal_type = s->nal_unit_type; diff --git a/libavcodec/hevc.h b/libavcodec/hevc.h index 420b310be5..73164183d9 100644 --- a/libavcodec/hevc.h +++ b/libavcodec/hevc.h @@ -731,7 +731,6 @@ typedef struct HEVCLocalContext { uint8_t ctb_up_flag; uint8_t ctb_up_right_flag; uint8_t ctb_up_left_flag; - int start_of_tiles_x; int end_of_tiles_x; int end_of_tiles_y; /* +7 is for subpixel interpolation, *2 for high bit depths */ diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index 0c4728d1b5..80d0197967 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcodec/hevc_filter.c @@ -82,7 +82,6 @@ static int get_qPy_pred(HEVCContext *s, int xC, int yC, int xQgBase = xBase - (xBase & MinCuQpDeltaSizeMask); int yQgBase = yBase - (yBase & MinCuQpDeltaSizeMask); int min_cb_width = s->sps->min_cb_width; - int min_cb_height = s->sps->min_cb_height; int x_cb = xQgBase >> s->sps->log2_min_cb_size; int y_cb = yQgBase >> s->sps->log2_min_cb_size; int availableA = (xBase & ctb_size_mask) &&