[x264-devel] Re: x264_mc_function_t in PPC
Loren Merritt
lorenm at u.washington.edu
Thu Feb 24 00:16:05 CET 2005
On Wed, 23 Feb 2005, Mauricio Alvarez wrote:
> I am working on a performance analysis of the H.264 coding for HD video on
> the PowerPC architecture (Mac-OSX on a G5). I am using the x264 video encoder
> because is faster than JM reference code and also because it has good altivec
> optimizations.
>
> But with the repository modifications of the last week I can not compile the
> code (with gcc-3.3.3) in my machine because a problem related with type
> definitions of some pointer to functions.
>
> in common/ppc/mc.h is declared:
> void x264_mc_altivec_init( x264_mc_function_t pf[2] );
>
> But the type x264_mc_function_t is not declared anywhere and also the
> declaration of MC_LUMA and MC_CHROMA are missing.
>
> I can compile the code introducing the definition of x264_mc_function_t and
> MC_LUMA and MC_CHROMA from a previous version of the code, But I dont know
> if these declarations were removed or changed for some specific reason.
When Radek optimized MC by caching half-pel planes, that changed the
function signitures and usage. Neither he nor I have a PPC to test on, so
we couldn't update those to match.
It should be reasonably simple to adapt mc_luma_mmx, get_ref_mmx,
x264_mc_mmxext_init, and get_funcs_mmx.
--Loren Merritt
--
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html
More information about the x264-devel
mailing list