Commit graph

23 commits

Author SHA1 Message Date
David Schleef
fe50055715 basevideo: Move common fields/functions to basecodec 2010-10-15 16:30:57 -07:00
David Schleef
7cd2e0dd3e basevideo: Move deadline to frame structure 2010-09-18 19:27:07 -07:00
Philip Jägenstedt
e72574124f vp8dec: Set GstBaseVideoDecoder::packetized to TRUE as soon as possible
This fixes an infinite loop if an EOS event is received before
GstBaseVideoDecoder::start() is called, e.g. immediately when the
pads are activated.

Fixes bug #626815.
2010-08-19 11:17:06 +02:00
Sebastian Dröge
dcd0b3599c vp8: Add initial documentation, based on the theoradec/theoraenc documentation 2010-07-03 17:47:29 +02:00
Sebastian Dröge
8c85e1c0a0 vp8: Move structure definitions, etc to public header files for gtk-doc 2010-07-03 17:34:58 +02:00
Sebastian Dröge
443af97a41 vp8: Use VPX_PLANE_* instead of PLANE_* 2010-06-01 11:19:46 +02:00
Sebastian Dröge
24027dd9f2 vp8dec: Set decoder deadline from the QoS information 2010-06-01 11:19:45 +02:00
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