gstreamer-omap:gst-openmax.git
5 years agoomx_camera: authenticate against DRI2 where possible
Vincent Penquerc'h [Tue, 11 Sep 2012 16:45:10 +0000 (16:45 +0000)]
omx_camera: authenticate against DRI2 where possible

This allows coexistence with gst-ducati.

5 years agoHandle failure to allocate a buffer without crashing
Vincent Penquerc'h [Tue, 11 Sep 2012 11:28:58 +0000 (11:28 +0000)]
Handle failure to allocate a buffer without crashing

5 years agoomx_camera: limit color formats to supported ones
Vincent Penquerc'h [Tue, 11 Sep 2012 10:46:00 +0000 (10:46 +0000)]
omx_camera: limit color formats to supported ones

Experimentation shows that OMX accepts NV12 and UYVY, but not
I420 nor YUY2, so reflect this in caps.

5 years agoomx_camera: fix zoom property
Vincent Penquerc'h [Tue, 11 Sep 2012 08:56:32 +0000 (08:56 +0000)]
omx_camera: fix zoom property

Change type (and range) from guint to float to match the attached
Photography interface, and add a couple missing lines (setting the
given GValue in set_property, and returning zoom level from OMX).

5 years agoFix buffer refcounting issues
Vincent Penquerc'h [Mon, 10 Sep 2012 15:47:58 +0000 (15:47 +0000)]
Fix buffer refcounting issues

The ordering of operations at the end is a bit tricky,
so comment abundantly, and should now unref every buffer
the correct amount - not too much, and not too little.

Also, allocate the img_src buffers using the pool (of
which we now have one per port, since the caps and size
may be different), as the port code now expects DRM
buffers only.

This fixes all the refcounting and crashes I know of
when using the img_src port, though not yet the hang
on EOS.

5 years agoomx_camera: negotiate caps for all non basesrc pads
Vincent Penquerc'h [Fri, 7 Sep 2012 10:10:10 +0000 (10:10 +0000)]
omx_camera: negotiate caps for all non basesrc pads

The basesrc class will only negotiate for its own pad, and we want
the other pads (eg, imgsrc) to also be negotiated.

This fixes an issue with wrong buffer sizes being used.

5 years agoFix image capture
Vincent Penquerc'h [Thu, 6 Sep 2012 13:58:13 +0000 (13:58 +0000)]
Fix image capture

For unclear reasons, setting the camera to start capturing has to
be delayed for it to work.

5 years agoSwitch to using drm buffers
Vincent Penquerc'h [Wed, 5 Sep 2012 12:22:40 +0000 (12:22 +0000)]
Switch to using drm buffers

This probably breaks others elements, but since they were removed
we don't care too much now. This also makes the code OMAP specific.
The omap_bo APIs could be moved to a separate layer if needed.
There are still issues in freeing a buffer at EOS, but it seems to
work with a simple capture pipeline at last. Probably a lot of
cases needing fixing.

5 years agoAdd missing USE_GSTOMXCAM_{IMG,THUMB}SRCPAD guards
Vincent Penquerc'h [Fri, 31 Aug 2012 11:47:28 +0000 (11:47 +0000)]
Add missing USE_GSTOMXCAM_{IMG,THUMB}SRCPAD guards

5 years agoRemove use of -strided pixel formats
Vincent Penquerc'h [Fri, 31 Aug 2012 11:46:48 +0000 (11:46 +0000)]
Remove use of -strided pixel formats

5 years agoDo not compare caps with NULL caps
Vincent Penquerc'h [Wed, 29 Aug 2012 11:11:44 +0000 (11:11 +0000)]
Do not compare caps with NULL caps

5 years agoPrint framerate in a friendly manner
Vincent Penquerc'h [Wed, 29 Aug 2012 11:11:20 +0000 (11:11 +0000)]
Print framerate in a friendly manner

5 years agoWarn when a symbol is not found in the dlopened library
Vincent Penquerc'h [Wed, 29 Aug 2012 10:24:52 +0000 (10:24 +0000)]
Warn when a symbol is not found in the dlopened library

