Commit graph

13247 commits

Author SHA1 Message Date
Tim-Philipp Müller 5522cceb55 inter: don't use deprecated GStaticMutex API 2013-01-04 17:19:25 +00:00
Sebastian Dröge 1b88d7cada eglglessink: Don't return EGLImages that we just rendered from the buffer pool
Mapping them will fail because they're still internally used.
2013-01-03 17:28:49 +01:00
Sebastian Dröge 2aefc09248 eglglessink: Handle copying of GstMemory properly
We have to use the default video meta mapping functions.
2013-01-03 15:22:38 +01:00
Sebastian Dröge f5ef0dd7ee mfc: Set variables to NULL to prevent usage after free/unref 2013-01-03 12:09:15 +01:00
Sebastian Dröge b244151f85 eglglessink: Make sure to always use the correct GstMemory for buffers from our pool 2013-01-03 12:08:39 +01:00
Sebastian Dröge e8b4815783 eglglessink: Don't forget to call the platform specific EGLImage free function 2013-01-03 11:07:06 +01:00
Sebastian Dröge 6e05f1ba12 mfc: Fix leak of input/output buffer storage in the MFC decoder library 2013-01-03 10:53:01 +01:00
Sebastian Dröge c6d9191abe eglglessink: Make sure to wait for the right object to be dequeued 2013-01-03 10:43:43 +01:00
Sebastian Dröge 24b5dd72bd mfc: Fix typo 2013-01-03 10:10:57 +01:00
Sebastian Dröge 204ec7efd5 mfc: Only add crop metadata if required 2013-01-02 17:23:51 +01:00
Sebastian Dröge 83ea8f1256 fimc: Do STREAMON/STREAMOFF only once and not once per buffer 2013-01-02 16:53:19 +01:00
Sebastian Dröge 718fe99018 mfc: Require one more output buffer than returned by the driver 2013-01-02 16:38:47 +01:00
Sebastian Dröge 79144b7cea eglglessink: Remove packed YUV support
This will not allow zero-copy because the same
EGLImage would need to be used for two different
textures with a different format.
2013-01-02 16:10:20 +01:00
Sebastian Dröge 8ed8347866 mfc: Prefer NV12 over I420/YV12 2013-01-02 16:09:15 +01:00
Sebastian Dröge 710b7c3f2e mfc: The first frame produces output in our case 2013-01-02 15:40:10 +01:00
Sebastian Dröge 0fbfe0225c mfc: Request input buffers explicitely 2013-01-02 14:32:32 +01:00
Sebastian Dröge 644ef86728 mfc: Don't STREAMOFF if no STREAMON happened yet 2013-01-02 14:27:53 +01:00
Sebastian Dröge 954ad79320 mfc: Check if the MFC hardware exists before registering the element 2013-01-02 14:23:22 +01:00
Sebastian Dröge 83a8138b4a mfc: Check device capabilities before doing anything else 2013-01-02 14:16:06 +01:00
Sebastian Dröge 4abcec4ce8 mfc: Include codec_data in the buffer with the next frame 2013-01-02 12:33:42 +01:00
Sebastian Dröge b765e33b86 mfc: Set format field of the instance struct 2013-01-02 11:56:20 +01:00
Sebastian Dröge 43ea557b9c mfc: Implement support for crop metadata 2013-01-02 11:56:20 +01:00
Sebastian Dröge 0489f52776 mfc: Check if the hardware is available in GstVideoDecoder::open() 2013-01-02 10:27:28 +01:00
Tim-Philipp Müller d1e9a96a69 mpegpsmux: use DTS in addition to PTS
And refactor choose_best_stream() a little.

videotestsrc pattern=ball ! x264enc ! mpegpsmux ! ...

plays much nicer now.
2013-01-01 11:59:39 +00:00
Sebastian Dröge 9e1faac4df eglglessink: Log in the performance category if we map/copy EGLImages to normal memory 2013-01-01 12:05:03 +01:00
Sebastian Dröge 8835cb5814 mfc: Add support for h263 and MPEG1/2 2013-01-01 11:05:24 +01:00
Sebastian Dröge 1ad5e5b329 eglglessink: Catch errors from glEGLImageTargetTexture2DOES() 2013-01-01 10:48:53 +01:00
Sebastian Dröge 1fbea3e39d eglglessink: Upload textures in GstBaseSink::prepare() already
This gives more time for the texture to be uploaded as it happens
before syncing to the running time. When the running time is reached
only eglSwapBuffers() is necessary.
2013-01-01 10:48:53 +01:00
Tim-Philipp Müller 37de5a081c mpegpsmux: use gstreamer debug logging system everywhere 2012-12-31 19:45:54 +00:00
Tim-Philipp Müller c056ecb02b mpegpsmux: port to 0.11
Naive port. Barely tested.
2012-12-31 19:42:03 +00:00
Sebastian Dröge c3c33d88d4 mfc: Don't reconfigure if we get compatible caps 2012-12-31 15:59:08 +01:00
Sebastian Dröge bee7328210 mfc: Only create the MFC context in ::set_format() 2012-12-31 15:59:08 +01:00
Sebastian Dröge 9739f58a7f mfc: Recreate fimc context if settings change 2012-12-31 15:59:08 +01:00
Sebastian Dröge 3a4ade2966 mfc: Some refactoring 2012-12-31 15:59:08 +01:00
Sebastian Dröge 7a8845243c mfc: Do zerocopy if we get EGLImage buffers 2012-12-31 15:59:07 +01:00
Sebastian Dröge 37603c7dbd mfc: Some minor fixes 2012-12-31 15:59:07 +01:00
Sebastian Dröge 2cf73892e1 mfc: Fix double-unmap of the codec data 2012-12-31 15:59:07 +01:00
Sebastian Dröge 30fd0ded4f mfc: Pass codec_data to the codec if there's some 2012-12-31 15:59:07 +01:00
Sebastian Dröge cfe1ff1c08 mfc: Refactor fimc code a bit 2012-12-31 15:59:07 +01:00
Sebastian Dröge 3b172723d6 mfc: Downgrade an error to debug output 2012-12-31 15:59:07 +01:00
Sebastian Dröge 410eb82aff mfc: Some fimc cleanup 2012-12-31 15:59:07 +01:00
Sebastian Dröge 64230003d9 mfc: Add profile/level and width/height constraints 2012-12-31 15:59:07 +01:00
Sebastian Dröge 817d30f130 mfc: Don't leak buffers when setting new dest settings for a direct buffer 2012-12-31 15:59:07 +01:00
Sebastian Dröge 21258a52cd mfc: Add initial MPEG4 support 2012-12-31 15:59:07 +01:00
Sebastian Dröge fbf42806dc mfc: Add some more debug output 2012-12-31 15:59:06 +01:00
Sebastian Dröge fe5b268a1c mfc: Implement tracking of frames using the v4l2_buffer timestamp 2012-12-31 15:59:06 +01:00
Sebastian Dröge 35400051fa mfc: Reset some more variables on ::reset() 2012-12-31 15:59:06 +01:00
Sebastian Dröge 8c433b8fb9 mfc: Also add support for YV12 2012-12-31 15:59:06 +01:00
Sebastian Dröge 2212880093 mfc: Add support for video meta 2012-12-31 15:59:06 +01:00
Sebastian Dröge 6111f89365 mfc: Implement negotiation to NV12 or I420 based on downstream caps 2012-12-31 15:59:06 +01:00