Commit c6bf27d5 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/hevc_cabac: Rename ff_hevc_transform_skip_flag_decode() to...

avcodec/hevc_cabac: Rename ff_hevc_transform_skip_flag_decode() to hevc_transform_skip_flag_decode()

The function is static and used once in the file its defined in
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0c0d1a4e
...@@ -913,7 +913,7 @@ int ff_hevc_cbf_luma_decode(HEVCContext *s, int trafo_depth) ...@@ -913,7 +913,7 @@ int ff_hevc_cbf_luma_decode(HEVCContext *s, int trafo_depth)
return GET_CABAC(elem_offset[CBF_LUMA] + !trafo_depth); return GET_CABAC(elem_offset[CBF_LUMA] + !trafo_depth);
} }
static int ff_hevc_transform_skip_flag_decode(HEVCContext *s, int c_idx) static int hevc_transform_skip_flag_decode(HEVCContext *s, int c_idx)
{ {
return GET_CABAC(elem_offset[TRANSFORM_SKIP_FLAG] + !!c_idx); return GET_CABAC(elem_offset[TRANSFORM_SKIP_FLAG] + !!c_idx);
} }
...@@ -1115,7 +1115,7 @@ void ff_hevc_hls_residual_coding(HEVCContext *s, int x0, int y0, ...@@ -1115,7 +1115,7 @@ void ff_hevc_hls_residual_coding(HEVCContext *s, int x0, int y0,
if (s->pps->transform_skip_enabled_flag && if (s->pps->transform_skip_enabled_flag &&
log2_trafo_size <= s->pps->log2_max_transform_skip_block_size) { log2_trafo_size <= s->pps->log2_max_transform_skip_block_size) {
transform_skip_flag = ff_hevc_transform_skip_flag_decode(s, c_idx); transform_skip_flag = hevc_transform_skip_flag_decode(s, c_idx);
} }
if (c_idx == 0) { if (c_idx == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment