Jan Schmidt
d0d22a9b2c
pnmdec: Fix ASCII parsing
...
Parse gray16 properly in ascii mode, and fix
some bugs around reading data in chunks when
ascii values cross chunk boundaries
2016-05-24 07:21:44 +10:00
Jan Schmidt
30503f07ae
pnmdec: Actually output LE or BE GRAY16 as negotiated
...
Add codepaths to output GRAY16 in little or big endian
as negotiated.
Move all output format negotiation into a central
function and clean it up
2016-05-24 07:21:44 +10:00
Dimitrios Katsaros
88a9b151c1
pnmdec: Implementation of GRAY16 handling
...
https://bugzilla.gnome.org/show_bug.cgi?id=757022
2016-05-24 07:21:44 +10:00
Vineeth TM
8cdfb13658
bad: use new gst_element_class_add_static_pad_template()
...
https://bugzilla.gnome.org/show_bug.cgi?id=763081
2016-03-24 14:56:51 +02:00
Vineeth TM
7c65a5ccd5
pnmdec: Fix scanner memory leak
...
For corrupted files, scanner memory is being leaked.
https://bugzilla.gnome.org/show_bug.cgi?id=759522
2015-12-16 09:56:33 +01:00
Vineeth TM
319d9efb2d
pnmdec: Fix buffer memory leak
...
In case of corrupted file, s->buf allocated is not being freed
https://bugzilla.gnome.org/show_bug.cgi?id=759522
2015-12-16 09:56:33 +01:00
Vineeth TM
7c42ba97d7
plugins-bad: Fix example pipelines
...
rename gst-launch --> gst-launch-1.0
replace old elements with new elements(ffmpegcolorspace -> videoconvert, ffenc_** -> avenc_**)
fix caps in examples
https://bugzilla.gnome.org/show_bug.cgi?id=759432
2015-12-15 10:30:49 +00:00
Reynaldo H. Verdejo Pinochet
801c27689e
pnmdec: drop frame in case of _handle() failure
...
Allows baseclass to handle it from there
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=756563
2015-10-18 14:53:01 -07:00
Reynaldo H. Verdejo Pinochet
ec5648763d
pnmdec: propagate input state after parsing
...
Store and copy input state fields when setting the
output state of the decoder. Avoids problems like
the framerate set by an upstream element being ignored
Related to:
https://bugzilla.gnome.org/show_bug.cgi?id=756563
2015-10-18 14:53:01 -07:00
Reynaldo H. Verdejo Pinochet
4b5e2f68a3
pnmdec: completely reset parsing state at flush
...
Makes sure the mngr struct reflects a clean state
for the next frame, avoiding failures like:
https://bugzilla.gnome.org/show_bug.cgi?id=756563
2015-10-18 14:53:01 -07:00
Thiago Santos
a5ed877783
videodecoders: use default pad accept-caps handling
...
Avoids useless check of downstream caps when handling an
accept-caps query
Elements: daaladec, libde265dec, openjpegdec, rsvgdec, schrodec,
webpdec, pnmdec, vmncdec, openexrdec
2015-08-15 13:51:16 -03:00
Sanjay NM
15a2da8ba7
pnmdec: Patch to handle max value
...
Convert the image values from 0-maxvalue to 0-255 when
'decoding' the pnm image
https://bugzilla.gnome.org/show_bug.cgi?id=731773
2014-07-21 17:23:47 -03:00
Sanjay NM
ed1a664171
pnmdec: Added PBM Support
...
https://bugzilla.gnome.org/show_bug.cgi?id=730523
2014-06-17 09:19:07 -03:00
Sanjay NM
310fe9f780
pnmdec: use GstVideoDecoder Class
...
https://bugzilla.gnome.org/show_bug.cgi?id=731400
2014-06-16 14:07:34 -03:00
Tim-Philipp Müller
9e1b75fda3
Fix FSF address
...
https://bugzilla.gnome.org/show_bug.cgi?id=687520
2012-11-04 00:09:59 +00:00
Tim-Philipp Müller
32ba17cd0f
Use gst_element_class_set_static_metadata()
...
where possible. Avoids some string copies. Also re-indent
some stuff. Also some indent fixes here and there.
2012-10-17 17:46:34 +01:00
Mark Nauwelaerts
578861abea
replace gst_element_class_set_details_simple with gst_element_class_set_metadata
2012-09-14 17:27:49 +02:00
Wim Taymans
b8f913555d
ffmpegcolorspace is no more
2012-09-14 16:45:34 +02:00
Olivier Crête
6a66ebf784
pnm: Port to 1.0 API
2012-09-12 18:35:04 -04:00
David Schleef
159e2768d6
Fix pad template memleaks
...
Pad templates returned by gst_static_pad_template_get() were not
being unreffed.
2010-11-30 18:54:46 -08:00
Benjamin Otte
147e0682b4
pnmdec: Don't crash if no valid input was parsed yet
...
https://bugzilla.redhat.com/show_bug.cgi?id=603771
2010-06-16 10:31:19 +02:00
Tristan Matthews
552cd26b43
osx: more compiler warning fixes
...
Avoid new warnings.
Fixes #613758 .
2010-03-24 00:19:02 +00:00
Benjamin Otte
b7655bbd2e
Add -Wredundant-decls flag
...
and fix warnings from it
2010-03-22 12:05:59 +01:00
Tim-Philipp Müller
b2ce6fe6d5
pnm: make element details a bit more descriptive
2010-01-22 02:25:44 +00:00
Tim-Philipp Müller
4de86d4d12
pnm: add copyright notice
2010-01-22 02:25:44 +00:00
Lutz Mueller
a744f8136b
pnm: Handle ASCII encoded PNM data that is split over multiple buffers
...
Also:
- unref buffers after gst_buffer_span
- fix scanning of header if header data is split over several buffers
Fixes bug #595700 .
2009-09-22 08:13:08 +02:00
Lutz Mueller
a4e438d193
pnm: Add ASCII decoding support
...
...and make the ASCII output of the encoder a bit more pretty.
Fixes bug #595409 .
2009-09-17 09:39:10 +02:00
Lutz Mueller
f270259cc8
pnm: Support ASCII format for encoding and handle unsupported formats better in the decoder
...
Fixes bug #595215 .
2009-09-16 08:23:37 +02:00
Sebastian Dröge
5b5ff07c28
pnm: Use correct rowstride for 8 bit grayscale too
2009-09-13 19:39:59 +02:00
Sebastian Dröge
f09b1adf70
pnm: Correctly convert from/to GStreamer rowstride
2009-09-13 19:33:57 +02:00
Sebastian Dröge
751843ff86
pnm: Fix caps
...
8 bit grayscale caps have no endianness field and the caps name
of GST_VIDEO_CAPS_RGB is still "video/x-raw-rgb" and not GST_VIDEO_CAPS_RGB.
2009-09-13 19:17:15 +02:00
Lutz Mueller
7f3e6f4965
pnm: Lots of bugfixes
...
(1) Fix examples.
(2) Add support for gray images.
(3) Remove "use_fixed_caps" which doesn't seem to be useful.
(4) Do proper negotiation in the encoder.
(5) Fix memleak in the setcaps function in the encoder.
(6) Keep a link to the src pad in the encoder now that we need it more often.
Partially fixes bug #164870 .
2009-09-13 19:14:49 +02:00
Sebastian Dröge
58a5e422b6
pnmdec: Partially fix negotiation issues and refcount leaks
2009-09-10 08:53:46 +02:00
Lutz Mueller
59b6d933da
pnm: Add PNM encoder and decoder elements
...
Fixes bug #164870 .
2009-09-10 08:23:22 +02:00