Stefan Kost
40273cf2d3
video.c: use g_assert_not_reached() for logical error here.
...
This will help to detect them closer to the source if they ever happen.
2011-05-23 13:50:09 +03:00
Robert Swain
ad2010d379
gstvideo: Add gst_video_get_size_from_caps function
...
gst_video_get_size_from_caps () allows easy calculation of the raw video
buffer size from some fixed video caps.
API: gst_video_get_size_from_caps()
2011-05-18 14:13:46 +02:00
Tim-Philipp Müller
1d05e81435
libs: gobject-introspection scanner doesn't need to scan or update plugin info
...
Make sure the scanner doesn't load or introspect or check any plugins,
(especially not outside the build directory).
2011-04-16 11:01:53 +01:00
David Schleef
ef3712b427
Revert "video: Remove the extensive checkings from switch"
...
This reverts commit 500d14c35c
.
2011-04-14 12:42:20 -07:00
Sreerenj Balachandran
500d14c35c
video: Remove the extensive checkings from switch
...
The default case handles them already
2011-04-14 10:02:42 +02:00
Tim-Philipp Müller
49cc1718a8
docs: fix typo in video format docs
2011-04-13 09:10:52 +01:00
Alessandro Decina
030f639a8e
android: make it ready for androgenizer
...
Remove the android/ top dir
Fixe the Makefile.am to be androgenized
To build gstreamer for android we are now using androgenizer which generates the
needed Android.mk files.
Androgenizer can be found here:
http://git.collabora.co.uk/?p=user/derek/androgenizer.git
2011-04-11 07:23:21 +02:00
Sebastian Dröge
a29e55f9c4
video: Fix creation of grayscale caps
...
The endianness was not set correctly before.
Fixes bug #646923 .
2011-04-07 10:06:53 +02:00
David Schleef
5f61df82da
video: Fix YUV9 and YVU9 again
2011-04-04 16:01:20 -07:00
David Schleef
629cac4cad
video: Fix height calculation for YUV9/YVU9
2011-04-01 13:55:56 -07:00
Tim-Philipp Müller
45b6bda76c
libs: make sure gobject-introspection scanner calls gst_init()
...
Cherry-picked from 0.11, since it's the right thing to do (we
now silently rely on various _get_type() working without
gst_init() having been called).
2011-03-30 21:08:29 +01:00
Tim-Philipp Müller
a818fe7381
libs: replace 0.10 with @GST_MAJORMINOR@ in Makefile.am
...
For easier cherry-picking/merging later.
2011-03-30 20:57:32 +01:00
Thiago Santos
78e8b33c38
video: Getting component offsets without dimensions is fine if it is not YUV
...
This fixes a regression that an assertion would happen if
gst_video_get_component_offset would be called with width or
height as 0.
Calling it with 0 is fine if the format isn't yuv and this
was already being used in some other places of video.c
2011-03-23 12:21:55 -03:00
David Schleef
a08227505f
video: Add gst_video_format_new_template_caps()
2011-03-22 12:11:49 -07:00
David Schleef
1265a42124
video: Add support for r210
2011-02-25 19:37:07 -08:00
Robert Swain
e0a658a664
gstvideo: Add GST_VIDEO_BUFFER_PROGRESSIVE flag
...
Maps to GST_BUFFER_FLAG_MEDIA4. The purpose is to explicitly indicate
whether a telecined buffer is progressive or not without having to make
assumptions based on previous buffers.
2011-02-25 15:29:56 +01:00
David Schleef
0ed72c2959
video: Add ARGB64 and AYUV64
...
16-bit per channel formats.
2011-02-20 12:04:02 -08:00
David Schleef
7a24e3ea4e
video: Add gst_video_format_get_component_depth()
2011-02-20 12:04:02 -08:00
Tim-Philipp Müller
0ed757db33
gobject-introspection: use same PKG_CONFIG_PATH for g-ir-compiler as for g-ir-scanner
...
Make sure to use the PKG_CONFIG_PATH set at configure time instead of
just relying on an env-var set one. This makes sure both g-ir-compiler
and g-ir-scanner use the same PKG_CONFIG_PATH for determining include
paths etc.
2011-01-08 02:10:03 +00:00
Edward Hervey
6ce0d6e78b
video: Fix uninitialized variables
...
reported by macosx gcc
2011-01-05 12:02:02 +01:00
Tim-Philipp Müller
78f33715ff
libs: use GLib 2.22 API unconditionally
2010-12-04 14:45:58 +00:00
Tim-Philipp Müller
8604fac13f
video: add missing break statement for the GST_VIDEO_FORMAT_RGB8_PALETTED case
2010-12-03 00:02:26 +00:00
Sebastian Dröge
8b60aa8e01
video: Add YUV9, YVU9 and IYU1 video formats
...
API: GST_VIDEO_FORMAT_YUV9: planar 4:1:0 YUV
API: GST_VIDEO_FORMAT_YVU9: planar 4:1:0 YUV (chroma planes swapped)
API: GST_VIDEO_FORMAT_IYU1: packed 4:1:1 YUV (Cr-Y0-Y1-Cb-Y2-Y3)
2010-12-02 19:04:29 +01:00
Sebastian Dröge
ea7446e5b5
video: Add 8-bit paletted RGB
...
API: Add GST_VIDEO_FORMAT_RGB8_PALETTED
API: Add GST_VIDEO_CAPS_RGB8_PALETTED
API: Add gst_video_parse_caps_palette()
2010-12-02 19:04:29 +01:00
Sebastian Dröge
a13720fc55
video: Return correct component width/height for A420
2010-12-02 19:04:27 +01:00
Evan Nemerson
8fb2c27ed0
introspection: Add information on exported packages to GIRs
...
https://bugzilla.gnome.org/show_bug.cgi?id=635392
2010-11-21 00:44:37 +00:00
Sebastian Dröge
b3192de682
video: Fix stupid copy&paste error in last commit
2010-10-15 11:26:50 +02:00
Sebastian Dröge
8741707430
video: API: Add A420 video format
...
This is planar 4:2:0 YUV plus non-subsampled alpha plane.
2010-10-15 11:12:34 +02:00
Tim-Philipp Müller
e98814c91e
docs: add Since: comment to docs for new GST_VIDEO_FORMAT_UYVP
2010-09-15 15:20:25 +01:00
Sebastian Dröge
7ac1938f0f
video: Add a destroy notify parameter to gst_video_convert_frame_async()
...
Binding generators apparently need this as they can't really know
that the callback is guaranteed to be called exactly once and that
the user_data can be freed at the end of it.
2010-09-15 11:26:48 +02:00
David Schleef
1a75dede56
video: Add UYVP, 10-bit 4:2:2
2010-09-14 12:33:21 -07:00
Sebastian Dröge
6407101c53
video: Add async variant of the convert frame function
...
API: gst_video_convert_frame_async()
2010-09-14 08:42:44 +02:00
Sebastian Dröge
a30371ab15
video: Strip framerate from the target caps
...
There will always be only a single output buffer and if the
target caps have a different framerate than the input there
will be a negotiation error during conversion.
2010-09-14 08:42:44 +02:00
Sebastian Dröge
b54c4b486a
video: Refactor convert_frame a bit and fix some minor memory leaks in error cases
2010-09-14 08:42:44 +02:00
Edward Hervey
349a76ed19
video: Add new method for converting a video frame
...
https://bugzilla.gnome.org/show_bug.cgi?id=629157
2010-09-14 08:42:43 +02:00
Sebastian Dröge
c30ad57e86
video: Fix component width for NV12/NV21
...
Both have width/2 as component width for the chroma planes.
2010-08-24 10:03:04 +02:00
Tim-Philipp Müller
e776699036
build: use new AG_GST_PKG_CONFIG_PATH m4 macro from common
...
Sets up a GST_PKG_CONFIG_PATH variable for use in Makefile.am
(avoids trailing ':' in PKG_CONFIG_PATH used).
2010-08-14 19:12:37 +01:00
Tim-Philipp Müller
b61b83376a
introspection: set PKG_CONFIG_PATH so that our in-tree libs come first when calling scanner
...
When calling gobject-introspection scanner, make sure our own
freshly-built libs within the source tree (well, build dir) come
first in the PKG_CONFIG_PATH. May or may not help to make sure
that it doesn't pick up older external plugins-base libs (or
.gir files) from outside the source tree / build directory as
dependencies of the introspected lib instead of using the
stuff we just built in a sibling directory.
https://bugzilla.gnome.org/show_bug.cgi?id=623698
2010-08-14 19:11:48 +01:00
Edward Hervey
3879c57b01
video: Fix unitialized variable.
...
yay macosx compilers :(
2010-06-14 14:13:16 +02:00
Sebastian Dröge
506be85356
video: Re-add (but deprecated) GST_VIDEO_{RED,GREEN,BLUE}_MASK_1[56]
2010-06-13 08:20:13 +02:00
Martin Bisson
b8f330dea6
video.{c,h}: Fix an endianness bug fix.
...
This commit makes sure the endianness is ok for RGB/BGR 15/16 formats.
2010-06-12 13:51:27 +02:00
Martin Bisson
f5a690f860
video.{c,h}: Add support for RGB and BGR with 15 and 16 bits.
2010-06-12 13:51:27 +02:00
Sebastian Dröge
80cc85d218
video: Return TRUE in gst_video_format_is_gray() for Y800 and Y16
2010-06-08 11:01:44 +02:00
Martin Bisson
b0d15133d7
video: Add support for Y800 and Y16
...
Fixes bug #620441 .
2010-06-07 08:17:55 +02:00
Sebastian Dröge
30b67cda5d
video: Use simple fraction multiplication functions instead of going through GValues
2010-05-13 11:16:02 +02:00
Sebastian Dröge
25c1a331be
video: API: Add GST_VIDEO_FORMAT_v308 for packed 4:4:4 YUV
2010-04-29 18:21:21 +02:00
Tim-Philipp Müller
0ebbb98bfa
docs: add gtk-doc chunks with Since: tags for new GST_VIDEO_CAPS_GRAY* API
2010-04-07 20:21:14 +01:00
Sebastian Dröge
fab97aec53
video: Fix parsing of 8-bit grayscale caps
2010-04-07 17:25:23 +02:00
Sebastian Dröge
bf8fff4e33
video: API: Add GST_VIDEO_CAPS_GRAY{8,16}
2010-04-07 17:23:22 +02:00
Sebastian Dröge
1e3a66f539
video: Add support for 8-bit and 16-bit grayscale formats
2010-04-07 17:06:36 +02:00