Bug 32312 - Не содержит реализации av_image_get_buffer_size
Summary: Не содержит реализации av_image_get_buffer_size
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: libavutil-devel (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Anton Farygin
QA Contact: qa-sisyphus
URL:
Keywords:
: 32884 (view as bug list)
Depends on: 33155
Blocks: 32310
  Show dependency tree
 
Reported: 2016-07-25 15:18 MSK by Vitaly Lipatov
Modified: 2017-06-17 17:30 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Lipatov 2016-07-25 15:18:01 MSK
В документации
https://libav.org/documentation/doxygen/master/group__lavu__picture.html#func-members
имеется описание

int 	av_image_get_buffer_size (enum AVPixelFormat pix_fmt, int width, int height, int align)
 	Return the size in bytes of the amount of data required to store an image with the given parameters. 

И в репозитории http://git.libav.org/libav.git в ветке master даже есть добавляющий это коммит:

commit e2ad0b66fa273c5c823978e8f601f2c0d9ee42f8
Author: Stefano Sabatini <stefasab@gmail.com>
Date:   Wed Dec 10 12:20:49 2014 +0000

    imgutils: create misc functions for dealing with buffers

    Move the lavc/imgconvert functions and rename them as follows:
      avpicture_get_size -> av_image_get_buffer_size()
      avpicture_fill     -> av_image_fill_arrays()
      avpicture_layout   -> av_image_copy_to_buffer()


Но ни в один из релизов он не вошёл.
Comment 1 Sergey Bolshakov 2016-12-15 16:01:17 MSK
вошёл в v12, ожидайте.
Comment 2 Sergey Bolshakov 2016-12-15 16:03:35 MSK
*** Bug 32884 has been marked as a duplicate of this bug. ***
Comment 3 Vitaly Lipatov 2016-12-16 20:32:26 MSK
(В ответ на комментарий №1)
> вошёл в v12, ожидайте.
Ах вот оно что...
October 18, 2016
After almost 2 years of hard work, the Libav community is happy to announce that version 12.0 has been released!

Так а что ожидать, прошло два года с создания коммита и два месяца с релиза v12.
Comment 4 Vitaly Lipatov 2017-06-17 17:30:19 MSK
С ffmpeg приехала
libavutil-devel-3.3.2-alt1
всё в наличии.