Carl-Anton Ingmarsson
8e66a17830
vdpau: add debug on GstVdpDevice destroy
2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
0ffaf06a9a
vdpaumpegdec: small code cleanup
2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
c7c60ad029
vdpaumpegdec: remove unnused GstVdpBFrame struct
2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
f4fda3f617
vdpaumpegdec: fix small typo in debug print
2009-06-20 15:21:39 +01:00
Carl-Anton Ingmarsson
616038423f
vdpaumpegdec: fixup timestamping of outgoing buffers
2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
42d90ddfa3
vdpaumpegdec: don't add forward_reference if the frame is an I_FRAME
2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
e416f5f5e0
vdpaumpegdec: set correct timestamps
2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
fda9c56a59
vdpaumpegdec: remove unneeded locking since we know do StateChange correctly
2009-06-20 15:21:38 +01:00
Carl-Anton Ingmarsson
02884b0356
s/GST_TYPE_VDPAU/GST_TYPE_VDP/g
2009-06-20 15:21:37 +01:00
Carl-Anton Ingmarsson
824cf29cdc
vdpau: s/GST_TYPE_VDPAU/GST_TYPE_VDP/g
2009-06-20 15:21:35 +01:00
Carl-Anton Ingmarsson
323b563c24
vdpaumpegdec: fixup state change
2009-06-20 15:21:35 +01:00
Carl-Anton Ingmarsson
e417b2eea0
vdpau: init "vdpaudevice" debug catoegory in gst_vdp_get_device
2009-06-20 15:21:35 +01:00
Carl-Anton Ingmarsson
de7fb2006e
vdpaumpegdec: hold the lock in change_state
2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
6b05d01898
vdpaumpegdec: the B_FRAME decoding was completely wrong, fix it
...
the buffers don't come in output order so fix the decoder to handle this
add new gst_vdp_video_buffer_add_reference method to GstVdpVideoBuffer to be able to keep
buffers alive. Ie. a B_FRAME need to have both the forward reference and the backward
reference alive during it's lifetime.
add mutex to protect for threadsafety issues when we reset the decoder in FLUSH_STOP
2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
b8a7986775
vdpaumpegdec: set full_pel_forward_vector to 0 when pic_type == P_FRAME
2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
3a7a2af1fa
vdpaumpegdec: drop frames if we haven't got an I_FRAME yet
2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
66231a619a
vdpau: set vdpauvideoyuv and vdpauyuvvideo to GST_RANK_PRIMARY
2009-06-20 15:21:34 +01:00
Carl-Anton Ingmarsson
e737b9a916
vdpaumpegdec: destroy the VdpDecoder and reset the decoder on state change
2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
fb70c1e7b5
vdpau: fix error where we forgot to pass a trailing NULL to g_object_new
2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
612a46a565
vdpau: close display on finalize
2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
f16aa7271e
vdpau: small fixes
...
init create GstVdpDevice on GST_STATE_CHANGE_READY_TO_PAUSED instead of on
GST_STATE_CHANGE_NULL_TO READY
add back incrementing of frame_nr
2009-06-20 15:21:33 +01:00
Carl-Anton Ingmarsson
a94f5fe520
vdpau: use g_once_init_enter instead of g_once
2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
2eb479f825
vdpaumpegdec: if available use incoming buffer timestamp as output timestamp
2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
2d996a3ff4
vdpaumpegdec: clear the adapter when we reset the decoder
2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
8c78a4850f
vdpau: fixup renaming
...
the rename work done in commit 24cf84d06b2f4b2edec3383b198441a07829618b didn't
include typecasts. This commit fixes this.
2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
8bbd794961
vdpaumpegdec: reset decoder on GST_EVENT_FLUSH_STOP
2009-06-20 15:21:32 +01:00
Carl-Anton Ingmarsson
4d69d761d2
vdpaumpegdec: reset decoder when we get a discont buffer
2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
8b3261f91a
vdpaumpegdec: add "MPEG_PACKET_EXT_PICTURE_CODING" debug statement
2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
035b5f4efb
vdpaumpegdec: handle broken_gop field
2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
17102ad0fa
vdpaumpegdec: convert all manual parsing to use read_bits instead
2009-06-20 15:21:31 +01:00
Carl-Anton Ingmarsson
806d4ced04
vdpaumpegdec: remove unneded gst_buffer_ref and the accompanying gst_buffer_unref
2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
fc3c9dba95
vdpaumpegdec: fixup error where we set forward_reference instead of backward_reference
2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
e0ddcabd7a
vdpaumpegdec: handle multiple B_FRAMEs in a row
2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
a168fdc1d3
vdpaumpegdec: more B_FRAME work
2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
da191134a1
vdpaumpegdec: inital support at handling B_FRAMES
2009-06-20 15:21:30 +01:00
Carl-Anton Ingmarsson
7ca750c422
vdpaumpegdec: fixup GstFlowReturn propagation a bit
2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
000db36020
vdpaumpegdec: parse PICTURE_CODING_EXTENSION alternate_scan bit
2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
375935d9c4
vdpaumpegdec: fixup quantmatrix extension parsing
2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
ee591b9f3d
vdpaumpegdec: correct some default values
...
mpeg1 now give nearly correct output :)
2009-06-20 15:21:29 +01:00
Carl-Anton Ingmarsson
638a35eacc
vdpaumpegdecoder: remove unused slice field
2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
08690f10f8
vdpau: rename "video/vdpau-video" caps to "video/x-vdpau-video"
2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
4ee4429c1a
vdpau: remove "silent" property from GstVdpDecoder
2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
500861d517
vdpau: don't set element details in GstVdpDecoder
2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
4470b61f80
vdpaumpegdecoder: rename to "vdpaumpegdec"
2009-06-20 15:21:28 +01:00
Carl-Anton Ingmarsson
71c398566c
vdpaumpegdecoder: remove unnecesary want_slice field
2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
1af393a72d
vdpau: small cosmetical fix
2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
48143abdab
vdpau: rename all files and objects from Vdpau to Vdp
2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
d2efd275a4
vdpau: decode slices when we get the next picture header. MPEG2 now kindof works.
2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
1234267cb5
vdpau: small improvement to mpeg decoder
2009-06-20 15:21:27 +01:00
Carl-Anton Ingmarsson
91ff1579f3
vdpau: remove unused "silent" properties
2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
a7170c6ef7
vdpau: implement GstVdpauVideoBuffer -> I420 conversion
2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
86cd9b20f8
vdpau: move definition of the VdpChromaType array and the VdpauFormats to gstdevice.h
2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
072f869548
vdpau: small fix
...
set vdp_info.forward_reference to VDP_INVALID handle when unreffing the old
buffer
2009-06-20 15:21:26 +01:00
Carl-Anton Ingmarsson
f8e0c0bcc1
vdpau: add new GstVdpauYUVVideo element
...
the GstVdpauYUVVideo element takes raw YUV video and outputs
GstVdpauVideoBuffers
2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
74485f6fa2
vdpau: VideoYUV unref buffer in chain so that we don't leak them MpegDecoder parse sequence headers
2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
17a758ec71
vdpau: remove some unneded includes
2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
3d4a340cfa
vdpau: move plugin definition to a new gstvdpau.c file fix up debug categories
2009-06-20 15:21:25 +01:00
Carl-Anton Ingmarsson
85158b07ea
vdpau: add new GstVdpauVideoYUV element
...
GstVdpauDecoder now pushes GstVdpauVideoBuffers instead of doing
VdpSurface -> YUV conversion. To get YUV data you now put in a GstVdpauVideoYUV
element which takes GstVdpauVideoBuffers and outputs YUV data.
2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
5e73b7272b
vdpau: small indent fix
2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
f72dc12373
vdpau: remove obosolete FIXME and some debug prints from gstvdpaudevice.c
2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
7b6cfb83c8
vdpau: commit rename of gst-vdpau-device.h to gstvdpaudevice.h
2009-06-20 15:21:24 +01:00
Carl-Anton Ingmarsson
4cc2a90645
vdpau: remove gst-vdpau-device.c
2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
85acf023df
vdpau: rename gst-vdpau-device.[ch] to gstvdpaudevice.[ch]
2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
5563c933ee
vdpau: change all references of "gst_vdpaudecoder*" to "gst_vdpau_decoder"
2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
6fa5b4ff14
vdpau: make the decoder clean up after itself
2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
21d7740236
vdpau: remove extra \ from Makefile.am
2009-06-20 15:21:23 +01:00
Carl-Anton Ingmarsson
f74f44c24f
vdpau: add gstvdpaudevice for abstracting vdpau initalization
2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
a22a18d1e7
vdpau: remove comment
2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
a727e6a022
vdpau: MPEG1 decoding know gives recognizable output
2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
f70ddb6605
vdpau: create VdpDecoder in set_caps add more functions for parsing mpeg
2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
584b000583
vdpau: store vdpau function pointers in a local structure
2009-06-20 15:21:22 +01:00
Carl-Anton Ingmarsson
29d0c5bdd8
vdpau: extract mpeg2 profile from codec_data
2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
090638ccec
vdpau: extract mpeg version
2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
367708e2ae
vdpau: add version specification to mpegdecoder caps
2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
f6ed342f19
vdpau: focus on mpeg instead of h264
2009-06-20 15:21:21 +01:00
Carl-Anton Ingmarsson
62757ca5b4
vdpau: rough try at implementing pushinf of YV12 buffers
2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
2363032b34
vdpau: remove obsolete comment
2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
3a48982235
vdpau: init vdpau in GST_STATE_CHANGE_NULL_TO_READY add gst_vdpaudecoder_push_video_surface to vdpaudecoder.h
2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
24dfc72e89
vdpau: add stubs for pushing VdpVideoSurfaces to the src pad
2009-06-20 15:21:20 +01:00
Carl-Anton Ingmarsson
46a7e8221c
vdpau: update VdpauH264Decoder element description
2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
c0e4cdeb61
vdpau: changle gstvdpaudecoder.c classification
2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
f2eea7d0ed
vdpau: implement downstream caps negotiation
2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
05908cd130
vdpau: small indentation fix
2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
b25f035fe5
vdpau: add basic base class for vdpau decoders
2009-06-20 15:21:19 +01:00
Carl-Anton Ingmarsson
b31ab745a5
add new vdpau directory
2009-06-20 15:21:18 +01:00
Tim-Philipp Müller
6eb167a176
Make build without warnings with debugging disabled
2009-06-19 16:21:28 +01:00
Jan Schmidt
3a05abd2b1
Moved 'directdraw' from -good to -bad
2009-05-16 01:29:21 +01:00
LRN
770c18986d
[MOVED FROM GOOD] directdrawsink: Fix type mismatches
...
Fixes bug #573343 .
2009-05-16 01:29:20 +01:00
Stefan Kost
3aafd4f9c3
[MOVED FROM GOOD] Remove version numbers from a few gst-launch examples.
...
The majority of the examples doe not use -0.10 and this will also help us to maintain the docs.
2009-05-16 01:29:20 +01:00
Stefan Kost
88e98b2298
[MOVED FROM GOOD] Update and add documentation for platform specific plugins (sys).
...
Link to properties. Correct titles for examples. Fix examples.
2009-05-16 01:29:19 +01:00
Stefan Kost
9d4bfe34db
[MOVED FROM GOOD] Don't install static libs for plugins. Fixes #550851 for -good.
...
Original commit message from CVS:
* ext/aalib/Makefile.am:
* ext/annodex/Makefile.am:
* ext/cairo/Makefile.am:
* ext/dv/Makefile.am:
* ext/esd/Makefile.am:
* ext/flac/Makefile.am:
* ext/gconf/Makefile.am:
* ext/gdk_pixbuf/Makefile.am:
* ext/hal/Makefile.am:
* ext/jpeg/Makefile.am:
* ext/ladspa/Makefile.am:
* ext/libcaca/Makefile.am:
* ext/libmng/Makefile.am:
* ext/libpng/Makefile.am:
* ext/mikmod/Makefile.am:
* ext/pulse/Makefile.am:
* ext/raw1394/Makefile.am:
* ext/shout2/Makefile.am:
* ext/soup/Makefile.am:
* ext/speex/Makefile.am:
* ext/taglib/Makefile.am:
* ext/wavpack/Makefile.am:
* gst/alpha/Makefile.am:
* gst/apetag/Makefile.am:
* gst/audiofx/Makefile.am:
* gst/auparse/Makefile.am:
* gst/autodetect/Makefile.am:
* gst/avi/Makefile.am:
* gst/cutter/Makefile.am:
* gst/debug/Makefile.am:
* gst/effectv/Makefile.am:
* gst/equalizer/Makefile.am:
* gst/flx/Makefile.am:
* gst/goom/Makefile.am:
* gst/goom2k1/Makefile.am:
* gst/icydemux/Makefile.am:
* gst/id3demux/Makefile.am:
* gst/interleave/Makefile.am:
* gst/law/Makefile.am:
* gst/level/Makefile.am:
* gst/matroska/Makefile.am:
* gst/median/Makefile.am:
* gst/monoscope/Makefile.am:
* gst/multifile/Makefile.am:
* gst/multipart/Makefile.am:
* gst/oldcore/Makefile.am:
* gst/qtdemux/Makefile.am:
* gst/replaygain/Makefile.am:
* gst/rtp/Makefile.am:
* gst/rtsp/Makefile.am:
* gst/smpte/Makefile.am:
* gst/spectrum/Makefile.am:
* gst/udp/Makefile.am:
* gst/videobox/Makefile.am:
* gst/videocrop/Makefile.am:
* gst/videofilter/Makefile.am:
* gst/videomixer/Makefile.am:
* gst/wavenc/Makefile.am:
* gst/wavparse/Makefile.am:
* sys/directdraw/Makefile.am:
* sys/directsound/Makefile.am:
* sys/oss/Makefile.am:
* sys/osxaudio/Makefile.am:
* sys/osxvideo/Makefile.am:
* sys/sunaudio/Makefile.am:
* sys/v4l2/Makefile.am:
* sys/waveform/Makefile.am:
* sys/ximage/Makefile.am:
Don't install static libs for plugins. Fixes #550851 for -good.
2009-05-16 01:29:19 +01:00
Ole André Vadla Ravnås
88fb052f4f
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc, gst_directdraw_sink_bufferpool_clear):
...
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_buffer_alloc,
gst_directdraw_sink_bufferpool_clear):
Fix two more buffer ref leaks.
2009-05-16 01:29:19 +01:00
Ole André Vadla Ravnås
c99b497b4f
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c: Fix buffer ref leak.
...
Original commit message from CVS:
Patch by: Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
* sys/directdraw/gstdirectdrawsink.c:
(gst_directdraw_sink_show_frame):
Fix buffer ref leak.
2009-05-16 01:29:19 +01:00
Haakon Sporsheim
934179d813
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw): Do IDirectDrawClipper_SetHWnd() if the window I...
...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_setup_ddraw):
Do IDirectDrawClipper_SetHWnd() if the window ID has already been
set after creating the clipper.
2009-05-16 01:29:19 +01:00
Haakon Sporsheim
0a7b745585
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame): Added checking of surface lost case after an uns...
...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame):
Added checking of surface lost case after an unsuccessful
IDirectDrawSurface7_Lock() call.
If surface is lost, return GST_FLOW_OK.
2009-05-16 01:29:18 +01:00
Haakon Sporsheim
4e309644e8
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,
...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_show_frame,
WndProc, gst_directdraw_sink_window_thread):
Improved Windows message loop and fixed window destruction issue.
When the window which DirectDraw is rendering to is destroyed, the
render/show_frame function will return GST_FLOW_ERROR.
Partially fixes #520885 .
2009-05-16 01:29:18 +01:00
Haakon Sporsheim
b4633a6930
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps): Fixed mid stream resolution change bug, the offscr...
...
Original commit message from CVS:
patch by: Haakon Sporsheim <haakon.sporsheim at tandberg com>
* sys/directdraw/gstdirectdrawsink.c (gst_directdraw_sink_set_caps):
Fixed mid stream resolution change bug, the offscreen surface is now
released when set_caps is called.
Partially fixes #520885 .
2009-05-16 01:29:18 +01:00
Ole André Vadla Ravnås
e2886ac7c9
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
...
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Make it so that gst_directdraw_sink_buffer_alloc uses the right
width/height.
Especially when looking through the pool of buffers, make sure that
the width/height of caps is used instead of the already negotiated
dimensions.
For example if a buffer with different caps is requested, i.e.
higher resolution, the caller would get a buffer with the old
dimensions and thus corrupt the heap.
2009-05-16 01:29:18 +01:00
Ole André Vadla Ravnås
44a5658faa
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
...
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Clear the flags on recycled buffers from buffer_alloc.
Partially fixes #520885 .
The right fix this time.
2009-05-16 01:29:18 +01:00
Ole André Vadla Ravnås
1aa90c3ce1
[MOVED FROM GOOD] sys/directdraw/gstdirectdrawsink.c
...
Original commit message from CVS:
* sys/directdraw/gstdirectdrawsink.c
(gst_directdraw_sink_buffer_alloc):
Reverting previous commit, it had it all mixed up, was for a different
patch (major automation screw-up). Sorry!
2009-05-16 01:29:18 +01:00