platform/upstream/gstreamer.git
14 years agoxoverlay: G_GUINTPTR_FORMAT is since 2.22
Wim Taymans [Thu, 16 Sep 2010 17:30:59 +0000 (19:30 +0200)]
xoverlay: G_GUINTPTR_FORMAT is since 2.22

Don't rely on too new symbols, we only depend on 2.20.

14 years agoexamples: add synchronized playback and capture example
Wim Taymans [Thu, 16 Sep 2010 13:01:59 +0000 (15:01 +0200)]
examples: add synchronized playback and capture example

Add an example that demonstrates synchronized playback and capture.

14 years agovideotestsrc: Fix indentation
Thijs Vermeir [Thu, 16 Sep 2010 15:15:32 +0000 (17:15 +0200)]
videotestsrc: Fix indentation

14 years agovideotestsrc: add bar pattern
Thijs Vermeir [Thu, 16 Sep 2010 15:14:20 +0000 (17:14 +0200)]
videotestsrc: add bar pattern

Simple bar with foreground color on the background color

14 years agotests: use gst-check API in videotestsrc
Thijs Vermeir [Thu, 16 Sep 2010 13:07:15 +0000 (15:07 +0200)]
tests: use gst-check API in videotestsrc

use gst_check_drop_buffers in videotestsrc to
clear the global buffers list.

14 years agotests: Fix unit test of videotestsrc
Thijs Vermeir [Thu, 16 Sep 2010 12:55:55 +0000 (14:55 +0200)]
tests: Fix unit test of videotestsrc

Use UYVY for unit tests, it's exactly the same as Y422.
(which is currently disabled in videotestsrc)

14 years agopo: update for new strings
Tim-Philipp Müller [Wed, 15 Sep 2010 14:13:15 +0000 (15:13 +0100)]
po: update for new strings

14 years agodocs: add Since: comment to docs for new GST_VIDEO_FORMAT_UYVP
Tim-Philipp Müller [Wed, 15 Sep 2010 14:12:26 +0000 (15:12 +0100)]
docs: add Since: comment to docs for new GST_VIDEO_FORMAT_UYVP

14 years agognomevfsrc: set GST_PARAM_MUTABLE_READY flag on the "handle" property
Tristan Matthews [Tue, 14 Sep 2010 15:20:42 +0000 (11:20 -0400)]
gnomevfsrc: set GST_PARAM_MUTABLE_READY flag on the "handle" property

Fixes #629672

14 years agovideotestsrc: fix segfault on negative horizontal-speed
Thijs Vermeir [Wed, 15 Sep 2010 13:19:04 +0000 (15:19 +0200)]
videotestsrc: fix segfault on negative horizontal-speed

14 years agodecodebin2: Actually dispose the unused ghostpads
Edward Hervey [Wed, 15 Sep 2010 12:15:13 +0000 (14:15 +0200)]
decodebin2: Actually dispose the unused ghostpads

14 years agoRevert "audioresample: Add GAP flag support"
Sebastian Dröge [Wed, 15 Sep 2010 09:28:29 +0000 (11:28 +0200)]
Revert "audioresample: Add GAP flag support"

This reverts commit 129af0d8e6a74e8edef3e77c3626616b674b7cc1.

This shouldn't be committed at all, it isn't ready and apparently
was in the wrong branch locally.

14 years agovideo: Add a destroy notify parameter to gst_video_convert_frame_async()
Sebastian Dröge [Wed, 15 Sep 2010 09:26:48 +0000 (11:26 +0200)]
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.

14 years agoaudioresample: Add GAP flag support
Leo Singer [Tue, 14 Sep 2010 10:00:39 +0000 (12:00 +0200)]
audioresample: Add GAP flag support

Fixes bug #586570.

14 years agoxoverlay: Add guintptr versions of functions
David Schleef [Sun, 5 Sep 2010 22:17:47 +0000 (15:17 -0700)]
xoverlay: Add guintptr versions of functions

And deprecate the gulong versions.  This is to support platforms
where sizeof(unsigned long) < sizeof(void *).  Fixes #627565.

API: Add gst_x_overlay_set_window_handle()
API: Deprecate: gst_x_overlay_set_xwindow_id()
API: Add gst_x_overlay_got_window_handle()
API: Deprecate: gst_x_overlay_got_xwindow_id()
API: Add GstXOverlay::set_window_handle()
API: Deprecate: GstXOverlay::set_xwindow_id()

