Commit graph

155 commits

Author SHA1 Message Date
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
Thiago Santos f7c9f953cb tests: xmp: New tests for the Iptc4xmpExt tags 2011-05-15 13:02:39 -03:00
Thiago Santos 1b5a6395d2 tests: tag: Fix typo 2011-04-14 00:04:52 -03:00
Thiago Santos e57473178b tag: xmp: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for xmp
library.

Includes unit tests.
2011-04-14 00:04:52 -03:00
Thiago Santos dae1c37dfe tag: exif: Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION
Adds mapping for GST_TAG_CAPTURING_EXPOSURE_COMPENSATION for exif
library.

Includes unit tests.
2011-04-14 00:04:52 -03:00
Stefan Kost d3d8d5c2cc tests: add basic unit tests for discoverer 2011-04-05 18:16:25 +03:00
David Schleef 5f61df82da video: Fix YUV9 and YVU9 again 2011-04-04 16:01:20 -07:00
Tim-Philipp Müller 80952f6aa4 tests: ignore xmpwriter unit test binary 2011-04-04 23:23:37 +01:00
David Schleef 629cac4cad video: Fix height calculation for YUV9/YVU9 2011-04-01 13:55:56 -07:00
Edward Hervey bb081770c8 tests: Fixes libsabi for MacOSX/32bit.
GStaticRecMutex is 60bytes on macosx/32bit (As opposed to 40).

Fixes #644996
2011-03-31 12:37:32 +02:00
Sebastian Dröge 209188b5c9 libsabi: Add structure sizes for x86-64 2011-03-31 10:39:37 +02:00
Thiago Santos b5246da456 tagxmpwriter: Add check tests
https://bugzilla.gnome.org/show_bug.cgi?id=645167
2011-03-29 17:11:30 -03:00
Tim-Philipp Müller 03ea1bea4e tests: ignore new libsabi test binary 2011-03-26 12:01:05 +00:00
Thiago Santos 8f2aea0fe4 tests: video: Uncommenting test
Pushed a commented test by accident, uncommenting it.
2011-03-23 12:42:04 -03:00
Thiago Santos 2ab592bac9 tests: video: Add a test for checking rgb caps creation
This new test for checking rgb caps creation exposes a regression
2011-03-23 12:21:55 -03:00
Tim-Philipp Müller fae2e1bc2d tests: add libscpp unit test to make sure g++ likes our library headers 2011-03-12 17:51:41 +00:00
Stefan Kost fa300aee20 tests: add ABI test suite for libs 2011-02-28 10:14:16 +02:00
Tim-Philipp Müller 97f84c1eee encoding-target: change keyfile header to 'GStreamer Encoding Target'
which is more in line with other files such as .desktop files.
2011-01-18 10:40:29 +00:00
Tim-Philipp Müller 1e80f70d7a tests: ignore new rtsp test binary 2011-01-06 20:37:50 +00:00
Edward Hervey 19201c1ab0 encoding: encoding_profile_get_output_caps => _get_input_caps
Makes more sense name-wise
2011-01-05 22:02:35 +01:00
Edward Hervey 777f816ff1 encoding-target: Fixup loading/saving methods 2011-01-05 20:54:21 +01:00
Edward Hervey 3b32566dd4 encoding-target: Change target suffix to .gep
Along with a bunch of other internal cleanups
2011-01-05 20:54:21 +01:00
Edward Hervey a65faf2f3c encoding-target: Add API for list all categories and targets
API: gst_encoding_list_available_categories
API: gst_encoding_list_all_targets
2011-01-05 20:54:21 +01:00
Edward Hervey deea1eb83f encoding-profile: Add convenience method to find a profile
API: gst_encoding_profile_find
2011-01-05 20:54:21 +01:00
Edward Hervey d8f5b6322f encoding-target: Implement save/load feature
Fixes #637735
2011-01-05 20:54:06 +01:00
Edward Hervey c8fa8085ba encoding-target: Add method to get a profile by name
API: gst_encoding_target_get_profile
2011-01-05 20:18:34 +01:00
Edward Hervey 4b3e1403a1 encoding-target: Ensure target names and categories are valid 2010-12-21 16:38:40 +01:00
Edward Hervey 949595a7a3 tests: Update container-less profile checks 2010-12-21 13:23:34 +01:00
Sebastian Dröge 3e35df72b6 rtsp: Fix memory leaks in the gst_rtsp_url_decode_path_components() unit tests 2010-12-19 09:53:08 +01:00
Andy Wingo dd699397c2 add gst_rtsp_url_decode_path_components
* gst-libs/gst/rtsp/gstrtspurl.h:
* gst-libs/gst/rtsp/gstrtspurl.c (gst_rtsp_url_decode_path_components):
  New public function, returns a strv of uri-decoded path components.

