"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "libavcodec/h264_mb.c" between
libav-12.1.tar.gz and libav-12.2.tar.gz

About: libav provides cross-platform tools ("avconv") and libraries to convert, manipulate and stream a wide range of multimedia (audio and video) formats and protocols.

h264_mb.c  (libav-12.1):h264_mb.c  (libav-12.2)
skipping to change at line 639 skipping to change at line 639
idct_dc_add = idct_dc_add =
idct_add = h->h264dsp.h264_add_pixels8_clear; idct_add = h->h264dsp.h264_add_pixels8_clear;
} else { } else {
idct_dc_add = h->h264dsp.h264_idct8_dc_add; idct_dc_add = h->h264dsp.h264_idct8_dc_add;
idct_add = h->h264dsp.h264_idct8_add; idct_add = h->h264dsp.h264_idct8_add;
} }
for (i = 0; i < 16; i += 4) { for (i = 0; i < 16; i += 4) {
uint8_t *const ptr = dest_y + block_offset[i]; uint8_t *const ptr = dest_y + block_offset[i];
const int dir = sl->intra4x4_pred_mode_cache[scan8[i]]; const int dir = sl->intra4x4_pred_mode_cache[scan8[i]];
if (transform_bypass && h->ps.sps->profile_idc == 244 && dir <= 1) { if (transform_bypass && h->ps.sps->profile_idc == 244 && dir <= 1) {
h->hpc.pred8x8l_add[dir](ptr, sl->mb + (i * 16 + p * 256 << if (h->x264_build < 151U) {
pixel_shift), linesize); h->hpc.pred8x8l_add[dir](ptr, sl->mb + (i * 16 + p * 256
<< pixel_shift), linesize);
} else
h->hpc.pred8x8l_filter_add[dir](ptr, sl->mb + (i * 16 +
p * 256 << pixel_shift),
(sl-> topleft_samples_av
ailable << i) & 0x8000,
(sl->topright_samples_av
ailable << i) & 0x4000, linesize);
} else { } else {
const int nnz = sl->non_zero_count_cache[scan8[i + p * 16]]; const int nnz = sl->non_zero_count_cache[scan8[i + p * 16]];
h->hpc.pred8x8l[dir](ptr, (sl->topleft_samples_available << i) & 0x8000, h->hpc.pred8x8l[dir](ptr, (sl->topleft_samples_available << i) & 0x8000,
(sl->topright_samples_available << i) & 0x4000, linesize); (sl->topright_samples_available << i) & 0x4000, linesize);
if (nnz) { if (nnz) {
if (nnz == 1 && dctcoef_get(sl->mb, pixel_shift, i * 16 + p * 256)) if (nnz == 1 && dctcoef_get(sl->mb, pixel_shift, i * 16 + p * 256))
idct_dc_add(ptr, sl->mb + (i * 16 + p * 256 << pixel _shift), linesize); idct_dc_add(ptr, sl->mb + (i * 16 + p * 256 << pixel _shift), linesize);
else else
idct_add(ptr, sl->mb + (i * 16 + p * 256 << pixel_sh ift), linesize); idct_add(ptr, sl->mb + (i * 16 + p * 256 << pixel_sh ift), linesize);
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)