vjaquez-beagleboard:ti-omxil.git
8 years agolcml: remove unneeded macro
Víctor Manuel Jáquez Leal [Tue, 8 Jun 2010 17:04:44 +0000 (19:04 +0200)]
lcml: remove unneeded macro

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove useless comments
Víctor Manuel Jáquez Leal [Tue, 8 Jun 2010 17:03:50 +0000 (19:03 +0200)]
lcml: remove useless comments

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolmcl: add dump_args() for debug
Víctor Manuel Jáquez Leal [Tue, 8 Jun 2010 16:36:33 +0000 (18:36 +0200)]
lmcl: add dump_args() for debug

8 years agolmcl: more verbose debug messages
Víctor Manuel Jáquez Leal [Tue, 8 Jun 2010 16:33:30 +0000 (18:33 +0200)]
lmcl: more verbose debug messages

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use number instead of macro
Víctor Manuel Jáquez Leal [Tue, 8 Jun 2010 16:30:40 +0000 (18:30 +0200)]
lcml: use number instead of macro

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use dsp_send_message() instead of dsp_node_put-message()
Víctor Manuel Jáquez Leal [Fri, 4 Jun 2010 16:40:14 +0000 (18:40 +0200)]
lcml: use dsp_send_message() instead of dsp_node_put-message()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: relayout DmmMap variables declaration
Víctor Manuel Jáquez Leal [Fri, 4 Jun 2010 16:21:10 +0000 (18:21 +0200)]
lcml: relayout DmmMap variables declaration

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: trivial asserts cleanup
Víctor Manuel Jáquez Leal [Fri, 4 Jun 2010 16:19:44 +0000 (18:19 +0200)]
lcml: trivial asserts cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: trivial cleanup
Víctor Manuel Jáquez Leal [Fri, 4 Jun 2010 16:18:18 +0000 (18:18 +0200)]
lcml: trivial cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: group private functions
Víctor Manuel Jáquez Leal [Thu, 3 Jun 2010 18:22:28 +0000 (20:22 +0200)]
lcml: group private functions

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove unused macros
Víctor Manuel Jáquez Leal [Thu, 3 Jun 2010 11:23:58 +0000 (13:23 +0200)]
lcml: remove unused macros

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: split the dsp finalization
Víctor Manuel Jáquez Leal [Thu, 3 Jun 2010 11:19:06 +0000 (13:19 +0200)]
lcml: split the dsp finalization

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: rename the thread return value variable
Víctor Manuel Jáquez Leal [Thu, 3 Jun 2010 11:18:07 +0000 (13:18 +0200)]
lcml: rename the thread return value variable

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: only zero the output buffer if asked for
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 20:19:06 +0000 (22:19 +0200)]
lcml: only zero the output buffer if asked for

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: set port to null
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 19:26:45 +0000 (21:26 +0200)]
lcml: set port to null

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: log all control messages
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 19:24:54 +0000 (21:24 +0200)]
lcml: log all control messages

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: let's be homogeneous
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 19:23:42 +0000 (21:23 +0200)]
lcml: let's be homogeneous

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: silence the compiler
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 18:38:02 +0000 (20:38 +0200)]
lcml: silence the compiler

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: init attributes before launching the thread
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 18:37:33 +0000 (20:37 +0200)]
lcml: init attributes before launching the thread

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: free the right memory area
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 18:34:43 +0000 (20:34 +0200)]
lcml: free the right memory area

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: cast uuid structures
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 18:28:49 +0000 (20:28 +0200)]
lcml: cast uuid structures