14 years agovideotestsrc: Add UYVP
David Schleef [Tue, 14 Sep 2010 19:31:58 +0000 (12:31 -0700)]
videotestsrc: Add UYVP

14 years agovideotestsrc: Various improvements
David Schleef [Mon, 13 Sep 2010 03:36:19 +0000 (20:36 -0700)]
videotestsrc: Various improvements

Replace moving-color-bars pattern with smpte100, and change
moving-speed to horizontal-speed.  Default is now 0.  Add
a rotation stage to pattern building.
Allocate a temporary scanline for building images.  Remove
unused code.  Disable several patterns that we're unable to
test and probably never used.  Add other variants of bayer
sampling.  Convert some patterns to use videotestsrc_blend_line.

14 years agovideotestsrc: clean up blink pattern
David Schleef [Sat, 11 Sep 2010 01:10:40 +0000 (18:10 -0700)]
videotestsrc: clean up blink pattern

14 years agovideotestsrc: Clean up the RGB code
David Schleef [Fri, 10 Sep 2010 22:57:54 +0000 (15:57 -0700)]
videotestsrc: Clean up the RGB code

14 years agovideotestsrc: Convert to intermediate AYUV/ARGB
David Schleef [Fri, 10 Sep 2010 21:40:44 +0000 (14:40 -0700)]
videotestsrc: Convert to intermediate AYUV/ARGB

Scanlines are generated into AYUV/ARGB, then converted to the
various formats.

14 years agovideotestsrc: rearrange code to work on scanlines
David Schleef [Fri, 10 Sep 2010 19:48:30 +0000 (12:48 -0700)]
videotestsrc: rearrange code to work on scanlines

14 years agovideotestsrc: Fix recent breakage of smpte75 pattern
David Schleef [Fri, 10 Sep 2010 19:03:07 +0000 (12:03 -0700)]
videotestsrc: Fix recent breakage of smpte75 pattern

14 years agovideotestsrc: add moving color bars pattern
Thijs Vermeir [Wed, 1 Sep 2010 13:18:31 +0000 (15:18 +0200)]
videotestsrc: add moving color bars pattern

This pattern is moving the color bars with a given
speed. Negative speed is inverting the moving direction.

https://bugzilla.gnome.org/show_bug.cgi?id=628500

14 years agovideoscale: refactor using more Orc code
David Schleef [Mon, 14 Jun 2010 22:42:09 +0000 (15:42 -0700)]
videoscale: refactor using more Orc code

Convert downsampling to Orc.  Convert horizontal linear scaling
to Orc.  Combine horizontal and vertical scaling into one pass.

14 years agovideo: Add UYVP, 10-bit 4:2:2
David Schleef [Mon, 13 Sep 2010 02:34:28 +0000 (19:34 -0700)]
video: Add UYVP, 10-bit 4:2:2

14 years agovideo: Add gst_video_convert_frame_async() to the docs
Sebastian Dröge [Tue, 14 Sep 2010 06:41:43 +0000 (08:41 +0200)]
video: Add gst_video_convert_frame_async() to the docs

14 years agowin32: Add gst_video_convert_frame() and gst_video_convert_frame_async() to the ...
Sebastian Dröge [Tue, 14 Sep 2010 06:40:52 +0000 (08:40 +0200)]
win32: Add gst_video_convert_frame() and gst_video_convert_frame_async() to the .def files

14 years agovideo: Add unit test for gst_video_convert_frame_async()
Sebastian Dröge [Tue, 14 Sep 2010 06:40:07 +0000 (08:40 +0200)]
video: Add unit test for gst_video_convert_frame_async()

14 years agovideo: Add async variant of the convert frame function
Sebastian Dröge [Tue, 14 Sep 2010 06:39:20 +0000 (08:39 +0200)]
video: Add async variant of the convert frame function

API: gst_video_convert_frame_async()

14 years agovideo: Add a simple unit test for the new convert_frame API
Sebastian Dröge [Sun, 12 Sep 2010 14:53:59 +0000 (16:53 +0200)]
video: Add a simple unit test for the new convert_frame API

Unfortunately this can't test the encoding because there's no
image encoder in base.

14 years agovideo: Strip framerate from the target caps
Sebastian Dröge [Sun, 12 Sep 2010 14:51:52 +0000 (16:51 +0200)]
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.

