[FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec

Guillaume Poirier gpoirier
Wed Jul 23 14:38:16 CEST 2008


Hello,

On Jul 22, 2008, at 11:26 , Guillaume POIRIER wrote:

> On Tue, Jul 22, 2008 at 11:25 PM, Guillaume POIRIER  
> <poirierg at gmail.com> wrote:
>> Hello,
>>
>> On Wed, Jul 16, 2008 at 6:20 PM, Guillaume POIRIER  
>> <poirierg at gmail.com> wrote:
>>
>>> I saw Mauricio Alvarez at l'Aquila, at ACACES summer school, and  
>>> as we
>>> talked together, he reminded me that he worked on Altivec routines,
>>> which I couldn't figure if they had got it. Turns out that they had
>>> gone out of my radar.
>>>
>>> Here's his patch split in 2 parts:
>>>
>>> part3_luma8x8.3.diff has the new luma8x8 routines
>>
>>
>> Here's a patch that applies cleanly to the current tree
>
> Ahem...



Ok, I finally had time to sit down and test the latest known  
incarnation of the third part of Mauricio's patch.
Compared to yesterday's patch, I had to fix fix the code so that it  
uses newer syntax of LD32()'s macro.

Since the patch didn't allow lavc to decode my samples correctly, I  
went back to Mauricio's latest known 3rd patch of his patchset, to  
find out that I had made a mistake in an intermediate version of  
these ported patches.

Attached is Mauricio's patch ported to current SVN (so it features  
the "SIZE" => "16" change, which I believe doesn't change anything  
regarding the correctness of the output).

Here's what lavc has to say when I try to decode a sample with it:
[h264 @ 0x6f8970]number of reference frames exceeds max (probably  
corrupt input), discarding one
[h264 @ 0x6f8970]number of reference frames exceeds max (probably  
corrupt input), discarding one
[....]

Mauricio, could you have a look of what's wrong with your patch? If  
you don't, this patch may rot on my computer for a while....

Guillaume

-------------- next part --------------
A non-text attachment was scrubbed...
Name: part3_h264_luma8x8_altivec.7.diff
Type: application/octet-stream
Size: 28274 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080723/ed3dee37/attachment.obj>
-------------- next part --------------





More information about the ffmpeg-devel mailing list