5 years agoDo not cast GstBuffer** to GstBuffer*, it won't end well
Vincent Penquerc'h [Wed, 29 Aug 2012 10:10:17 +0000 (10:10 +0000)]
Do not cast GstBuffer** to GstBuffer*, it won't end well

5 years agoRemove libcheck use, use the gst version instead
Vincent Penquerc'h [Wed, 29 Aug 2012 09:47:29 +0000 (09:47 +0000)]
Remove libcheck use, use the gst version instead

Since we already depend on gst anyway, since libcheck was
optional, and since the tests did not test whether libcheck
had been found before using it, and thus failing to build.

5 years agoDisable all plugins bar the camera one
Vincent Penquerc'h [Wed, 29 Aug 2012 09:08:18 +0000 (09:08 +0000)]
Disable all plugins bar the camera one

5 years agoFixup build on blaze
Vincent Penquerc'h [Wed, 29 Aug 2012 09:06:06 +0000 (09:06 +0000)]
Fixup build on blaze

I have a library that seems different from what's expected,
in particular no pc file, a differently capitalized library,
and slightly different header names.

6 years agoomx_camera: report 4-frames latency
Alessandro Decina [Thu, 22 Mar 2012 14:53:41 +0000 (15:53 +0100)]
omx_camera: report 4-frames latency

6 years agoomx_camera: remove some QUERY_BUFFERS related dead code
Alessandro Decina [Thu, 22 Mar 2012 14:52:15 +0000 (15:52 +0100)]
omx_camera: remove some QUERY_BUFFERS related dead code

6 years agoomx_camera: store negotiated framerate
Alessandro Decina [Thu, 22 Mar 2012 14:48:36 +0000 (15:48 +0100)]
omx_camera: store negotiated framerate

6 years agoomx_camera: make non strided video/x-raw-yuv work
Alessandro Decina [Tue, 20 Dec 2011 15:43:09 +0000 (16:43 +0100)]
omx_camera: make non strided video/x-raw-yuv work

Only works with allocate-buffers=false

6 years agoomx_camera: Add missing GstPhotography properties
Luciana Fujii Pontello [Mon, 22 Aug 2011 23:06:35 +0000 (20:06 -0300)]
omx_camera: Add missing GstPhotography properties

Installed GstPhotography properties that were missing. These properties
don't change anything in omx_camera. They are implemented just to
conform with the interface.

6 years agoomx_camera: Always install GstPhotography properties
Luciana Fujii Pontello [Mon, 22 Aug 2011 21:14:32 +0000 (18:14 -0300)]
omx_camera: Always install GstPhotography properties

We need to install all GstPhotography properties always to avoid
warnings in gst-inspect.

6 years agoomx_camera: Keep device setting in NULL state
Luciana Fujii Pontello [Fri, 19 Aug 2011 12:48:10 +0000 (09:48 -0300)]
omx_camera: Keep device setting in NULL state

Device setting was lost in NULL state. The element now stores it's value
to keep the configuration despite state changes.

6 years agoport: change the value for the OMX_BUFFERFLAG_INVALIDTIME flag
Alessandro Decina [Tue, 18 Oct 2011 14:08:08 +0000 (16:08 +0200)]
port: change the value for the OMX_BUFFERFLAG_INVALIDTIME flag

From 0x00000100 to 0x00000800 as 0x00000100 is already assigned to
OMX_BUFFERHEADERFLAG_MODIFIED.

6 years agovc1dec: add vc1 decoder
Alessandro Decina [Thu, 29 Sep 2011 13:06:55 +0000 (15:06 +0200)]
vc1dec: add vc1 decoder

6 years agobasefilter: make inject_codec_data a vfunc
Alessandro Decina [Thu, 29 Sep 2011 13:03:19 +0000 (15:03 +0200)]
basefilter: make inject_codec_data a vfunc

For codecs that need to modify the codec data buffer

6 years agovideodec: don't abort if configuring nBufferCountActual fails
Alessandro Decina [Tue, 13 Sep 2011 15:37:09 +0000 (17:37 +0200)]
videodec: don't abort if configuring nBufferCountActual fails