14 years agovideo: Refactor convert_frame a bit and fix some minor memory leaks in error cases
Sebastian Dröge [Sun, 12 Sep 2010 14:36:15 +0000 (16:36 +0200)]
video: Refactor convert_frame a bit and fix some minor memory leaks in error cases

14 years agoplayback: Switch to using gst_video_convert_frame
Edward Hervey [Thu, 9 Sep 2010 12:11:52 +0000 (14:11 +0200)]
playback: Switch to using gst_video_convert_frame

https://bugzilla.gnome.org/show_bug.cgi?id=629157

14 years agovideo: Add new method for converting a video frame
Edward Hervey [Thu, 9 Sep 2010 11:44:54 +0000 (13:44 +0200)]
video: Add new method for converting a video frame

https://bugzilla.gnome.org/show_bug.cgi?id=629157

14 years agodecodebin2: prevent another race with shutdown state change
Mark Nauwelaerts [Mon, 13 Sep 2010 08:02:44 +0000 (10:02 +0200)]
decodebin2: prevent another race with shutdown state change

14 years agowin32: Add new SDP symbols to the .def files
Sebastian Dröge [Sat, 11 Sep 2010 12:55:01 +0000 (14:55 +0200)]
win32: Add new SDP symbols to the .def files

14 years agosdp: remove leftover g_print
Wim Taymans [Fri, 10 Sep 2010 16:42:16 +0000 (18:42 +0200)]
sdp: remove leftover g_print

14 years agosdp: add methods to convert between uri and message
Wim Taymans [Fri, 10 Sep 2010 15:55:46 +0000 (17:55 +0200)]
sdp: add methods to convert between uri and message

Add methods to convert between uri and sdpmessages, loosly based on
http://tools.ietf.org/html/draft-fujikawa-sdp-url-01

API: GstSDPMessage::gst_sdp_message_parse_uri
API: GstSDPMessage::gst_sdp_message_as_uri

14 years agotests: videotestsrc change the pattern property for the tests
Thijs Vermeir [Fri, 10 Sep 2010 08:40:52 +0000 (10:40 +0200)]
tests: videotestsrc change the pattern property for the tests

14 years agoorc: Fix generated source files
Sebastian Dröge [Fri, 10 Sep 2010 06:42:37 +0000 (08:42 +0200)]
orc: Fix generated source files

14 years agotests: fix passing of URIs containing '*' and '?' to the seek example
Tim-Philipp Müller [Thu, 9 Sep 2010 19:45:38 +0000 (20:45 +0100)]
tests: fix passing of URIs containing '*' and '?' to the seek example

