OpenHEVC / openHEVC

HEVC decoder
http://openhevc.github.io/openHEVC/
531 stars 192 forks source link

The array is_pcm should be memset to zero, at the beginning of each frame. #39

Open shakingWaves opened 8 years ago

shakingWaves commented 8 years ago

The array is_pcm should be memseted to zero, at the beginning of each frame, or deblocking will be encounter an error. //memset is_pcm to zeros if (s->sh.first_slice_in_pic_flag) { memset(s->is_pcm, 0, s->sps->min_pu_width * s->sps->min_pu_height); } this code should be add into OpenHEVC. you all should check if this is a bug.

shakingWaves commented 8 years ago

The array is_pcm should be memseted to zero, at the beginning of each frame, or deblocking will encounter an error. //memset is_pcm to zeros if (s->sh.first_slice_in_pic_flag) { memset(s->is_pcm, 0, s->sps->min_pu_width * s->sps->min_pu_height); } this code should be add into OpenHEVC. you all should check if this is a bug.