[vlc-commits] gstdecode: support alloc'ing vlc pictures with padding

Vikram Fugro git at videolan.org
Fri Mar 11 15:58:25 CET 2016


vlc | branch: master | Vikram Fugro <vikram.fugro at gmail.com> | Fri Mar 11 18:04:11 2016 +0530| [f1b94134a4b879bc55c3dacdb496690c8ebdc03f] | committer: Jean-Baptiste Kempf

gstdecode: support alloc'ing vlc pictures with padding

Allocate the output vlc pictures with dimensions padded,
as requested by the decoder (for alignments). This further
increases the chances of direct rendering.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f1b94134a4b879bc55c3dacdb496690c8ebdc03f
---

 modules/codec/gstreamer/gstdecode.c                |    4 +-
 .../codec/gstreamer/gstvlcpictureplaneallocator.c  |   87 +++++++++++++-------
 .../codec/gstreamer/gstvlcpictureplaneallocator.h  |    6 +-
 modules/codec/gstreamer/gstvlcvideopool.c          |   41 ++++++++-
 modules/codec/gstreamer/gstvlcvideopool.h          |    2 +
 modules/codec/gstreamer/gstvlcvideosink.c          |   16 +---
 6 files changed, 106 insertions(+), 50 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=f1b94134a4b879bc55c3dacdb496690c8ebdc03f


More information about the vlc-commits mailing list