Philip Jägenstedt
0285cff300
vp8dec: drop late frames after decoding them
...
This saves a memcpy, which is always something.
2010-05-21 22:23:27 +02:00
Sebastian Dröge
b740f4c8dd
vp8dec: Only enable postprocessing if the decoder supports it
2010-05-21 10:54:57 +02:00
Philip Jägenstedt
54e6f65ef3
vp8: move #ifdef HAVE_VP8_ENCODER/DECODER
...
Otherwise we'll try including e.g. <vpx/vp8cx.h> which doesn't exist.
2010-05-21 08:27:06 +02:00
Sebastian Dröge
d3c9d84fdf
vp8: Only enable the encoder or decoder if it's available in libvpx
...
Fixes bug #619172 .
2010-05-20 16:49:55 +02:00
Philip Jägenstedt
e428c10605
vp8: exlcude dec/enc based on CONFIG_VP8_DECODER/ENCODER
...
This may not be very autotoolish, but works with libvpx in the state
that libvpx is actually in. Moved the debug init to the elements
themselves to minimize amount of #ifdefs
2010-05-20 16:49:55 +02:00
Sebastian Dröge
fd77b419a4
vp8: Undef HAVE_CONFIG_H before including libvpx headers
...
A public libvpx header includes private headers if this is
defined, causing compilation failures because the private headers
are not installed of course.
2010-05-20 09:56:25 +02:00
Sebastian Dröge
e3925075f9
vp8dec: Fix memory leak
2010-05-19 23:04:07 +02:00
Sebastian Dröge
5dd5a8292a
vp8dec: Add properties to control the VP8 decoder post processing feature
...
This is disabled by default for now.
2010-05-19 19:24:04 +02:00
Sebastian Dröge
ab14c8cf5a
vp8: Improve error handling and debug output
2010-05-19 19:24:04 +02:00
Sebastian Dröge
31d603b3c9
vp8: Use correct strides and plane offsets for GStreamer
2010-05-19 19:24:03 +02:00
Sebastian Dröge
66844e24d1
vp8dec: Fix memory leaks and fail if initializing the decoder fails
2010-05-19 19:24:03 +02:00
Sebastian Dröge
557fe5c0e4
vp8dec: Fix decoding of invisible frames
2010-05-19 19:24:03 +02:00
Sebastian Dröge
ac7cba4ac2
vp8dec: Correctly initialize stream info before peeking at the stream
...
Otherwise peeking will fail and we'll get invalid values
2010-05-19 19:24:03 +02:00
Sebastian Dröge
16f6ed7195
vp8dec: Make sure to pass a keyframe as first frame to the decoder, copy output frames only once and require width/height/etc on the input caps
2010-05-19 19:24:02 +02:00
David Schleef
bf8ae5a18e
vp8dec: Fix reset after seeking
...
Also remove some unused code.
2010-05-19 19:24:02 +02:00
David Schleef
4991d5fef3
vp8: Add encoder/decoder
2010-05-19 19:24:02 +02:00