[FFmpeg-user] A question about video_get_buffer function

jih488 yanglm488 at hotmail.com
Mon Sep 24 16:02:53 CEST 2012


Hi all:

    I read  the ffmpeg code and have a question about video_get_buffer
function.I find there is a statement " w += w & ~(w-1) " ,  and i have
calculated 176,352 and 640 ,the results  are  192,384 and 768. why does
ffmpeg   calculate w like this  and what is purpose?

Thank you!

Aaron



--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/A-question-about-video-get-buffer-function-tp4653657.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list