Only do wildcard expansion (why?!) on things that look like local
file paths. Fixes passing of URIs containing '*' and '?' (see #629212).

14 years agotests: allow running state tests for all elements
Stefan Kost [Thu, 9 Sep 2010 18:51:18 +0000 (21:51 +0300)]
tests: allow running state tests for all elements

Now one can use GST_NO_STATE_IGNORE_ELEMENTS=1 make generic/states.check
to try elements that would normaly be skipped.

14 years agoadder: Do debug category initialization in plugin_init again
Sebastian Dröge [Thu, 9 Sep 2010 09:12:56 +0000 (11:12 +0200)]
adder: Do debug category initialization in plugin_init again

14 years agoorc: Update generated source files everywhere
Sebastian Dröge [Thu, 9 Sep 2010 08:59:13 +0000 (10:59 +0200)]
orc: Update generated source files everywhere

14 years agoRevert "Revert "Use init functions for Orc code""
Sebastian Dröge [Thu, 9 Sep 2010 08:57:41 +0000 (10:57 +0200)]
Revert "Revert "Use init functions for Orc code""

This reverts commit 93aa13639d74449dc68296427e5dbcfe8aca5f51.

Everything should work now after regenerating the disted source files.

14 years agowin32: Add new symbol to libgstaudio
Edward Hervey [Tue, 7 Sep 2010 17:04:23 +0000 (19:04 +0200)]
win32: Add new symbol to libgstaudio

14 years agobaseaudio: avoid taking extra ref on sink/src
Wim Taymans [Tue, 7 Sep 2010 16:09:12 +0000 (18:09 +0200)]
baseaudio: avoid taking extra ref on sink/src

Don't take an extra ref on the sink and source because that creates a reference
cycle. Instead, use the invalidate method of the clock when the sink and source
are freed. This way, we don't call into the time function anymore after the
objects are disposed.

14 years agoaudioclock: add a function to invalidate the clock
Wim Taymans [Tue, 7 Sep 2010 16:06:27 +0000 (18:06 +0200)]
audioclock: add a function to invalidate the clock

Add a function to invalidate the time function of a clock. Useful for when the
function becomes invalid.

14 years agocheck: Fix linking order of libs/tag
Edward Hervey [Tue, 7 Sep 2010 14:26:56 +0000 (16:26 +0200)]
check: Fix linking order of libs/tag

14 years agocheck: Make fontconfig leak suppression more generic
Edward Hervey [Tue, 7 Sep 2010 14:26:30 +0000 (16:26 +0200)]
check: Make fontconfig leak suppression more generic

14 years agotag: exif: Adds mappings for new image ppi tags
Thiago Santos [Tue, 7 Sep 2010 11:46:15 +0000 (08:46 -0300)]
tag: exif: Adds mappings for new image ppi tags

Adds mappings for GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI into
our exif lib

Tests included.

Fixes #626570

14 years agotags: Add GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI tags
Thiago Santos [Tue, 7 Sep 2010 11:22:27 +0000 (08:22 -0300)]
tags: Add GST_TAG_IMAGE_HORIZONTAL/VERTICAL_PPI tags

Adds new tags for representing the intended PPI of images/videos

API: GST_TAG_IMAGE_HORIZONTAL_PPI
API: GST_TAG_IMAGE_VERTICAL_PPI

Fixes #626570

14 years agoAutomatic update of common submodule
Tim-Philipp Müller [Tue, 7 Sep 2010 10:41:52 +0000 (11:41 +0100)]
Automatic update of common submodule

From c2e10bf to aa0d1d0

14 years agortp: improve basertpdepayload's error message when no input caps were set
Tim-Philipp Müller [Mon, 6 Sep 2010 17:17:10 +0000 (18:17 +0100)]
rtp: improve basertpdepayload's error message when no input caps were set

This is pretty much an FAQ, so try to make the error message a bit
more helpful. Also, don't tell people to file a bug in bugzilla
about this (which is what happens if the default error message for
CORE_NEGOTIATION is used).

14 years agortppayload: notify of first timestamp/seqnum
Wim Taymans [Mon, 6 Sep 2010 11:14:00 +0000 (13:14 +0200)]
rtppayload: notify of first timestamp/seqnum

Notify of the first timestamp/seqnum pushed out by the payloader.

Fixes #612264

14 years agovideotestsrc: .gitignore new generate_sine_table
Edward Hervey [Mon, 6 Sep 2010 09:53:35 +0000 (11:53 +0200)]
videotestsrc: .gitignore new generate_sine_table

14 years agoplayback: ref the selector pad class inside input-selector
Stefan Kost [Mon, 6 Sep 2010 08:44:17 +0000 (11:44 +0300)]
playback: ref the selector pad class inside input-selector

Minimizes the delta to original element in -bad and allows us to keep the
type static.

14 years agovideotestsrc: Use static sine table
David Schleef [Mon, 6 Sep 2010 03:57:48 +0000 (20:57 -0700)]
videotestsrc: Use static sine table

14 years agovideotestsrc: Add foreground/background-color properties
David Schleef [Mon, 6 Sep 2010 03:35:13 +0000 (20:35 -0700)]
videotestsrc: Add foreground/background-color properties

Replace solid-color property with foreground-color and add
background-color.  Pull some common code out of each of the
pattern generating functions.  Fix many of the patterns to
use foreground-color/background-color instead of white/black.
Generated images are indentical to previously if foreground-color
and background-color are left as default.

API: GstVideoTestSrc::foreground-color
API: GstVideoTestSrc::background-color

14 years agoAutomatic update of common submodule
David Schleef [Mon, 6 Sep 2010 01:58:03 +0000 (18:58 -0700)]
Automatic update of common submodule

From d3d9acf to c2e10bf

14 years agovideotestsrc: deprecate colorspec property
David Schleef [Mon, 6 Sep 2010 00:04:31 +0000 (17:04 -0700)]
videotestsrc: deprecate colorspec property

Fixes: #616392.

14 years agoaudioconvert: Simplify float->s32 conversion
Sebastian Dröge [Sun, 5 Sep 2010 10:57:36 +0000 (12:57 +0200)]
audioconvert: Simplify float->s32 conversion

orc 0.4.7 is doing saturated conversion from floats to integers
and it's not necessary to do this manually anymore.

14 years agoAutomatic update of common submodule
Sebastian Dröge [Sun, 5 Sep 2010 10:14:55 +0000 (12:14 +0200)]
Automatic update of common submodule

From ca1c867 to d3d9acf

14 years agoaudioconvert: Update disted orc files
Sebastian Dröge [Sun, 5 Sep 2010 10:12:43 +0000 (12:12 +0200)]
audioconvert: Update disted orc files

14 years agovolume: Enable float processing with orc again
Sebastian Dröge [Sun, 5 Sep 2010 10:09:19 +0000 (12:09 +0200)]
volume: Enable float processing with orc again

14 years agoconfigure: Require orc 0.4.8.1 for the volume test
Sebastian Dröge [Sun, 5 Sep 2010 10:08:44 +0000 (12:08 +0200)]
configure: Require orc 0.4.8.1 for the volume test

14 years agoaudioconvert: Use the ORC double support
Sebastian Dröge [Thu, 26 Aug 2010 17:16:18 +0000 (19:16 +0200)]
audioconvert: Use the ORC double support

14 years agoexiftag: Fix compiler warnings with old gcc versions
Leo Singer [Sat, 4 Sep 2010 07:06:08 +0000 (09:06 +0200)]
exiftag: Fix compiler warnings with old gcc versions

Old gcc complains about possibly uninitialized variables which
are always initialized before usage in reality. Fixes bug #628747.

14 years agoplayback: Switch to gstfactorylist from core
Edward Hervey [Fri, 6 Aug 2010 09:53:38 +0000 (11:53 +0200)]
playback: Switch to gstfactorylist from core

https://bugzilla.gnome.org/show_bug.cgi?id=626181

14 years agovideotestsrc: fix typo in property description
Stefan Kost [Thu, 2 Sep 2010 09:57:42 +0000 (12:57 +0300)]
videotestsrc: fix typo in property description

14 years agotextoverlay: Add support for AYUV
Sebastian Dröge [Wed, 1 Sep 2010 15:52:31 +0000 (17:52 +0200)]
textoverlay: Add support for AYUV

14 years agoaudiorate: Fill segment until the end on EOS
Sebastian Dröge [Wed, 1 Sep 2010 09:37:37 +0000 (11:37 +0200)]
audiorate: Fill segment until the end on EOS

14 years agovideorate: Fill the segment on EOS or at least produce enough frames to use the compl...
Sebastian Dröge [Wed, 1 Sep 2010 09:33:12 +0000 (11:33 +0200)]
videorate: Fill the segment on EOS or at least produce enough frames to use the complete buffer duration

Fixes bug #628400.

14 years agovideorate: Don't ignore flow returns when filling the previous segment during NEWSEGM...
Sebastian Dröge [Wed, 1 Sep 2010 09:22:25 +0000 (11:22 +0200)]
videorate: Don't ignore flow returns when filling the previous segment during NEWSEGMENT handling

14 years agoseek: allow seeking behind the currently downloaded position.
Philippe Normand [Wed, 1 Sep 2010 09:11:47 +0000 (11:11 +0200)]
seek: allow seeking behind the currently downloaded position.

14 years agoadder: use GST_BOILERPALTE macro
Stefan Kost [Wed, 1 Sep 2010 07:06:09 +0000 (10:06 +0300)]
adder: use GST_BOILERPALTE macro

14 years agoplayback: Set queues silent property to TRUE
Edward Hervey [Tue, 31 Aug 2010 08:09:51 +0000 (10:09 +0200)]
playback: Set queues silent property to TRUE

We don't use the queue signals within playsink.

14 years agotextoverlay: fix Cb/Cr inversion for colored text overlays
Rob Clark [Mon, 30 Aug 2010 19:59:22 +0000 (14:59 -0500)]
textoverlay: fix Cb/Cr inversion for colored text overlays

In case of odd values for xpos or ypos, the division by two in CbCr
plane would result in an off-by-one error, which in the case of NV12,
NV21, or UYVY would cause inversion of blue and red colors.  (And
would be not so easily noticed for I420 as it would just cause the
chroma to be offset slightly from the luma.)

This patch also fixes a silly typo from the earlier patch which
added NV12 support that broke UYVY support.

14 years agooggdemux: Don't reset the pad when pushing resulted in NOT_LINKED
Sebastian Dröge [Mon, 30 Aug 2010 13:50:26 +0000 (15:50 +0200)]
oggdemux: Don't reset the pad when pushing resulted in NOT_LINKED

The pad might be linked later and after resetting it it will
only work after resetting all of oggdemux.

14 years agouridecodebin: Only enable progressive downloading if the upstream duration in bytes...
Sebastian Dröge [Fri, 27 Aug 2010 18:45:19 +0000 (20:45 +0200)]
uridecodebin: Only enable progressive downloading if the upstream duration in bytes is known

Otherwise we might try to enable it for live streams, where this would
cause playback to fail completely.

Fixes bug #628028.

14 years agooggdemux: Don't use GST_FLOW_IS_FATAL()
Sebastian Dröge [Fri, 27 Aug 2010 15:23:46 +0000 (17:23 +0200)]
oggdemux: Don't use GST_FLOW_IS_FATAL()

And while we're at it, handle WRONG_STATE as error too
in oggdemux and WRONG_STATE and NOT_LINKED in oggaviparse.

14 years agoRevert "Use init functions for Orc code"
Wim Taymans [Fri, 27 Aug 2010 09:49:47 +0000 (11:49 +0200)]
Revert "Use init functions for Orc code"

This reverts commit b2051090b43f82b23bb01826f09053479bbd7874.

Fixes the build again until someone pushes the regenerated .c/.h
files too.

14 years agovideotestsrc: clean up code
David Schleef [Mon, 23 Aug 2010 06:01:19 +0000 (23:01 -0700)]
videotestsrc: clean up code

Merge various color structures into one.

14 years agovideotestsrc: Add ball pattern
David Schleef [Mon, 23 Aug 2010 05:16:45 +0000 (22:16 -0700)]
videotestsrc: Add ball pattern

14 years agoUse init functions for Orc code
David Schleef [Thu, 19 Aug 2010 22:43:09 +0000 (15:43 -0700)]
Use init functions for Orc code

14 years agovolume: make the orc usage for float conditional again
Stefan Kost [Thu, 26 Aug 2010 12:17:20 +0000 (15:17 +0300)]
volume: make the orc usage for float conditional again

See bug #628009. The tests still fail in the orc code (which we just don't call
now).

