gstreamer-omap:gst-openmax.git
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

6 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.

6 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.

6 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

6 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

6 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.

6 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.

6 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.

6 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.

6 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.

6 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.

6 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

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

6 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

6 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

6 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.

6 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.

6 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

6 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

6 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

6 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

6 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.

6 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.

6 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

6 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.

6 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

6 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.

6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agocamera: Add support for autofocus callback.
Juan Yanez [Fri, 17 Dec 2010 23:45:02 +0000 (17:45 -0600)]
camera: Add support for autofocus callback.

Acked-by: Joaquin Castellanos <jcastellanos@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
6 years agompeg4enc: Add support for level 6.
Alejandro Gonzalez [Tue, 21 Dec 2010 23:03:41 +0000 (18:03 -0500)]
mpeg4enc: Add support for level 6.

Acked-by: Sandino Flores <sandino@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agovideoenc: Use shared buffers on output port.
Alejandro Gonzalez [Sat, 1 Jan 2000 00:03:26 +0000 (18:03 -0600)]
videoenc: Use shared buffers on output port.

Acked-by: Kiran Nataraju <knataraju@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Propagate error received due to wrong caps.
Juan Yanez [Mon, 6 Dec 2010 22:41:25 +0000 (16:41 -0600)]
camera: Propagate error received due to wrong caps.

Acked-by: Naveen Kumar Penda <pnaveen@ti.com>
Signed-off-by: Juan Yanez <jyanez@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for JPEG Q-Factor.
Joaquin Castellanos [Wed, 1 Dec 2010 21:33:37 +0000 (15:33 -0600)]
camera: Add support for JPEG Q-Factor.

Q-Factor provides means of controlling JPEG compression quality.

Acked-by: Roopa Ranganathan <roopashri@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for sharpness adjustment.
Joaquin Castellanos [Mon, 22 Nov 2010 15:44:26 +0000 (09:44 -0600)]
camera: Add support for sharpness adjustment.

Acked-by: Roopa Ranganathan <roopashri@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Update FocusRegionPriorityMode index.
Daniel Diaz [Wed, 17 Nov 2010 21:18:23 +0000 (15:18 -0600)]
camera: Update FocusRegionPriorityMode index.

The enumeration element was renamed on DOMX from:
  OMX_TI_IMAGE_FocusRegionPriorityMode
to:
  OMX_IMAGE_FocusRegionPriorityMode

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Upgrade maximum zoom value to 8x.
Joaquin Castellanos [Sat, 6 Nov 2010 00:03:25 +0000 (18:03 -0600)]
camera: Upgrade maximum zoom value to 8x.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoport: hack: Do not update nAllocLen for each ETB/FTB.
Amber Jain [Tue, 12 Oct 2010 09:06:50 +0000 (11:06 +0200)]
port: hack: Do not update nAllocLen for each ETB/FTB.

This temporary hack avoids setting nAllocLen for each ETB/FTB as
padded width and height are not correctly reflected as of now and
hence it causes as assert in omx_base.

Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Disable video port's RAW thumbnail.
Joaquin Castellanos [Fri, 8 Oct 2010 21:26:25 +0000 (16:26 -0500)]
camera: Disable video port's RAW thumbnail.

This works around a problem with image capture not receiving
FillBufferDone, due to an underlying problem which needs to be
properly fixed.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Print image capture start time.
Juan Yanez [Mon, 4 Oct 2010 18:57:14 +0000 (13:57 -0500)]
camera: Print image capture start time.

This is done by setting GST_DEBUG="omx_ppm:3".

Signed-off-by: Juan Yanez <jyanez@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for Focus Region.
Joaquin Castellanos [Tue, 28 Sep 2010 15:02:01 +0000 (10:02 -0500)]
camera: Add support for Focus Region.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoport: hack: Send non-zero nAllocLen with EOS.
Amber Jain [Tue, 28 Sep 2010 14:44:29 +0000 (16:44 +0200)]
port: hack: Send non-zero nAllocLen with EOS.

This hack is needed as OMX currently complains about non-zero
nAllocLen, and needs to be removed once aligned with OMX.

Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agovp6dec: hack: Change elementary to intermediate video data.
Leonardo Sandoval [Tue, 28 Sep 2010 23:54:58 +0000 (01:54 +0200)]
vp6dec: hack: Change elementary to intermediate video data.

The VP6 Decoder supports only intermediate video data (frame header +
frame data) while GST demuxers provide elementary data (frame data).
This patch changes from elementary to intermediate data. In the
future, codec should accept both cases so we can get rid of this
exception.

Signed-off-by: Leonardo Sandoval <lsandoval@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agovp6dec: New element.
Leonardo Sandoval [Tue, 28 Sep 2010 18:56:16 +0000 (20:56 +0200)]
vp6dec: New element.

This is the VP6 Decoder.