they seem to be binary compatible

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove perf bytes
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 17:04:17 +0000 (19:04 +0200)]
lcml: remove perf bytes

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agobulid: enable the new DSP_API and fix a variable name
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 17:01:54 +0000 (19:01 +0200)]
bulid: enable the new DSP_API and fix a variable name

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agoAllow more granularity in dspbridge API
Felipe Contreras [Wed, 19 May 2010 19:02:27 +0000 (22:02 +0300)]
Allow more granularity in dspbridge API

Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
8 years agobuild: remove libdspbridge linkage
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 09:11:20 +0000 (11:11 +0200)]
build: remove libdspbridge linkage

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: update DmmMap() call to the new params
Víctor Manuel Jáquez Leal [Wed, 2 Jun 2010 09:02:35 +0000 (11:02 +0200)]
lcml: update DmmMap() call to the new params

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove dbapi.h dependency
Víctor Manuel Jáquez Leal [Tue, 1 Jun 2010 18:15:42 +0000 (20:15 +0200)]
lcml: remove dbapi.h dependency

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: fix an unassigned variable
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:47:16 +0000 (22:47 +0200)]
lcml: fix an unassigned variable

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: rename eError to err
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:43:42 +0000 (22:43 +0200)]
lcml: rename eError to err

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify the return point
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:40:55 +0000 (22:40 +0200)]
lcml: simplify the return point

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify the return point int InitMMCodecEx()
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:34:17 +0000 (22:34 +0200)]
lcml: simplify the return point int InitMMCodecEx()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: should be unsigned to comparison
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:30:54 +0000 (22:30 +0200)]
lcml: should be unsigned to comparison

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove unused variable
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:30:15 +0000 (22:30 +0200)]
lcml: remove unused variable

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify the return point
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:29:48 +0000 (22:29 +0200)]
lcml: simplify the return point

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use the dsp_bridge api
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:23:25 +0000 (22:23 +0200)]
lcml: use the dsp_bridge api

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove spurious log messages
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:02:35 +0000 (22:02 +0200)]
lcml: remove spurious log messages

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove useless comments
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:01:24 +0000 (22:01 +0200)]
lcml: remove useless comments

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use a simple counter name
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 20:00:33 +0000 (22:00 +0200)]
lcml: use a simple counter name

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use self to refer the dspCodec in DeleteDspResource()
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:54:48 +0000 (21:54 +0200)]
lcml: use self to refer the dspCodec in DeleteDspResource()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: trivial cleanup
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:50:54 +0000 (21:50 +0200)]
lcml: trivial cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove dead code
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:42:15 +0000 (21:42 +0200)]
lcml: remove dead code

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use the log messaging mechanism
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:41:14 +0000 (21:41 +0200)]
lcml: use the log messaging mechanism

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove __ERROR_PROPAGATION__ macro in DeleteDspResource()
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:38:01 +0000 (21:38 +0200)]
lcml: remove __ERROR_PROPAGATION__ macro in DeleteDspResource()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: group the variables initialization
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:36:29 +0000 (21:36 +0200)]
lcml: group the variables initialization

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: free always check for NULL
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:32:52 +0000 (21:32 +0200)]
lcml: free always check for NULL

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: events memory allocation is independent each other
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:30:59 +0000 (21:30 +0200)]
lcml: events memory allocation is independent each other

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: safe usage of struct field
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:27:45 +0000 (21:27 +0200)]
lcml: safe usage of struct field

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: trivial cleanup
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:26:06 +0000 (21:26 +0200)]
lcml: trivial cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: never returns an error
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:21:43 +0000 (21:21 +0200)]
lcml: never returns an error

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: code style cleanup
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 19:19:47 +0000 (21:19 +0200)]
lcml: code style cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove __ERROR_PROPAGATION__ macro in FreeResources()
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:48:36 +0000 (20:48 +0200)]
lcml: remove __ERROR_PROPAGATION__ macro in FreeResources()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove useless log messages
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:46:55 +0000 (20:46 +0200)]
lcml: remove useless log messages

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove redefinition of LCML_DPRINT
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:44:25 +0000 (20:44 +0200)]
lcml: remove redefinition of LCML_DPRINT

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use the dsp_bridge api for unreserve and unmap
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:41:23 +0000 (20:41 +0200)]
lcml: use the dsp_bridge api for unreserve and unmap

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: rename DmmUnMap() parameters
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:35:13 +0000 (20:35 +0200)]
lcml: rename DmmUnMap() parameters

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: code style cleanup
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:28:41 +0000 (20:28 +0200)]
lcml: code style cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: don't check for DBAPI return values
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:27:56 +0000 (20:27 +0200)]
lcml: don't check for DBAPI return values

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify the returns point
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:26:54 +0000 (20:26 +0200)]
lcml: simplify the returns point

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use common log mechanism for DmmUnMap()
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:16:51 +0000 (20:16 +0200)]
lcml: use common log mechanism for DmmUnMap()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use the dsp_bridge api for memory reserve and map
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 18:13:05 +0000 (20:13 +0200)]
lcml: use the dsp_bridge api for memory reserve and map

Had to change the function signature to pass both dsp_handle and proc.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: rename an unused param as unused
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 17:57:01 +0000 (19:57 +0200)]
lcml: rename an unused param as unused

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: rename nContiguousMem param into mem_config
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 17:56:16 +0000 (19:56 +0200)]
lcml: rename nContiguousMem param into mem_config

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: rename pArmPtr to allocated_data
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 17:54:43 +0000 (19:54 +0200)]
lcml: rename pArmPtr to allocated_data