14 years agoriff: add support for 2vuy
Thijs Vermeir [Wed, 25 Aug 2010 10:19:05 +0000 (12:19 +0200)]
riff: add support for 2vuy

It is the apple alternative for Microsofts UYVY.
(http://ntta.szm.com/Tutors/FourCC.htm)
Only use the UYVY for the caps to enable support in other
gstreamer elements.

https://bugzilla.gnome.org/show_bug.cgi?id=627924

14 years agovolume: enable ORC for float in volume
Stefan Kost [Wed, 25 Aug 2010 16:01:57 +0000 (19:01 +0300)]
volume: enable ORC for float in volume

14 years agoconfigure: Add check for log2
Thiago Santos [Wed, 25 Aug 2010 14:19:31 +0000 (11:19 -0300)]
configure: Add check for log2

Adds check for log2 and only use it in exif library if it is
available.

14 years agotag: Link to $(LIBM) for pow(), log2() and friends
Sebastian Dröge [Wed, 25 Aug 2010 13:32:41 +0000 (15:32 +0200)]
tag: Link to $(LIBM) for pow(), log2() and friends

14 years agotag: exif: Move some tags to their correct IFDs
Thiago Santos [Wed, 25 Aug 2010 11:41:52 +0000 (08:41 -0300)]
tag: exif: Move some tags to their correct IFDs

Put some tags in their correct IFDs

14 years agotag: exif: Always write FlashPixVersion tag
Thiago Santos [Fri, 20 Aug 2010 19:39:08 +0000 (16:39 -0300)]
tag: exif: Always write FlashPixVersion tag

FlashPixVersion is mandatory and constant. Write it always.

14 years agotag: exif: Adds flash tags mapping
Thiago Santos [Fri, 20 Aug 2010 18:59:22 +0000 (15:59 -0300)]
tag: exif: Adds flash tags mapping

Adds a mapping for GST_TAG_CAPTURING_FLASH_FIRED/_MODE to
the exif Flash tag.

Tests included.

14 years agotag: exif: More photography mappings
Thiago Santos [Thu, 19 Aug 2010 18:47:18 +0000 (15:47 -0300)]
tag: exif: More photography mappings

Adds mappings from:
GST_TAG_CAPTURING_EXPOSURE_PROGRAM -> ExposureProgram
GST_TAG_CAPTURING_EXPOSURE_MODE -> ExposureMode
GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE -> SceneCaptureType
GST_TAG_CAPTURING_GAIN_ADJUSTMENT -> GainControl
GST_TAG_CAPTURING_WHITE_BALANCE -> WhiteBalance
GST_TAG_CAPTURING_CONTRAST -> Constrast
GST_TAG_CAPTURING_SATURATION -> Saturation

Also renames gst_tag_image_orientation_from_exif_value and
gst_tag_image_orientation_to_exif_value to remove the 'gst'
prefix and not including in the win32 defs.

Tests included.

14 years agotag: exif: Add macros for the exif ids
Thiago Santos [Thu, 19 Aug 2010 12:39:39 +0000 (09:39 -0300)]
tag: exif: Add macros for the exif ids

Use macros for exif ids to avoid having those numbers spread
all over the code.

14 years agotag: exif: Adds photography tags mappings
Thiago Santos [Tue, 17 Aug 2010 18:56:34 +0000 (15:56 -0300)]
tag: exif: Adds photography tags mappings

Adds the following mappings for the exif helper:
* GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO -> DigitalZoomRatio
* GST_TAG_CAPTURING_FOCAL_LENGTH -> FocalLength
* GST_TAG_CAPTURING_SHUTTER_SPEED -> ExposureTime, ShutterSpeedValue
* GST_TAG_CAPTURING_FOCAL_RATIO -> FNumber, ApertureValue
* GST_TAG_CAPTURING_ISO_SPEED -> ISOSpeed, PhotographicSensitivity

Tests included.

14 years agotag: exif: Adds mapping for GST_TAG_APPLICATION_DATA
Thiago Santos [Tue, 17 Aug 2010 18:05:32 +0000 (15:05 -0300)]
tag: exif: Adds mapping for GST_TAG_APPLICATION_DATA

Adds mapping for GST_TAG_APPLICATION_DATA to the exif
'maker-note' tag.

14 years agotag: Adds GST_TAG_CAPTURE_FLASH_FIRED/_MODE
Thiago Santos [Fri, 20 Aug 2010 17:54:23 +0000 (14:54 -0300)]
tag: Adds GST_TAG_CAPTURE_FLASH_FIRED/_MODE

Adds a new tag for informing if flash was used while
capturing an image and the flash mode selected by the
user during this capture

API: GST_TAG_CAPTURING_FLASH_FIRED
API: GST_TAG_CAPTURING_FLASH_MODE

https://bugzilla.gnome.org/show_bug.cgi?id=626651

14 years agotag: More photography related tags
Thiago Santos [Tue, 17 Aug 2010 10:21:20 +0000 (07:21 -0300)]
tag: More photography related tags

API: GST_TAG_CAPTURING_EXPOSURE_PROGRAM
API: GST_TAG_CAPTURING_EXPOSURE_MODE
API: GST_TAG_CAPTURING_SCENE_CAPTURE_TYPE
API: GST_TAG_CAPTURING_GAIN_ADJUSTMENT
API: GST_TAG_CAPTURING_WHITE_BALANCE
API: GST_TAG_CAPTURING_CONTRAST
API: GST_TAG_CAPTURING_SATURATION

Fixes #626651

14 years agotag: Adds some basic photography tags
Thiago Santos [Tue, 17 Aug 2010 09:47:52 +0000 (06:47 -0300)]
tag: Adds some basic photography tags

Adds the following basic photography tags.

API: GST_TAG_CAPTURING_SHUTTER_SPEED
API: GST_TAG_CAPTURING_FOCAL_RATIO
API: GST_TAG_CAPTURING_FOCAL_LENGTH
API: GST_TAG_CAPTURING_DIGITAL_ZOOM_RATIO
API: GST_TAG_CAPTURING_ISO_SPEED

Fixes #626651