6 years agoBundle timer-32k.h in util/
Alessandro Decina [Wed, 7 Sep 2011 16:14:52 +0000 (18:14 +0200)]
Bundle timer-32k.h in util/

6 years agoAdd hack to pass buffers with invalid timestamps through the decoder.
George Kiagiadakis [Wed, 7 Sep 2011 14:39:19 +0000 (17:39 +0300)]
Add hack to pass buffers with invalid timestamps through the decoder.

This is necessary when there is no timing information in the source.
If GST_CLOCK_TIME_NONE gets converted to an OMX timestamp and then back
to GstClockTime, the result is a timestamp a few hundred years in the
future, which confuses the sink.

6 years agoh264dec: workaround domx bug for baseline level11 files
Alessandro Decina [Fri, 2 Sep 2011 10:24:50 +0000 (12:24 +0200)]
h264dec: workaround domx bug for baseline level11 files

Setting OMX_IndexParamVideoAvc for baseline level11 files, results in domx
setting nBufferCountMin to 1 instead of 3. This commit workarounds the problem,
fixing hangs with some files.

6 years agobasevideodec: fix one last leak in capsnego
Alessandro Decina [Thu, 18 Aug 2011 10:24:52 +0000 (12:24 +0200)]
basevideodec: fix one last leak in capsnego

6 years agobasevideodec: remove code that should have been removed in the last commit. oops.
Alessandro Decina [Thu, 18 Aug 2011 10:22:15 +0000 (12:22 +0200)]
basevideodec: remove code that should have been removed in the last commit. oops.

6 years agobasevideodec: add rowstride field to yuv-strided caps and not to yuv
Alessandro Decina [Thu, 18 Aug 2011 09:48:39 +0000 (11:48 +0200)]
basevideodec: add rowstride field to yuv-strided caps and not to yuv

6 years agobasevideodec: maintain downstream caps order during negotiation
Alessandro Decina [Thu, 18 Aug 2011 09:47:05 +0000 (11:47 +0200)]
basevideodec: maintain downstream caps order during negotiation

...and fix a few caps leak in the process

6 years agocamera: fix autofocus setting through GstPhotography
Alessandro Decina [Wed, 10 Aug 2011 07:01:56 +0000 (09:01 +0200)]
camera: fix autofocus setting through GstPhotography

6 years agocamera: implement camerabin2's renegotiate event GLP1.4
Alessandro Decina [Thu, 4 Aug 2011 21:36:31 +0000 (23:36 +0200)]
camera: implement camerabin2's renegotiate event

6 years agompeg2dec: the component doesn't need codec_data in-stream
Alessandro Decina [Thu, 21 Jul 2011 11:26:59 +0000 (13:26 +0200)]
mpeg2dec: the component doesn't need codec_data in-stream

6 years agobasefilter: add inject_codec_data variable
Alessandro Decina [Thu, 21 Jul 2011 11:26:11 +0000 (13:26 +0200)]
basefilter: add inject_codec_data variable

inject_codec_data signals whether the component needs to have the codec_data
buffer from caps injected in the stream or not.

6 years agoomx: add GST_PLUGINS_BASE_CFLAGS since we link to -lgstvideo
Alessandro Decina [Thu, 21 Jul 2011 11:25:18 +0000 (13:25 +0200)]
omx: add GST_PLUGINS_BASE_CFLAGS since we link to -lgstvideo

6 years agoAdd support for mpeg2 decoder
Juan Yanez [Thu, 23 Jun 2011 20:38:33 +0000 (15:38 -0500)]
Add support for mpeg2 decoder

6 years agoport: fix flushing
Alessandro Decina [Tue, 19 Jul 2011 17:44:23 +0000 (19:44 +0200)]
port: fix flushing

Send OMX_CommandFlush and wait for it to be complete _before_ popping buffers
off port->queue.

6 years agoport: don't leak the EOS buffer
Alessandro Decina [Tue, 19 Jul 2011 17:43:46 +0000 (19:43 +0200)]
port: don't leak the EOS buffer