* tests/check/Makefile.am:
* tests/check/libs/rtsp.c: Add tests.
2010-12-15 17:51:36 +01:00
Edward Hervey 82b4f9bfef pbutils: New Profile library
https://bugzilla.gnome.org/show_bug.cgi?id=627476
2010-12-15 11:54:32 +01:00
Stefan Kost 3dad049359 tests: remove superflous ';' and reindent 2010-12-08 12:28:32 +02:00
Tim-Philipp Müller a2e896df66 tests: fix video library unit test and skip non-working YUV9/YVU9 parts for now 2010-12-03 00:02:26 +00:00
Tim-Philipp Müller 0d39e2896e tests: fix invalid free and buffer list leak in rtp library unit test 2010-11-02 12:29:05 +00:00
Tim-Philipp Müller 19db1e763f tests: fix leak in tag library unit test 2010-11-02 12:03:21 +00:00
Thiago Santos 5984ff1086 tag: Adds GST_TAG_CAPTURING_SOURCE
Adds a tag to indicate the source/device used for the capture.

Already maps it in exif and adds tests.

API: GST_TAG_CAPTURING_SOURCE

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:50:11 +01:00
Thiago Santos b49f83d738 tag: Adds GST_TAG_CAPTURING_METERING_MODE
Adds a tag to inform what mode was used by a camera to calculate
the picture capturing exposure

Also adds mapping to exif and tests

API: GST_TAG_CAPTURING_METERING_MODE

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:42:09 +01:00
Thiago Santos f67e7aacf3 tag: Adds GST_TAG_CAPTURING_SHARPNESS
Adds new tag for tagging sharpness processing used
when capturing an image. Also maps it in the exif
tags.

Tests included.

API: GST_TAG_CAPTURING_SHARPNESS

https://bugzilla.gnome.org/show_bug.cgi?id=631773
2010-10-16 00:31:07 +01:00
Thiago Santos 67eb531163 tag: Update with latest datetime from core
Updates datetime functions to latest APIs in core
2010-10-13 12:30:31 -03:00
Thiago Santos 8818ea08bd tests: rtp: No need to unref buffer from bufferlist
Buffers obtained from buffer list iterators don't need to
be unreffed.

Test was failing due to this.
2010-10-06 16:19:49 -03:00
Wim Taymans 77c78a6a9d check: fix rtp checks
Fix the checks for the extension support in RTP.
2010-10-05 17:13:09 +02:00
Olivier Crête 96aa439867 tests: Test the manipulations of bufferlists containing RFC 5285 header extensions 2010-10-05 16:19:14 +02:00
Olivier Crête 7612c137bd tests: Add test for RTP header extension functions 2010-10-05 16:19:14 +02:00
Thiago Santos 10f0319d62 tags: exif: Add mapping for _HORIZONTAL_ERROR
Maps GST_TAG_GEO_LOCATION_HORIZONTAL_ERROR to the
GPSHPositionError tag in exif.

Tests included.
2010-09-23 10:16:07 -03: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
Sebastian Dröge 1e29e528c7 video: Add unit test for gst_video_convert_frame_async() 2010-09-14 08:42:44 +02:00
Sebastian Dröge 2f781d69d2 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.
2010-09-14 08:42:44 +02:00
Thiago Santos d54ba93945 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
2010-09-07 10:07:29 -03:00
Thiago Santos 9c5f791a34 tag: exif: Adds flash tags mapping
Adds a mapping for GST_TAG_CAPTURING_FLASH_FIRED/_MODE to
the exif Flash tag.

Tests included.
2010-08-25 08:36:59 -03:00
Thiago Santos ac361dcc3a 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.
2010-08-25 08:32:19 -03:00