[x264-devel] Re: Qusestion : x264_malloc()

Måns Rullgård mru at inprovide.com
Thu Jun 30 10:19:32 CEST 2005


Ikseong Bae said:
> Why not x264 use to malloc() ?
> I don't understand the x264_malloc() code.
> For speed, Is below-code used  ?
> I want to know the meaning of the x264_malloc() code.

MMX/SSE instructions require 16-byte aligned buffers.  The standard malloc()
doesn't guarantee this, so memalign() is used where available, and a hack is
used elsewhere.

-- 
Måns Rullgård
mru at inprovide.com

-- 
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