• Home
  • History
  • Annotate
  • only in /hardware/intel/common/wrs_omxil_core/utils/
History log of /hardware/intel/common/wrs_omxil_core/utils/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4cf92c125f7be6ee16c2c12960db73c87b8ed455 03-May-2017 Lang Dai <langx.dai@intel.com> init thread id for Klocwork error

BZ: IMINAN-51481

Fixes: 38135184
Test: Netflix, play movies, youtube

Change-Id: I15c497aba636159c67909b6f81083e8dcadc87e4
Signed-off-by: Austin Hu <austin.hu@intel.com>
(cherry picked from commit 86df600763e90207c90b4c4e9a823ad044cc41bd)
rc/thread.cpp
32e9830130645f88e7a2ad43556ad4adb3db31d4 09-Dec-2014 Andreas Gampe <agampe@google.com> Wrs Omxil: Remove unused variables

For build-system CFLAGS clean-up, remove unused variables.

Bug: 18632512
Change-Id: I4da2cb255b4bc08c5dfc04d7d31c58e63d90948e
rc/module.c
3f7ceee13aa17ae32d4263aed2ce67eb9a37c58b 24-Jul-2014 ywan171 <yi.a.wang@intel.com> remove the warning in wrs_core

BZ: 209178

remove the warning in wrs_core
Signed-off-by: ywan171 <yi.a.wang@intel.com>

Change-Id: I5655dcc283325cf7da5e0b088887e63cd24fb056
Signed-off-by: ywan171 <yi.a.wang@intel.com>
Reviewed-on: https://android.intel.com/220500
Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
rc/Android.mk
rc/audio_parser.c
59642e7640703b5c0df95dd4111121e95b8f3161 16-Jul-2014 Thierry Strudel <thierry.strudel@intel.com> Fix build for AOSP/L

BZ: 209178

Change-Id: I07232c12f5466b362530315d33084a4d7ecfabdc
Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
Reviewed-on: https://android.intel.com/218917
Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com>
Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
nc/log.h
fa6357737290b9e5957e2da9b3a112fec241df11 06-Sep-2013 ywan171 <yi.a.wang@intel.com> wrs_core: reset the stop flag if the decoder thread restarts from stop state

BZ: 134837

reset the stop flag if the decoder thread restarts from stop state to fix cts MediaCodec
bug.

Change-Id: Ic8f22cb6eee576e4afa61197cbc390834ee7eb1b
Signed-off-by: ywan171 <yi.a.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/130318
Reviewed-by: Zhou, ChuX <chux.zhou@intel.com>
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Liang, Dan <dan.liang@intel.com>
Reviewed-by: Chen, Tianmi <tianmi.chen@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
rc/workqueue.cpp
64296f29648d8045b14d235a6fcc4912270c167d 06-May-2013 Dan Liang <dan.liang@intel.com> wrs_omxil_core: set thread name

BZ: 105774

The hw codec's working thread is spawned from TimedEventQueue
thread and inherits the parent's name. So we cannot distinguish
them for analyzing purpose.

Change-Id: I893874309bc669a1e812085001b04b6fb88c490c
Signed-off-by: Dan Liang <dan.liang@intel.com>
Reviewed-on: http://android.intel.com:8080/106287
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
rc/workqueue.cpp
992a01bf94ddc7b65e65f3eb2b444b4c2ff9c2f6 07-Mar-2013 Liu Bolun <bolunx.liu@intel.com> OMXIL Core Checking return value of dlsym() to workaround Bionic issue

BZ: 91187

Change to use return value of dlsym() instead of dlerror() to check whether
the result of dlsym() is successful or not. It can workaround the Bionic issue
that might cause other issues.
Signed-off-by: Liu Bolun <bolunx.liu@intel.com>

Change-Id: I88dc45c523dabd77cb0598dbd0b66d38b2d4d0e4
Reviewed-on: http://android.intel.com:8080/95452
Reviewed-by: Liu, BolunX <bolunx.liu@intel.com>
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
rc/module.c
274e417839e9335eccada4b08e082e238b0ed7dc 05-Feb-2013 Gu, Wangyi <wangyi.gu@intel.com> [PORT FROM R4.1] Enhance the error handle mechanism in OMX Core to avoid video editor carsh

BZ: 75145

1. the dlerror will return the error caused by the main thread, this will lead the
ret equals -1, and this will make the loop not end in CModule destructor;
2. remove the redundant pthread_mutex_unlock;
3. add some error logs to expose some corner cases