In order to get closer to dsp_bridge api.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: rename pDmmBuf for just b
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 17:52:45 +0000 (19:52 +0200)]
lcml: rename pDmmBuf for just b

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove spurious log messages
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 17:43:35 +0000 (19:43 +0200)]
lcml: remove spurious log messages

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify DmmMap()
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 17:36:50 +0000 (19:36 +0200)]
lcml: simplify DmmMap()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: trivial code style cleanup
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 15:12:09 +0000 (17:12 +0200)]
lcml: trivial code style cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: log messages style
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 15:11:30 +0000 (17:11 +0200)]
lcml: log messages style

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: codec memory config command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 14:52:48 +0000 (16:52 +0200)]
lcml: codec memory config command

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: control codec stream command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 14:47:21 +0000 (16:47 +0200)]
lcml: control codec stream command

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: control codec algorithm command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 14:28:51 +0000 (16:28 +0200)]
lcml: control codec algorithm command

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: sent message to codec command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 14:06:23 +0000 (16:06 +0200)]
lcml: sent message to codec command

It seems nobody uses it.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: destroy codec command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 14:01:56 +0000 (16:01 +0200)]
lcml: destroy codec command

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: stop codec command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 14:00:33 +0000 (16:00 +0200)]
lcml: stop codec command

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: play codec command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 13:52:18 +0000 (15:52 +0200)]
lcml: play codec command

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: pause codec command
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 13:47:58 +0000 (15:47 +0200)]
lcml: pause codec command

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: reindent switch block in ControlCodec()
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 13:36:39 +0000 (15:36 +0200)]
lcml: reindent switch block in ControlCodec()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: log message format
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 13:24:47 +0000 (15:24 +0200)]
lcml: log message format

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: replace dspcodec for self
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 13:20:29 +0000 (15:20 +0200)]
lcml: replace dspcodec for self

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: replace phandle with lcml
Víctor Manuel Jáquez Leal [Mon, 31 May 2010 13:16:55 +0000 (15:16 +0200)]
lcml: replace phandle with lcml

8 years agolcml: user pr_debug() for logging
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 17:01:31 +0000 (19:01 +0200)]
lcml: user pr_debug() for logging

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove perf bytes in ControlCodec()
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 16:56:33 +0000 (18:56 +0200)]
lcml: remove perf bytes in ControlCodec()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: lowercase goto label
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 16:14:50 +0000 (18:14 +0200)]
lcml: lowercase goto label

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simply the buffer mapping
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 16:12:10 +0000 (18:12 +0200)]
lcml: simply the buffer mapping

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use 0 instead of OMX_FALSE for memory type selector
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 13:55:31 +0000 (15:55 +0200)]
lcml: use 0 instead of OMX_FALSE for memory type selector

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: set the dmmbuf initialization near it use
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 13:49:30 +0000 (15:49 +0200)]
lcml: set the dmmbuf initialization near it use

8 years agolcml: make more clear the buffer index
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 13:46:11 +0000 (15:46 +0200)]
lcml: make more clear the buffer index

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: format DmmMap arguments
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 13:42:56 +0000 (15:42 +0200)]
lcml: format DmmMap arguments

8 years agolcml: use a boolean variable for bufmaplen
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 11:24:09 +0000 (13:24 +0200)]
lcml: use a boolean variable for bufmaplen

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: replace streamId for stream_id
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 11:13:57 +0000 (13:13 +0200)]
lcml: replace streamId for stream_id

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use buffer_type instead of bufType paramter
Víctor Manuel Jáquez Leal [Fri, 28 May 2010 11:11:15 +0000 (13:11 +0200)]
lcml: use buffer_type instead of bufType paramter

Turning those variables into atoms.

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify dmmbuf accessing
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 19:05:57 +0000 (21:05 +0200)]
lcml: simplify dmmbuf accessing

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: remove unneeded comments
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 18:41:36 +0000 (20:41 +0200)]
lcml: remove unneeded comments

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify the buffer count calculation
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 18:22:47 +0000 (20:22 +0200)]
lcml: simplify the buffer count calculation

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: exit when unrecognized buffer type
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 17:18:22 +0000 (19:18 +0200)]
lcml: exit when unrecognized buffer type

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: isolate the port allocation
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 17:10:02 +0000 (19:10 +0200)]
lcml: isolate the port allocation

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify the command id assigning
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 16:56:45 +0000 (18:56 +0200)]
lcml: simplify the command id assigning

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: use dsp_bridge api in QueryBuffer()
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 15:24:45 +0000 (17:24 +0200)]
lcml: use dsp_bridge api in QueryBuffer()

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: trivial code style cleanup
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 15:01:23 +0000 (17:01 +0200)]
lcml: trivial code style cleanup

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>
8 years agolcml: simplify if expressions
Víctor Manuel Jáquez Leal [Wed, 26 May 2010 14:36:41 +0000 (16:36 +0200)]
lcml: simplify if expressions

Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez@igalia.com>