Sebastian Dröge
681d97aed7
video: Handle errors in gst_video_info_set_format() / gst_video_info_align()
...
https://bugzilla.gnome.org/show_bug.cgi?id=774588
2016-11-24 15:06:39 +02:00
Scott D Phillips
6e71583d07
Cast away const from GstMetaInfo in *_get_meta_info() functions
...
MSVC warns about the const in the implicit argument conversion in the
calls to g_once_init_{enter,leave}. It's OK so explicitly cast it.
https://bugzilla.gnome.org/show_bug.cgi?id=774293
2016-11-15 14:52:22 +02:00
Vivia Nikolaidou
8d8384f20a
videometa: Added video time code meta
...
It attaches a GstVideoTimeCodeMeta (SMPTE timecode) as metadata to a buffer.
https://bugzilla.gnome.org/show_bug.cgi?id=766419
2016-08-04 18:59:48 +03:00
Sebastian Dröge
a82ef8983e
videometa: Initialize all fields of all metas with default values
...
The metas are not allocated with all fields initialized to zeroes.
https://bugzilla.gnome.org/show_bug.cgi?id=764902
2016-04-13 10:10:51 +03:00
Arjen Veenhuizen
c5ed98a35b
videometa: Explicitly initialize GstVideoCropMeta on init
...
It is not allocated with all fields initialized to 0.
https://bugzilla.gnome.org/show_bug.cgi?id=764902
2016-04-13 10:10:46 +03:00
Wim Taymans
14083178b8
video: improve logging
...
Add logging categories for most video objects.
Remove some useless debug lines in video-info and videotestsrc.
Add a performance debug line in the video scaler.
2015-07-15 12:47:42 +02:00
Hyunjun Ko
9dc463346e
video/audio meta: transform_func: return FALSE if not supported or failed
...
https://bugzilla.gnome.org/show_bug.cgi?id=751778
2015-07-07 16:41:23 +03:00
Nicolas Dufresne
3d594ad57f
gi: Add (transfer none) for various video meta
...
These method chains gst_buffer_add_meta() which is also transfer
none.
2015-06-16 16:07:27 -04:00
Jan Schmidt
d18aa5b741
video: Make gst_buffer_get_video_meta() a real function, Return lowest id
...
Instead of returning the first video meta found on a buffer, return the
one with the lowest id (which is usually the same thing, except on
multi-view buffers)
2015-05-30 01:11:47 +10:00
Jan Schmidt
3d60fb654b
docs: Add new video functions and objects. Cleanup a little.
...
Add GstVideoChroma, GstVideoDither, GstVideoScaler and friends to the docs.
Remove and clean up a few obsolete/deleted refs and typos
2015-03-13 01:08:25 +11:00
Vincent Penquerc'h
4a401adf38
videometa: fix texture_type memcpy size
...
Coverity 1139589, 1139588
2014-04-10 12:35:03 +01:00
Mathieu Duponchelle
d1cb9c994b
video/audio: #define metadata strings.
...
For instance "orientation" becomes GST_VIDEO_ORIENTATION_METADATA.
2013-09-09 15:37:02 +02:00
Sebastian Dröge
97fc9b5f86
videometa: Add docs to the region of interest meta functions
2013-07-17 11:43:14 +02:00
Wim Taymans
b0eb99baaa
meta: fix ROI meta getter
2013-07-16 16:54:10 +02:00
Sebastian Dröge
95605a79c9
videometa: Add to the docs and make function names more consistent with others
2013-07-16 10:09:27 +02:00
Miguel Casas-Sanchez
38837bd468
videometa: Add Region Of Interest meta
...
https://bugzilla.gnome.org/show_bug.cgi?id=704070
2013-07-16 10:04:00 +02:00
Sebastian Dröge
74f6376c53
videometa: Extend GstVideoGLTextureUploadMeta
...
https://bugzilla.gnome.org/show_bug.cgi?id=697112
2013-04-17 10:50:05 +02:00
Víctor Manuel Jáquez Leal
52d269b6b1
videometa: gst_buffer_add_meta() can return NULL
...
https://bugzilla.gnome.org/show_bug.cgi?id=697824
2013-04-11 23:47:36 +01:00
Sebastian Dröge
c5d5221cb2
videometa: Add documentation for GstVideoGLTextureUploadMeta
2013-03-29 16:56:25 +01:00
Sebastian Dröge
3d1322f08e
videometa: Implement copying of GstVideoGLTextureUploadMeta
2013-03-29 16:37:01 +01:00
Sebastian Dröge
5f79a8cb93
videometa: API: Add GstVideoGLTextureUploadMeta
...
This allows elements to specify a function to upload
a buffer content to a specific OpenGL texture ID. It
could be used by the vaapi elements to provide a way
for eglglessink or WebKit to upload a VA surface to
an GL texture without the respective sinks knowing
anything about VA.
2013-03-29 16:07:23 +01:00
Thijs Vermeir
675562d362
video: use appropriate printf format for gsize
2012-12-18 15:31:52 +01:00
Tim-Philipp Müller
5f59b4f7ee
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-03 23:05:09 +00:00
Michael Smith
a29c4f9489
meta registration: use g_once functions to register these threadsafely.
2012-10-03 10:44:59 -07:00
Wim Taymans
6702a2f64c
videometa: add more debug
2012-08-20 16:14:07 +02:00
Wim Taymans
59e99e827e
videometa: improve debug error reporting
2012-06-26 11:12:00 +02:00
Wim Taymans
04a2610444
video: improve frame_flags
...
Rename the frame_flags to flags. Because they are flags on the frame object it
does not need the redundant frame_ prefix.
Change the order of the metadata constructor so that the flags come before the
format and dimension arguments.
2012-04-19 14:14:35 +02:00
Sebastian Dröge
91ffe7dd5e
video: Clean up interlaced flags and enums
...
There's a new GstVideoFrameFlags enum now that contains the frame
specific flags only. GstVideoFlags does not contain the TFF/TFF/ONEFIELD
flags anymore because these are strictly frame specific.
Also add fallback to parse these fields from the GstBufferFlags in
gst_video_frame_map() if there's no GstVideoMeta attached to the buffer.
2012-04-19 12:30:57 +02:00
Wim Taymans
1d60bd12e5
videometa: use new buffer methods when mapping memory
...
Use _find_memory and _map_range to simplify, improve and optimize the
memory mapping of video frames.
2012-04-01 18:04:10 +02:00
Wim Taymans
781f9474ea
videometa: also copy map/unmap functions
2012-03-13 20:17:55 +01:00
Wim Taymans
4da57f08a1
videometa: make video metatransform
...
Make more generic video meta transform data that can be used for many video
transformations later.
2012-03-06 12:52:01 +01:00
Wim Taymans
337eed6e91
videometa: add videoscale metadata transform
2012-03-02 13:11:36 +01:00
Wim Taymans
502c12f827
update for metadata API changes
2012-02-29 17:25:10 +01:00
Wim Taymans
a232714065
meta: add return value to transform
2012-02-28 16:18:30 +01:00
Wim Taymans
1c05eeece5
update for metadata tags
2012-02-28 12:10:14 +01:00
Alessandro Decina
9f1732fba7
Fix compiler warnings
2012-02-26 20:36:46 +01:00
Wim Taymans
525f330142
update for metadata changes
2012-02-24 10:26:04 +01:00
Wim Taymans
06ccd80811
video: fix docs
2012-02-23 16:55:11 +01:00
Wim Taymans
e32e8f6c52
video: Improve video frame map/unmap
...
Install defaul map/unmap function on the metadata and really call the functions
instead of always calling a default implementation.
Rework some bits so that we don't have to mess with the GstMapInfo information
(adding the offset), instead pass the adjusted data pointer from the map function.
2012-02-23 16:50:28 +01:00
Wim Taymans
6c51a80f6f
videometa: adjust for memory api change
2012-02-13 18:12:01 +01:00
Wim Taymans
fcdc385aa1
port to new map API
2012-01-25 12:30:53 +01:00
Wim Taymans
5872bcc33a
Update for memory API changes
2012-01-19 12:15:18 +01:00
Wim Taymans
92ac25bdb3
videometa: add copy functions
...
Without copy functions, the metadata is lost when we make a buffer copy such as
when we make a buffer writable.
2011-12-01 15:45:28 +01:00
Wim Taymans
e067e67923
rename meta* -> *meta
2011-11-02 09:04:27 +01:00