Change-Id: Ifab1bb704ae1a65553be1326716558a4e013fada
Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com>
Reviewed-on: http://android.intel.com:8080/90189
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Wang, Yi A <yi.a.wang@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
Tested-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
rc/module.c
f94dc0afb6e4af367787f758a77e510c0bfe6b8a 30-Jan-2013 ywan171 <yi.a.wang@intel.com> wrs_core: fix Klocwork issue in queue.c

BZ: 83848

fix klocwork issue in queue.c
Signed-off-by: ywan171 <yi.a.wang@intel.com>

Change-Id: I57d75c2e3b3c33a03aa7a2c8d922ac0ce178ca4f
Reviewed-on: http://android.intel.com:8080/89313
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Reviewed-by: Wang, Yi A <yi.a.wang@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
rc/queue.c
8af4549cec855377507046127d9b9a45911eaf04 15-Jan-2013 ywan171 <yi.a.wang@intel.com> wrs_omxil_core: fix klocwork issue under wrs_omxil_core

BZ: 73428

fix Klocwork issue under wrs_omxil_core, check point before refereced
Signed-off-by: ywan171 <yi.a.wang@intel.com>

Change-Id: Ic5b721a5cda4dacb0b89dc28bdf9aaad605e1d5a
Reviewed-on: http://android.intel.com:8080/86803
Reviewed-by: Wang, Yi A <yi.a.wang@intel.com>
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
rc/module.c
rc/queue.c
d718bf9db5f01ca73d4245fcc90fe6e538f119e0 21-Nov-2012 dvshkurk <Dmitry.V.Shkurko@intel.com> [PORT FROM MAIN] Non-initialized variable caused SEGV in strdup function

BZ: 69531

The non-initialized dlerr variable from the module_open function
was passed to the module_set_error function. Incorrect dlerr
caused SEGV in the strdup function called from the
module_set_error function.

Change-Id: I7e7b0b517a56968e356460dcc7544860ce84fa91
Signed-off-by: dvshkurk <Dmitry.V.Shkurko@intel.com>
Reviewed-on: http://android.intel.com:8080/80843
Reviewed-by: Shkurko, Dmitry V <dmitry.v.shkurko@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
rc/module.c
013907bbe7ffb1c1e19b172dbbef39dceb6573ad 14-Nov-2012 Liu Bolun <bolunx.liu@intel.com> [PORT FROM MAIN]OMX Core: Checking return value of dlopen() instead of error string to workaround Bionic issue

BZ: 66993

Change to use return value of dlopen() instead of dlerror() to check whether the call to dlopen()
is successful or not, to workaround the synchronization issue of dl_err_str in Bionic.
Signed-off-by: Liu Bolun <bolunx.liu@intel.com>

Change-Id: I200fe18c8ac5841f7aeb29f44ba6d5e6dc2cf100
Reviewed-on: http://android.intel.com:8080/76392
Reviewed-by: Liu, BolunX <bolunx.liu@intel.com>
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Tested-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: Tong, BoX <box.tong@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
rc/module.c
25a87f280c966b01394e415a2b51b8b18ef5ba27 26-Dec-2011 Chang Ying <ying.chang@intel.com> wrs-utils: Resolve potential race condition in workqueue.

BZ: 18528

This is the fix for BZ: 18006

Protect access to a status variable in workqueue by a lock,
otherwise may cause endless wait.

Change-Id: Iccb2a19664852af29cd939f2591be44e7ce6eb3c
Signed-off-by: Chang Ying <ying.chang@intel.com>
Reviewed-on: http://android.intel.com:8080/30052
Reviewed-by: Ji, GuoliangX <guoliangx.ji@intel.com>
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
rc/workqueue.cpp
15f520c8654969532de887d768c0ee97c5aa35c1 30-Jan-2011 Liu, Shuo <shuo.liu@intel.com> Enable video playback in wrs-omxil-core

Change-Id: Ifb4bf6160fbc3469ede7b258dd72ef8c77c84d62
Signed-off-by: Liu, Shuo <shuo.liu@intel.com>
rc/Android.mk
c006d548e71f2660fa8c15384b44dbac7368611b 14-Jan-2011 Jack Ren <jack.ren@intel.com> Revert "change the module tag from optional to eng"

