1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-04-02 20:35:37 +02:00

hevc: pretty print(cherry picked from commit 6332b3afe298b9e1060e8549aea3aa2771b43f5d)

Conflicts:

	libavcodec/hevc.h
	libavcodec/hevc_filter.c
	libavcodec/hevc_refs.c

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Mickaël Raulet 2013-10-20 21:19:15 +02:00 committed by Michael Niedermayer
parent a8fafa8978
commit 1c8de4dd94
4 changed files with 6 additions and 9 deletions

View File

@ -1472,7 +1472,6 @@ static int hls_coding_unit(HEVCContext *s, int x0, int y0, int log2_cb_size)
} else } else
lc->cu.cu_transquant_bypass_flag = 0; lc->cu.cu_transquant_bypass_flag = 0;
if (s->sh.slice_type != I_SLICE) { if (s->sh.slice_type != I_SLICE) {
uint8_t skip_flag = ff_hevc_skip_flag_decode(s, x0, y0, x_cb, y_cb); uint8_t skip_flag = ff_hevc_skip_flag_decode(s, x0, y0, x_cb, y_cb);
@ -2263,8 +2262,6 @@ static int hevc_decode_frame(AVCodecContext *avctx, void *data, int *got_output,
int ret; int ret;
HEVCContext *s = avctx->priv_data; HEVCContext *s = avctx->priv_data;
//av_log(avctx, AV_LOG_WARNING, "decode size %d\n", avpkt->size);
if (!avpkt->size) { if (!avpkt->size) {
ret = ff_hevc_output_frame(s, data, 1); ret = ff_hevc_output_frame(s, data, 1);
if (ret < 0) if (ret < 0)

View File

@ -334,7 +334,7 @@ static void deblocking_filter_CTB(HEVCContext *s, int x0, int y0)
int pcmf = (s->sps->pcm_enabled_flag && s->sps->pcm.loop_filter_disable_flag) || int pcmf = (s->sps->pcm_enabled_flag && s->sps->pcm.loop_filter_disable_flag) ||
s->pps->transquant_bypass_enable_flag; s->pps->transquant_bypass_enable_flag;
if(x0) { if (x0) {
left_tc_offset = s->deblock[ctb-1].tc_offset; left_tc_offset = s->deblock[ctb-1].tc_offset;
left_beta_offset = s->deblock[ctb-1].beta_offset; left_beta_offset = s->deblock[ctb-1].beta_offset;
} }