6 years agoRevert "hack for seek bug in OMX"
Alessandro Decina [Tue, 19 Jul 2011 17:36:08 +0000 (19:36 +0200)]
Revert "hack for seek bug in OMX"

This reverts commit 997ea08580840a3f0a3a753cd950d8deb38b3303.

Conflicts:

omx/gstomx_port.c
omx/gstomx_port.h

6 years agoport: fix camera regression after last commit
Alessandro Decina [Tue, 19 Jul 2011 11:12:57 +0000 (13:12 +0200)]
port: fix camera regression after last commit

Looks like PortDisable isn't always synchronous so before calling OMX_FreeBuffer
on buffers, we need to wait for FBD callbacks.

6 years agoport: make sure to call OMX_FreeBuffer only once for each buffer.
Alessandro Decina [Wed, 13 Jul 2011 09:46:46 +0000 (11:46 +0200)]
port: make sure to call OMX_FreeBuffer only once for each buffer.

Fixes hangs calling OMX_FreeBuffer on already freed buffers.

6 years agoh264dec: Add support for reference frames configuration.
Joaquin Castellanos [Mon, 20 Jun 2011 14:47:02 +0000 (09:47 -0500)]
h264dec: Add support for reference frames configuration.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
6 years agoh264dec: Add support for AVC config from stream.
Joaquin Castellanos [Fri, 17 Jun 2011 20:17:11 +0000 (15:17 -0500)]
h264dec: Add support for AVC config from stream.

When an H.264 BaseProfile stream is detected, a reduced number of
2D TILER buffers are allocated by the mem-manager.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
6 years agoh264enc: Add Rate Control support property.
Joaquin Castellanos [Mon, 20 Jun 2011 15:09:09 +0000 (10:09 -0500)]
h264enc: Add Rate Control support property.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
6 years agotests: Add Image Capture scripts.
Daniel Diaz [Wed, 29 Jun 2011 21:06:58 +0000 (16:06 -0500)]
tests: Add Image Capture scripts.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
6 years agotests: Drop deprecated cameratest.py.
Daniel Diaz [Wed, 29 Jun 2011 21:05:59 +0000 (16:05 -0500)]
tests: Drop deprecated cameratest.py.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
6 years agoh264enc: set stream-format=byte-stream,alignment=au on caps
Alessandro Decina [Wed, 6 Jul 2011 21:32:19 +0000 (23:32 +0200)]
h264enc: set stream-format=byte-stream,alignment=au on caps

6 years agobase_video_dec: Forward GstQuery upstream
Edward Hervey [Wed, 6 Jul 2011 13:24:00 +0000 (15:24 +0200)]
base_video_dec: Forward GstQuery upstream

Avoids having duration queries failing...

6 years agoh264dec: set stream-format and alignment on the sink template
Alessandro Decina [Wed, 6 Jul 2011 06:16:36 +0000 (08:16 +0200)]
h264dec: set stream-format and alignment on the sink template

7 years agoh264enc: fix profile and level settings
Alessandro Decina [Mon, 13 Jun 2011 00:26:29 +0000 (02:26 +0200)]
h264enc: fix profile and level settings

Make it so that profile and level settings are 1) set by default
(G_PARAM_CONSTRUCT) 2) preserved across state changes and 3) don't cause
segfaults if they are changed too early.

Makes omx_camera ! omx_h264enc **notice you don't need to set random properties
here anymore** ! fakesink work. Goto beach.

7 years agoomx_camera: Implemented GstColorBalance interface
Luciana Fujii Pontello [Fri, 10 Jun 2011 01:55:13 +0000 (22:55 -0300)]
omx_camera: Implemented GstColorBalance interface

Implemented GstColorBalance interface in OmxCamera and fixed getters for
colorbalance properties that didn't return any value.

7 years agocamera: use allocate-buffers to configure allocation strategy on the output port
Alessandro Decina [Fri, 10 Jun 2011 12:55:05 +0000 (14:55 +0200)]
camera: use allocate-buffers to configure allocation strategy on the output port

7 years agocamera: set the default stride to 4096
Alessandro Decina [Fri, 10 Jun 2011 12:53:56 +0000 (14:53 +0200)]
camera: set the default stride to 4096