This reverts commit f92bee3efc605b340ff8930f630105ce0ffe827e.
rc/Android.mk
e4053375047722755387283a996db8cae3410247 09-Jan-2011 Jack Ren <jack.ren@intel.com> change the module tag from optional to eng

Change-Id: Ib07001c2ae13eb38923c804eb86d0ea615b2bc56
Signed-off-by: Jack Ren <jack.ren@intel.com>
rc/Android.mk
eb3155a67c066bbf19025f8d0d74609cae53ac68 03-Jan-2011 $ <bruce.j.beare@intel.com> Fix module tags line

Change-Id: Ife66ebd3d89657d4fdffc057159a48f992c6fcde
Signed-off-by: $ <bruce.j.beare@intel.com>
rc/Android.mk
f736a6653037f3d41c3fefe80e17c0212e28db2c 29-May-2010 Tao Tao <tao.q.tao@intel.com> Merge of 0427 GAID fixes

Change-Id: Ia33c9e1c3e21e9f68c867a1b5f8616c0afcd056e
nc/workqueue.h
rc/thread.cpp
rc/workqueue.cpp
2f6e87e64736666857c1bbe2cb0692c1f4e56508 26-Feb-2010 Ho-Eun Ryu <ho-eun.ryu@windriver.com> copyright: apply Apache License, Version 2.0
nc/audio_parser.h
nc/list.h
nc/log.h
nc/module.h
nc/queue.h
nc/thread.h
nc/workqueue.h
rc/Android.mk
rc/audio_parser.c
rc/ebuild.mk
rc/list.c
rc/module.c
rc/queue.c
rc/thread.cpp
rc/workqueue.cpp
b814d1307374f9654abab7c7f8ada4271070bfe0 25-Feb-2010 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:h264_parser: remove this codes due to license issue

h264_parser uses some codes of mixvbp and it causes license issue.
recent OpenCore sets port parameters properly during port negotiation, so
we don't need to parse the sps/pps to get width and height for reconfiguring
ports and it (not parsing codec data) wouldn't cause any problem for now.
nc/h264_parser.h
rc/Android.mk
rc/h264_parser.c
92d831d5831b56635deb8d23220319b118c4dcb2 26-Jan-2010 sahara <keun-o.park@windriver.com> remove getting framerate from vui parser

Signed-off-by: sahara <keun-o.park@windriver.com>
nc/h264_parser.h
rc/h264_parser.c
913bf911b34fa3d4a961ffb0b5288c5af40b7b81 26-Jan-2010 sahara <keun-o.park@windriver.com> calculate stride and sliceheight

Signed-off-by: sahara <keun-o.park@windriver.com>
rc/h264_parser.c
bbee87861d9da348927f5d3214f63fde045c6bb6 25-Jan-2010 sahara <keun-o.park@windriver.com> get more exact frame size

Signed-off-by: sahara <keun-o.park@windriver.com>
nc/h264_parser.h
rc/h264_parser.c
983ae58ba31d37e90bca2933ed67331021f7c775 22-Jan-2010 sahara <keun-o.park@windriver.com> add h.264 sps nal parser for libmix api

Signed-off-by: sahara <keun-o.park@windriver.com>
nc/h264_parser.h
rc/Android.mk
rc/h264_parser.c
e7660662764bf407dcd3c569bc52b170c5753391 07-Jan-2010 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:audio_parser: add audio_specific_config_bitcoding for aot bitfield coding
nc/audio_parser.h
rc/audio_parser.c
1dfefa6bdddbcd13f173459c968b58e74a9ea340 11-Jan-2010 Chang-Man Lee <chang-man.lee@windriver.com> wrs-omxil-core: added copyright
rc/Android.mk
rc/ebuild.mk
ffb5cf6535c4e638cedd0117b5fc85195eb95e6b 30-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:thread: create threads with DETACHED attribute
rc/thread.cpp
1a9cbc133471842d4cad1a9bda30abdc5f0c7ca3 22-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:audio_parser: fix mp3 bitrate table for version 2, layer 1
rc/audio_parser.c
dee5d6279e66db2fc6b660fc8dc42611dbff4b8b 22-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:audio_parser: add debug messages
rc/audio_parser.c
c0cd401e967952c0dec9a5753dd53313b7bd817f 17-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:audio_parser: fix prototype mp3_header_parse for getting frame duration

It's hard-coded for version 1, layer 3
nc/audio_parser.h
rc/audio_parser.c
52c06a6af5a4560535a30e96d5bae93db94fb023 17-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:audio_parser: fix mp3_header_parse prototype for getting frame length
nc/audio_parser.h
rc/audio_parser.c
766e767ab0e2e46ca93175bc3debf23963944cd4 29-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:workqueue: add Pause/Resume for workqueue control

we have following workqueue control functions
int StartWork(bool executing);
executing == true : start workqueue thread with executing state
!= true : start workqueue thread with paused state
void StopWork(void);
join workqueue thread and exit
void PauseWork(void);
pause workqueue thread, it guarantees any workqueue callback's not
running when it returns.
void ResumeWork(void);
resume paused workqueue thread
nc/workqueue.h
rc/workqueue.cpp
d3ca9b0c0fa0f09f3bf45dbf237ee67f685a3b94 29-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:thread: make it thread-safe, Start()/Join() protected by lock
nc/thread.h
rc/thread.cpp
3739d03aa380db0d809c6acf7968c629e769b0c2 28-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> misc: remove trailing whitespace
rc/module.c
30bd6062e4b295f5f7bcaeb98165065310d29269 28-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> misc: add windriver standard copyright
nc/audio_parser.h
nc/list.h
nc/log.h
nc/module.h
nc/queue.h
nc/thread.h
nc/workqueue.h
rc/audio_parser.c
rc/list.c
rc/module.c
rc/queue.c
rc/thread.cpp
rc/workqueue.cpp
918ef361f272e1de80167545857c23b6060775d6 28-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:audio_parser: add MP4 audio specific type parser
nc/audio_parser.h
rc/audio_parser.c
ac662a0b5dd48484b95c3e54210624d19ff1adb1 27-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:audio_parser: add mp3 frame header parser
nc/audio_parser.h
rc/Android.mk
rc/audio_parser.c
e4197969e018f1f455d8a99ebabd51994b150506 16-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> misc: add copyright and author
nc/list.h
nc/log.h
nc/module.h
nc/queue.h
nc/thread.h
nc/workqueue.h
rc/list.c
rc/module.c
rc/queue.c
rc/thread.cpp
rc/workqueue.cpp
83e8059707184ea765b91054daf3c07e304c4d0c 16-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> build: add files for Android Integration
rc/Android.mk
e762bd2844227964295682254b81aeba0dfbbbb7 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:module: fix bug, print module name before free
rc/module.c
fecb5190b25b189d4af7be9d1210f7a784c32dc9 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:module: fix minor, don't access g_module_list directly
rc/module.c
6ecb9af793026a1ce5eb36fc520014cd1663fa91 30-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utiles:module: fix bug, just free(new) when found matching handle
rc/module.c
c27c32fcf90773a9468cd827d9e118630dd51e87 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:thread: fix bug, pthread create/join

this patch prevent Start() from creating new thread without Join() and
join() from joining a thread not created yet.
nc/thread.h
rc/thread.cpp
eb6dc073efaf0a75eb85ddf39819e9c431ac10e4 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:workqueue: fix bug, wait condition of empty works list (!works)
rc/workqueue.cpp
94971622bc073a4057f6f02ffb61b6977c2bd4e6 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:workqueue: add CancelScheduledWork() function

this function discards qeueud works in works list to cancel queued job;
nc/workqueue.h
rc/workqueue.cpp
27553108e3ec272ee7f4ec9a4da2f2c22dafb36f 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:workqueue: fix bug in lock works list

it had a race condition against list manipulation while processing Work()
this patch prevents race condition while processing Work()
nc/workqueue.h
rc/workqueue.cpp
ba4014339471126ca90af5a5ec7a1ee10ad6c15b 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:thread: fix bug with thread id handling
rc/thread.cpp
9eb5f262eb3e810d633fb4ebfb1e06940cadc778 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:workqueue: introduce Start/StopWork()

WorkQueu doesn't start work thread implicitly. you should call
Start/StopWork() where you want at
nc/workqueue.h
rc/workqueue.cpp
496cc45c1fbfb86e236b3943fc198553fec983b5 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:thread,workqueue: add thread and workqueue class
nc/thread.h
nc/workqueue.h
rc/ebuild.mk
rc/thread.cpp
rc/workqueue.cpp
3597788ce7c666b2e86df3932968f0745f4b7bd1 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> utils:list,queue,module: add utility routines

it has list, queue, module and etc
nc/list.h
nc/log.h
nc/module.h
nc/queue.h
rc/ebuild.mk
rc/list.c
rc/module.c
rc/queue.c