Commit graph

73 commits

Author SHA1 Message Date
Gwenole Beauchesne
499e0dd981 vaapisink: add support for raw YUV buffers.
Add new GstVaapiUploader helper to upload raw YUV buffers to VA surfaces.
It is up to the caller to negotiate source caps (for images) and output
caps (for surfaces). gst_vaapi_uploader_has_direct_rendering() is available
to help decide between the creation of a GstVaapiVideoBuffer or a regular
GstBuffer on sink pads.

Signed-off-by: Zhao Halley <halley.zhao@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-11-20 16:04:51 +01:00
Wind Yuan
5fac9d4b55 videobuffer: fix memory leak for surface and image.
Fix reference leak of surface and image in GstVaapiVideoBuffer wrapper,
thus resulting on actual memory leak of GstVaapiImage when using them
for downloads/uploads from VA surfaces and more specifically surfaces
when the pipeline is shutdown. i.e. vaTerminate() was never called
because the resources were not unreferenced, and thus not deallocated
in the end.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-11-19 11:22:03 +01:00
Gwenole Beauchesne
a9f8e17ec5 NEWS: updates. 2012-11-19 10:09:20 +01:00
Gwenole Beauchesne
1e52967515 NEWS: updates. 2012-09-20 16:02:39 +02:00
Gwenole Beauchesne
657f0a4a6f Add initial support for VA/DRM. 2012-08-01 16:40:17 +02:00
Sreerenj Balachandran
621bb12be6 Add initial support for VA/Wayland.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-07-25 15:31:42 +02:00
Gwenole Beauchesne
7f47ac3bea Drop FFmpeg-based decoders.
GStreamer codecparsers-based decoders are the only supported decoders now.
Though, FFmpeg decoders are still available in gstreamer-vaapi 0.3.x series.
2012-07-19 17:30:36 +02:00
Gwenole Beauchesne
251d53fac6 NEWS: updates. 2012-06-26 15:05:54 +02:00
Gwenole Beauchesne
a13941ca18 0.3.7. 2012-06-26 15:05:54 +02:00
Gwenole Beauchesne
c5d56a019f NEWS: updates. 2012-06-26 15:05:54 +02:00
Gwenole Beauchesne
49b1dca2d3 mpeg2: fix calculation of macroblock_offset.
Fix decoding of streams with extra slice() information before the first
macroblock(). e.g. this fixes sony-ct3.bs from conformance test.
2012-04-02 18:42:12 +02:00
Gwenole Beauchesne
9c8b85b3c7 mpeg2: fix decoding of high profile streams.
Allow MPEG-2 High profile streams only if the HW supports that profile
or no High profile specific bits are used, and thus Main profile could
be used instead. i.e. chroma_format is 4:2:0, intra_dc_precision is not
set to 11 and no sequence_scalable_extension() was parsed.
2012-04-02 16:12:32 +02:00
Gwenole Beauchesne
84b5fc5e58 vaapidecode: report unsupported codec profiles.
Try to gracefully abort when the HW does not support the requested
profile. There is no fallback unless profiles are correctly parsed
and matched through caps beforehand.
2012-04-02 16:11:22 +02:00
Holger Kaelberer
bd08610e07 vaapisink: don't resize a 'foreign' X-window.
Don't forcibly resize foreign X windows. The user is responsible for
their size and vaapisink shall not change this.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-04-02 13:33:55 +02:00
Holger Kaelberer
c37c9ca6cf vaapisink: recalculate render rect only if caps are negotiated.
Fix gst_vaapisink_xoverlay_set_window_handle() when it is called before
caps got negotiated. Besides, when a foreign window is provided by the
user, so should the render rect.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
2012-04-02 13:33:13 +02:00
Gwenole Beauchesne
7490c3500d Update introduction and changelog. 2012-04-02 11:38:44 +02:00
Gwenole Beauchesne
2d47a06090 0.3.4. 2012-02-01 23:35:10 +01:00
Gwenole Beauchesne
dc0b24dcac NEWS: updates. 2012-02-01 23:28:23 +01:00
Gwenole Beauchesne
fbb5215c6a 0.3.3. 2012-01-16 11:40:51 +01:00
Gwenole Beauchesne
44d8bac314 NEWS: updates. 2012-01-16 11:40:50 +01:00
Gwenole Beauchesne
fed57fb14e 0.3.2. 2012-01-06 11:20:48 +01:00
Gwenole Beauchesne
1b191126c0 NEWS: updates. 2012-01-05 17:35:43 +01:00
Gwenole Beauchesne
42fa974391 Rename vaapiconvert element to vaapiupload. 2012-01-03 14:34:09 +01:00
Gwenole Beauchesne
e13efd71b7 0.3.1. 2012-01-03 13:42:29 +01:00
Gwenole Beauchesne
8a5a1bf38c NEWS: updates. 2011-12-14 15:22:24 +01:00
Gwenole Beauchesne
3fd3620f7f NEWS: updates. 2011-12-12 18:42:44 +01:00
Gwenole Beauchesne
ed6e968e39 0.3.0. 2011-12-09 11:46:45 +01:00
Gwenole Beauchesne
64296cbd43 NEWS: updates. 2011-12-09 11:38:34 +01:00
Gwenole Beauchesne
fbc97f186f 0.2.7. 2011-12-07 13:54:10 +01:00
Gwenole Beauchesne
3b9a165037 decoder: fix use of invalid data at the end-of-stream. 2011-10-19 17:33:36 +02:00
Gwenole Beauchesne
89a244ede4 Splitted-Desktop systems relicensed plugins and tests to LGPL v2.1+. 2011-10-19 14:39:21 +02:00
Gwenole Beauchesne
c94dde647c vaapidecode: fix decoding of MPEG-2 PS files. 2011-09-14 11:40:32 +02:00
Gwenole Beauchesne
8589e8279c vaapiconvert: fix direct-rendering mode. 2011-09-06 18:37:11 +02:00
Gwenole Beauchesne
00bb1ca6b4 Add Intel copyright information. 2011-08-01 14:15:39 +02:00
Gwenole Beauchesne
f94bd44816 Updates. 2011-07-22 15:59:00 +02:00
Gwenole Beauchesne
b614ec9c9b Fix licensing terms. 2011-06-14 13:54:03 +02:00
gb
1321fa9a82 0.2.5. 2010-09-20 12:55:48 +02:00
gb
7dfec25d5c Updates. 2010-09-20 12:55:48 +02:00
gb
fcb65d60f5 Drop dependency on libavformat. 2010-09-20 12:55:47 +02:00
gb
e384639747 Bump version for development. 2010-09-20 12:55:47 +02:00
gb
6735dc6b68 Fix decoding of some H.264 streams. e.g. Ice Age 2 trailer. 2010-09-20 12:55:47 +02:00
gb
dfa5bafa5c Update changelog. 2010-09-20 12:55:47 +02:00
gb
28f85a916d Fix video rendering rect within an embedder window (Totem). 2010-09-20 12:55:47 +02:00
gb
643d08ef23 Disable GLX rendering when vaapisink uses a foreign X window. 2010-09-20 12:55:47 +02:00
gb
ca25e903ac 0.2.3. 2010-09-20 12:55:47 +02:00
gb
fa6385cd39 Fix decoder caps to report codec aliases. 2010-09-20 12:55:46 +02:00
gb
adfed50a90 Fix VC-1 decoding through the playbin2 pipeline. 2010-09-20 12:55:46 +02:00
gb
9a3b4a7844 Fix memory leak of encoded buffers. 2010-09-20 12:55:46 +02:00
gb
d24ee09860 0.2.2. 2010-09-20 12:55:46 +02:00
gb
d5df97625e Fix a crash in the FFmpeg decoder on close. 2010-09-20 12:55:46 +02:00