[FFmpeg-cvslog] r24412 - in trunk/libavcodec: vp56.h vp8.c
Jason Garrett-Glaser
darkshikari
Thu Jul 22 13:27:50 CEST 2010
2010/7/22 M?ns Rullg?rd <mans at mansr.com>:
> darkshikari <subversion at mplayerhq.hu> writes:
>
>> Author: darkshikari
>> Date: Thu Jul 22 06:26:41 2010
>> New Revision: 24412
>>
>> Log:
>> Much faster VP8 mv and mode prediction
>>
>> Modified:
>> ? ?trunk/libavcodec/vp56.h
>> ? ?trunk/libavcodec/vp8.c
>>
>> Modified: trunk/libavcodec/vp56.h
>> ==============================================================================
>> --- trunk/libavcodec/vp56.h ? Thu Jul 22 05:33:29 2010 ? ? ? ?(r24411)
>> +++ trunk/libavcodec/vp56.h ? Thu Jul 22 06:26:41 2010 ? ? ? ?(r24412)
>> @@ -32,7 +32,11 @@
>> ?#include "vp56dsp.h"
>>
>> ?typedef struct vp56_context VP56Context;
>> -typedef struct vp56_mv VP56mv;
>> +
>> +typedef struct {
>> + ? ?int16_t x;
>> + ? ?int16_t y;
>> +} DECLARE_ALIGNED(4, , VP56mv);
>
> This looks ugly, and I'm not sure it works with all the
> DECLARE_ALIGNED variants.
Is there a better way of aligning a struct's definition? We do it in x264.
Dark Shikari
More information about the ffmpeg-cvslog
mailing list