Browse Source

hevc: cleaning disable field in deblocking filter(cherry picked from commit 7dd7a27ae8)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.1
Mickaël Raulet Michael Niedermayer 11 years ago
parent
commit
a8fafa8978
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      libavcodec/hevc.c
  2. +0
    -1
      libavcodec/hevc.h

+ 0
- 1
libavcodec/hevc.c View File

@@ -1736,7 +1736,6 @@ static int hls_slice_data(HEVCContext *s)


hls_sao_param(s, x_ctb >> s->sps->log2_ctb_size, y_ctb >> s->sps->log2_ctb_size); hls_sao_param(s, x_ctb >> s->sps->log2_ctb_size, y_ctb >> s->sps->log2_ctb_size);


s->deblock[ctb_addr_rs].disable = s->sh.disable_deblocking_filter_flag;
s->deblock[ctb_addr_rs].beta_offset = s->sh.beta_offset; s->deblock[ctb_addr_rs].beta_offset = s->sh.beta_offset;
s->deblock[ctb_addr_rs].tc_offset = s->sh.tc_offset; s->deblock[ctb_addr_rs].tc_offset = s->sh.tc_offset;
s->filter_slice_edges[ctb_addr_rs] = s->sh.slice_loop_filter_across_slices_enabled_flag; s->filter_slice_edges[ctb_addr_rs] = s->sh.slice_loop_filter_across_slices_enabled_flag;


+ 0
- 1
libavcodec/hevc.h View File

@@ -669,7 +669,6 @@ typedef struct SAOParams {
} SAOParams; } SAOParams;


typedef struct DBParams { typedef struct DBParams {
uint8_t disable;
int beta_offset; int beta_offset;
int tc_offset; int tc_offset;
} DBParams; } DBParams;


Loading…
Cancel
Save