<div><div>I meet a problem. I called 'avcodec_decode_video2' decode a frame data, then I called</div><div>'avpicture_layout' to copy the pixel data from AVPicture to the buffer, </div><div>I found 'avpicture_layout' takes a long time. I have call this function for 39 times, </div><div>the running time between 50 ~ 300 ms, most of them in more than 100 ms. </div><div>I think it takes too long, what reason is this?</div></div><div>Param:</div><div>x264;</div><div>FPS = 15;</div><div>288*352;</div><div>bitrate = 105472;</div><div><br></div>