Signed-off-by: Leonardo Sandoval <lsandoval@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for Focus Spot Weighting.
Joaquin Castellanos [Thu, 2 Sep 2010 19:55:01 +0000 (14:55 -0500)]
camera: Add support for Focus Spot Weighting.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoh263enc: Add profile and level properties.
Alejandro Gonzalez [Mon, 27 Sep 2010 15:17:05 +0000 (17:17 +0200)]
h263enc: Add profile and level properties.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoEnable H.263 Encoder in component table.
Alejandro Gonzalez [Wed, 22 Sep 2010 14:17:48 +0000 (09:17 -0500)]
Enable H.263 Encoder in component table.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoCorrect role for H.263 Common Decoder from Ducati.
Sumit Semwal [Wed, 8 Sep 2010 09:20:05 +0000 (11:20 +0200)]
Correct role for H.263 Common Decoder from Ducati.

Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for White Balance Color Temperature.
Joaquin Castellanos [Thu, 2 Sep 2010 19:04:38 +0000 (14:04 -0500)]
camera: Add support for White Balance Color Temperature.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for TI Sensor OverClock Mode
Joaquin Castellanos [Thu, 2 Sep 2010 12:59:44 +0000 (07:59 -0500)]
camera: Add support for TI Sensor OverClock Mode

7 years agocamera: Add support for RAW thumbnail.
Joaquin Castellanos [Tue, 31 Aug 2010 22:09:16 +0000 (17:09 -0500)]
camera: Add support for RAW thumbnail.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support to generate src_query for vidsrcpad.
Amber Jain [Wed, 8 Sep 2010 09:50:37 +0000 (11:50 +0200)]
camera: Add support to generate src_query for vidsrcpad.

src_query was generated only for preview pad from camera element and
hence encoder was not getting the padded width and height when using
vidsrcpad for encoding and hence was not configuring it correctly.

Signed-off-by: Amber Jain <amber@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for manual focus.
Joaquin Castellanos [Tue, 21 Sep 2010 17:06:35 +0000 (12:06 -0500)]
camera: Add support for manual focus.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Fix SensorSelect for Ducati 1.18.
Joaquin Castellanos [Mon, 13 Sep 2010 18:46:53 +0000 (13:46 -0500)]
camera: Fix SensorSelect for Ducati 1.18.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoport: remove work-around for components that don't return buffers
Rob Clark [Wed, 1 Sep 2010 15:43:15 +0000 (10:43 -0500)]
port: remove work-around for components that don't return buffers

This workaround was originally to avoid hanging during transition to Loaded
state in case the OMX component does not return all buffers.  But that
issue should be solved, and freeing buffers that are not yet returned is
causing issues in camera use-cases.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Add support for motion triggered imagestab
Joaquin Castellanos [Tue, 24 Aug 2010 15:52:10 +0000 (10:52 -0500)]
camera: Add support for motion triggered imagestab

7 years agocamera: Fix RAW image capture
Joaquin Castellanos [Thu, 19 Aug 2010 20:24:40 +0000 (15:24 -0500)]
camera: Fix RAW image capture

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoChange component table to add component roles.
Sumit Semwal [Thu, 26 Aug 2010 23:07:21 +0000 (01:07 +0200)]
Change component table to add component roles.

Change component table to add component roles as defined
by DOMX Common Decoder component.

Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agovideodec: some extra error checking for sinkpad caps
Rob Clark [Tue, 31 Aug 2010 20:19:08 +0000 (15:19 -0500)]
videodec: some extra error checking for sinkpad caps

In case of an unparsed (raw) mpeg4 stream, we'll get video/mpeg caps from
typefind which do not have width/height set.  In this case we should bail
out with a not-negotiated error, rather than propagating the invalid caps
and crashing in other creative ways.

7 years agoport: Fix hanging in H.263/MPEG4 seek by handling RO buffer at flush.
Buddy Liong [Mon, 30 Aug 2010 22:16:30 +0000 (17:16 -0500)]
port: Fix hanging in H.263/MPEG4 seek by handling RO buffer at flush.

Need to handle read-only buffer at gst_omx_port_flush since port->queue might
have the same buffers from FBD and EventHandler of OMX_TI_EventBufferRefCount.

v2: remove the 80 line rule in release_buffer.
v3: Optimized the code by combining the else statement as both doing the same.

Signed-off-by: Buddy Liong <buddy.budiono@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Fix ISO uint read param in get_property.
Joaquin Castellanos [Mon, 30 Aug 2010 22:10:46 +0000 (17:10 -0500)]
camera: Fix ISO uint read param in get_property.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocore: Add new TI OMX header file.
Sumit Semwal [Fri, 27 Aug 2010 22:19:26 +0000 (00:19 +0200)]
core: Add new TI OMX header file.

Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agoport: Correct usage of TI custom index for PreAnnouncement.
Sumit Semwal [Fri, 27 Aug 2010 22:20:25 +0000 (00:20 +0200)]
port: Correct usage of TI custom index for PreAnnouncement.

Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Enable vidsrc pad push out buffers for encoding.
Naveen Kumar Penda [Wed, 18 Aug 2010 10:18:12 +0000 (12:18 +0200)]
camera: Enable vidsrc pad push out buffers for encoding.

Signed-off-by: Naveen Kumar Penda <a0393443@ti.com>
Signed-off-by: Daniel Diaz <ddiaz@ti.com>
7 years agocamera: Handle EOS to ensure it gets pushed on all src pads.
Rob Clark [Wed, 18 Aug 2010 23:05:22 +0000 (18:05 -0500)]
camera: Handle EOS to ensure it gets pushed on all src pads.

Since GstBaseSrc only knows about a single srcpad, there needs to be
some special handling to ensure that EOS gets pushed down vidsrc and/
or imgsrc pad to ensure proper shutdown of the pipeline.

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