7 years agobasesrc: add allocate-buffers property
Alessandro Decina [Fri, 10 Jun 2011 12:52:26 +0000 (14:52 +0200)]
basesrc: add allocate-buffers property

When TRUE, the source will allocate buffers from the output port using
OMX_AllocateBuffer. The default is FALSE.

7 years agoomx_camera: Implemented autofocus setting
Luciana Fujii Pontello [Mon, 6 Jun 2011 23:33:17 +0000 (20:33 -0300)]
omx_camera: Implemented autofocus setting

Implemented gst_photography_set_autofocus method.

7 years agoomx_camera: Adding ev-compensation photography property
Luciana Fujii Pontello [Sat, 4 Jun 2011 04:53:27 +0000 (01:53 -0300)]
omx_camera: Adding ev-compensation photography property

Adding property ev-compensation as described in GstPhotography.

7 years agoomx_camera: Added GstPhotography property "flicker-mode"
Luciana Fujii Pontello [Thu, 2 Jun 2011 22:58:15 +0000 (19:58 -0300)]
omx_camera: Added GstPhotography property "flicker-mode"

Added property "flicker-mode" as well as getters and setters methods for
it, as described in GstPhotography interface.

7 years agoomx_camera: Add Photography property "white-balance"
Luciana Fujii Pontello [Wed, 1 Jun 2011 03:17:34 +0000 (00:17 -0300)]
omx_camera: Add Photography property "white-balance"

Property "white-balance" sets auto white balance mode in omx_camera as
declared by GstPhotography.

7 years agoomx_camera: Add GstPhotography property "scene-mode"
Luciana Fujii Pontello [Wed, 1 Jun 2011 03:08:07 +0000 (00:08 -0300)]
omx_camera: Add GstPhotography property "scene-mode"

Property "scene-mode" sets scene in omx_camera as declared by
GstPhotography.

7 years agoomx_camera: Add photography_get_capabilities method
Luciana Fujii Pontello [Tue, 31 May 2011 02:08:19 +0000 (23:08 -0300)]
omx_camera: Add photography_get_capabilities method

7 years agoomx_camera: Adding GstImplementsInterface
Luciana Fujii Pontello [Mon, 30 May 2011 20:25:19 +0000 (17:25 -0300)]
omx_camera: Adding GstImplementsInterface

7 years agoomx_camera: Implementing GstPhotography interface
Luciana Fujii Pontello [Tue, 31 May 2011 02:21:10 +0000 (23:21 -0300)]
omx_camera: Implementing GstPhotography interface

7 years agoconfigure: Add gst-plugins-bad dependency
Luciana Fujii Pontello [Sat, 28 May 2011 01:01:12 +0000 (22:01 -0300)]
configure: Add gst-plugins-bad dependency

7 years agocamera: configure ports to use the same buffer size
Alessandro Decina [Wed, 20 Apr 2011 11:54:21 +0000 (13:54 +0200)]
camera: configure ports to use the same buffer size

When using OMX_AllocateBuffer, it seems that all output ports need to be
configured to use the same buffer size else allocation fails.

7 years agovideodec: fix negotiation some more
Alessandro Decina [Fri, 3 Jun 2011 08:18:27 +0000 (10:18 +0200)]
videodec: fix negotiation some more

Return template caps in src_getcaps if omx hasn't been configured yet.
Don't set_caps() with caps from the _BUFFERS query.

7 years agovideodec: prefer x-raw-yuv-strided output to x-raw-yuv
Alessandro Decina [Thu, 2 Jun 2011 07:21:48 +0000 (09:21 +0200)]
videodec: prefer x-raw-yuv-strided output to x-raw-yuv

7 years agocamera: recreate ports after calling GstOmxBaseSrc::stop
Alessandro Decina [Wed, 1 Jun 2011 07:04:41 +0000 (09:04 +0200)]
camera: recreate ports after calling GstOmxBaseSrc::stop

Fixes segfaults setting the camera to playing->null->playing

