Stefano Pigozzi
e7c5e17d4f
vda: Make output CVPixelBuffer format configurable
...
This is useful for client programs to ask for nv12 surfaces instead of the
current default (uyvy), since those are more efficient to decode to.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
10 years ago
Anton Khirnov
67afcefb35
lavc: Add new VDA hwaccel
...
It leverages the new hwaccel 1.2 features:
- get_buffer2 is never called
- the internal context is automatically initialized/deinitialized
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years ago
Sebastien Zwickert
dc87ac55ab
vda: Merge implementation into one file
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Sebastien Zwickert
3c37970637
vda: support synchronous decoding
...
Note that the symbols used to run the hardware decoder in asynchronous mode
have been marked deprecated and will be dropped at a future version bump.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Sebastien Zwickert
cfc680ab39
vda: Reuse the bitstream buffer and reallocate it only if needed
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Sebastien Zwickert
1bfa349a8d
vda: merge implementation into one file.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sebastien Zwickert
7f3dfd2010
vda: support synchronous decoding.
...
Note that the symbols used to run the hardware decoder in asynchronous mode
has been marked as deprecated and will be dropped at a future version dump.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Lou Logan
6851130fd6
cosmetics: minor libavcodec spelling errors
...
Also update some common misspelled words in patcheck
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
8702e35b9b
vda: try to fix compile
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sebastien Zwickert
a40ba3afe8
vda: Signal 4 byte NAL headers to the decoder regardless of what's in the extradata
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Sebastien Zwickert
e953b8b7be
vda: removes useless doxygen command.
13 years ago
Sebastien Zwickert
75be547f77
vda: uses pthreads directly.
13 years ago
Sebastien Zwickert
5ada64a549
vda: convert 3 byte NAL sizes to 4 byte.
13 years ago
Clément Bœsch
edc26bfae5
vda: use K&R style.
13 years ago
Sebastien Zwickert
4590e161e6
vda: check allocation result.
13 years ago
Sebastien Zwickert
c7fa3eeab9
vda: removes useless casts.
13 years ago
Sebastien Zwickert
6e1e49385e
vda: cosmetic.
13 years ago
Sebastien Zwickert
b46134f659
vda: reordering headers inclusion.
13 years ago
Sebastien Zwickert
ac3dbb4d58
hwaccel: OS X Video Decoder Acceleration (VDA) support.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
13 years ago
Sebastien Zwickert
89d7f92661
vda: use fast reallocation.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sebastien Zwickert
701e5348d4
vda: set destination image buffer attributes.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Sebastien Zwickert
d66ee6ac48
HWAccel: adds Video Decoder Acceleration (VDA) module for Mac OS X.
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago