[FFmpeg-devel] Patch[2/2]: Fix bug for PPC LE in file libavcodec/ppc/fdctdsp.c

rongyan rongyan236 at foxmail.com
Mon Apr 27 08:52:02 CEST 2015


Hi,
GCC tool has a bug of PPC intrinsic interpret, which has been fixed in GCC 4.9.1. This bug lead to errors in two of our previous patches. We found this when we update our GCC tools to 4.9.1 and by reading the related info on GCC website. We fix our previous error in two seperate patches:
1. The first patch is to fix libswscale/ppc/swscale_altivec.c by remove the macro GET_VF().
2. The second patch is to roll back the commit af5fec9538d88540af5bb2dd0e4b91162ce6fa13 on Apr. 3rd for file libavcodec/ppc/fdctdsp.c, wherer the macros VEC_FMERGEH() and VEC_FMERGEL() are removed.
This is the second patch.
  
 The fate test results on both POWER8 BE and POWER8 LE are as follows:
 
  
 Thanks for your review.
 Rong Yan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 100887 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150427/f47ea582/attachment.jpe>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avcodec-ppc-fdctdsp-POWER-LE-support-in-ff_fdct_alti.patch
Type: application/octet-stream
Size: 3432 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150427/f47ea582/attachment.obj>


More information about the ffmpeg-devel mailing list