7 years agoomxbasesrc: recreate out_port after g_omx_core_deinit
Alessandro Decina [Wed, 1 Jun 2011 07:03:06 +0000 (09:03 +0200)]
omxbasesrc: recreate out_port after g_omx_core_deinit

7 years agoResume ports in ready to paused to avoid issue in play-stop-play transition
Reynaldo H. Verdejo Pinochet [Sun, 29 May 2011 21:53:35 +0000 (17:53 -0400)]
Resume ports in ready to paused to avoid issue in play-stop-play transition

7 years agocamera: don't override setcaps on the vidsrc pad
Alessandro Decina [Fri, 20 May 2011 08:44:12 +0000 (10:44 +0200)]
camera: don't override setcaps on the vidsrc pad

The vidsrc pad can't negotiate, it's always slaved on the src pad.

7 years agoport: g_omx_port_free_buffers don't leak GstBuffers
Alessandro Decina [Thu, 19 May 2011 17:38:50 +0000 (19:38 +0200)]
port: g_omx_port_free_buffers don't leak GstBuffers

Don't leak GstBuffers when g_omx_port_free_buffers is called and buffer sharing
is in use.

7 years agocamera: allow changing the mode property in PLAYING
Alessandro Decina [Thu, 19 May 2011 17:12:05 +0000 (19:12 +0200)]
camera: allow changing the mode property in PLAYING

7 years agocamera: make all the pads have _ALWAYS presence.
Alessandro Decina [Thu, 19 May 2011 16:50:30 +0000 (18:50 +0200)]
camera: make all the pads have _ALWAYS presence.

Simplifies switching between capture modes at runtime.

7 years agocamera: fix timestamping and latency reporting
Alessandro Decina [Fri, 13 May 2011 10:45:55 +0000 (12:45 +0200)]
camera: fix timestamping and latency reporting

7 years agocamera: send GST_EVENT_LIVE_FLUSH in ::unblock
Alessandro Decina [Fri, 6 May 2011 14:02:26 +0000 (16:02 +0200)]
camera: send GST_EVENT_LIVE_FLUSH in ::unblock

When setting omx_camera from PLAYING to PAUSED, it can happen that ::create is
blocked in buffer_alloc, blocking on v4l2sink. That's a source of possible
deadlocks since in PAUSED v4l2sink stops processing buffers and so buffer_alloc
can wait forever.

