[Libav-user] Buffer size align required for encoding
aleniuk
alenuke at yandex.ru
Mon Apr 25 13:56:13 CEST 2016
Ffmpeg, version 3.0.1
I use buffer, allocated av_image_alloc(align = 1).
For some reasons of image processing, I can't set align to 32 (it will cause
the rewrighting of some old code, made for ffmpeg 2.3 ).
Is it completely safe to give this buffer (in AVFrame ofcourse) to
avcodec_encode_video2 ?
Or avcodec_encode_video2 requires some minimal alignment, like
AV_INPUT_BUFFER_PADDING_SIZE?
av_image_alloc() makes *each linesize* aligned to specified value. Is it
necessary for avcodec_encode_video2 ?
--
View this message in context: http://libav-users.943685.n4.nabble.com/Buffer-size-align-required-for-encoding-tp4662070.html
Sent from the libav-users mailing list archive at Nabble.com.
More information about the Libav-user
mailing list