We avoid this sending a GST_EVENT_LIVE_FLUSH event (similar to a FLUSH_START
event, but it doesn't reset the running-time, nor sets pads flushing etc) to
instruct v4l2sink to unblock.

7 years agobasefilter: Reset ports when going to NULL.
Alessandro Decina [Mon, 9 May 2011 07:06:54 +0000 (09:06 +0200)]
basefilter: Reset ports when going to NULL.

basefilter calls g_omx_core_deinit going to NULL. That deallocates
ports internally, so self->in_port and self->out_port have to be
reset after the call.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Implement ::unlock and ::unlock_stop.
Alessandro Decina [Fri, 6 May 2011 14:00:37 +0000 (16:00 +0200)]
camera: Implement ::unlock and ::unlock_stop.

Acked-by: Joaquin Castellanos <jcastellanos@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Set caps on buffers pushed on the vidsrc pad.
Alessandro Decina [Fri, 6 May 2011 13:58:45 +0000 (15:58 +0200)]
camera: Set caps on buffers pushed on the vidsrc pad.

Acked-by: Joaquin Castellanos <jcastellanos@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Don't force caps in handling buffers queries.
Alessandro Decina [Fri, 6 May 2011 13:57:03 +0000 (15:57 +0200)]
camera: Don't force caps in handling buffers queries.

Don't call set_caps handling GST_QUERY_BUFFERS queries. It
breaks renegotiation.

Acked-by: Joaquin Castellanos <jcastellanos@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Implement fixate functions on vidsrc and imgsrc pads.
Alessandro Decina [Fri, 6 May 2011 13:54:18 +0000 (15:54 +0200)]
camera: Implement fixate functions on vidsrc and imgsrc pads.

Fixes automatic negotiation when resolution and framerate aren't
forced with downstream caps.

Acked-by: Joaquin Castellanos <jcastellanos@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for Brightness/Contrast Enhancement.
Joaquin Castellanos [Mon, 9 May 2011 20:17:24 +0000 (15:17 -0500)]
camera: Add support for Brightness/Contrast Enhancement.

Both global and local modes are independently supported.

Acked-by: Juan Yanez <jyanez@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add TI control options for auto focus.
Joaquin Castellanos [Mon, 9 May 2011 18:08:50 +0000 (13:08 -0500)]
camera: Add TI control options for auto focus.

New options: automacro, autoinfinity, hyperfocal, portrait,
extended, continous-normal and continous-extended.

Acked-by: Juan Yanez <jyanez@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Support RGB16 (RGB565) in video and preview pads.
Joaquin Castellanos [Fri, 6 May 2011 18:52:12 +0000 (13:52 -0500)]
camera: Support RGB16 (RGB565) in video and preview pads.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoutil: Support VIDEO_FORMAT_RGB16.
Joaquin Castellanos [Fri, 6 May 2011 16:51:56 +0000 (11:51 -0500)]
util: Support VIDEO_FORMAT_RGB16.

GST_VIDEO_FORMAT_RGB16 is equivalent to OMX_COLOR_Format16bitRGB565.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoRevert "vp6dec: hack: Change elementary to intermediate video data."
Leonardo Sandoval [Wed, 20 Apr 2011 11:48:23 +0000 (07:48 -0400)]
Revert "vp6dec: hack: Change elementary to intermediate video data."

This reverts commit 234b8970209b2e2ad611c5eb17874cdfbfd0775e.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agovp7dec: New element.
Leonardo Sandoval [Fri, 4 Feb 2011 19:46:49 +0000 (13:46 -0600)]
vp7dec: New element.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Leonardo Sandoval <lsandoval@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agovp6dec: Add video/x-vp6-flash sink caps.
Leonardo Sandoval [Mon, 24 Jan 2011 22:16:08 +0000 (16:16 -0600)]
vp6dec: Add video/x-vp6-flash sink caps.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Leonardo Sandoval <lsandoval@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoRevert "videoenc: Use shared buffers on output port."
Joaquin Castellanos [Fri, 29 Apr 2011 21:23:58 +0000 (16:23 -0500)]
Revert "videoenc: Use shared buffers on output port."

This reverts commit 0a0543a76ff2989d070693490b78625657a6c684.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add image output PortIndex to thumbnail size params.
Joaquin Castellanos [Thu, 7 Apr 2011 15:21:43 +0000 (10:21 -0500)]
camera: Add image output PortIndex to thumbnail size params.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Update scene mode parameter.
Joaquin Castellanos [Thu, 7 Apr 2011 14:56:54 +0000 (09:56 -0500)]
camera: Update scene mode parameter.

OMX_IndexParamSceneMode was replaced with
OMX_TI_IndexConfigSceneMode; Get/SetConfig is used instead
of Get/SetParameter.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Remove interactive focus region.
Joaquin Castellanos [Thu, 7 Apr 2011 14:49:25 +0000 (09:49 -0500)]
camera: Remove interactive focus region.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Split camera code.
Joaquin Castellanos [Wed, 23 Mar 2011 21:28:34 +0000 (15:28 -0600)]
camera: Split camera code.

Advanced sensor configuration, including image effects, is now done
in gstomx_camera_parameters. The basic functionality remains in
gstomx_camera.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Fix for unstable auto focus region.
Kapatrala Syed [Mon, 3 Jan 2011 22:45:19 +0000 (15:45 -0700)]
camera: Fix for unstable auto focus region.

Acked-by: Naveen Kumar Penda <pnaveen@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for Chromatic Aberration Correction.
Joaquin Castellanos [Wed, 15 Dec 2010 16:32:03 +0000 (10:32 -0600)]
camera: Add support for Chromatic Aberration Correction.

Acked-by: Juan Yanez <jyanez@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoReplace deprecated vstab event with crop event.
Rob Clark [Sat, 25 Dec 2010 03:01:06 +0000 (21:01 -0600)]
Replace deprecated vstab event with crop event.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>