aboutsummaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)Author
2017-05-08init thread id for Klocwork errorandroid-vts-8.0_r9android-vts-8.0_r8android-vts-8.0_r7android-vts-8.0_r6android-vts-8.0_r2android-vts-8.0_r13android-vts-8.0_r12android-vts-8.0_r11android-vts-8.0_r10android-vts-8.0_r1android-security-8.0.0_r54android-security-8.0.0_r53android-security-8.0.0_r52android-cts-8.0_r9android-cts-8.0_r8android-cts-8.0_r7android-cts-8.0_r6android-cts-8.0_r5android-cts-8.0_r4android-cts-8.0_r3android-cts-8.0_r26android-cts-8.0_r25android-cts-8.0_r24android-cts-8.0_r23android-cts-8.0_r22android-cts-8.0_r21android-cts-8.0_r20android-cts-8.0_r2android-cts-8.0_r19android-cts-8.0_r18android-cts-8.0_r17android-cts-8.0_r16android-cts-8.0_r15android-cts-8.0_r14android-cts-8.0_r13android-cts-8.0_r12android-cts-8.0_r11android-cts-8.0_r10android-cts-8.0_r1android-8.0.0_r9android-8.0.0_r7android-8.0.0_r51android-8.0.0_r50android-8.0.0_r49android-8.0.0_r48android-8.0.0_r47android-8.0.0_r46android-8.0.0_r45android-8.0.0_r44android-8.0.0_r43android-8.0.0_r42android-8.0.0_r41android-8.0.0_r40android-8.0.0_r4android-8.0.0_r39android-8.0.0_r38android-8.0.0_r37android-8.0.0_r36android-8.0.0_r35android-8.0.0_r32android-8.0.0_r31android-8.0.0_r30android-8.0.0_r3android-8.0.0_r29android-8.0.0_r28android-8.0.0_r2android-8.0.0_r17android-8.0.0_r16android-8.0.0_r15android-8.0.0_r13android-8.0.0_r12android-8.0.0_r11android-8.0.0_r10android-8.0.0_r1security-oc-releaseoreo-vts-releaseoreo-security-releaseoreo-releaseoreo-r6-releaseoreo-r5-releaseoreo-r4-releaseoreo-r3-releaseoreo-r2-releaseoreo-devoreo-cts-releaseLang Dai
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)
2014-12-08Wrs Omxil: Remove unused variablesandroid-wear-5.0.0_r1lollipop-wear-releaseAndreas Gampe
For build-system CFLAGS clean-up, remove unused variables. Bug: 18632512 Change-Id: I4da2cb255b4bc08c5dfc04d7d31c58e63d90948e
2014-07-29remove the warning in wrs_corelollipop-devywan171
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>
2014-07-21Fix build for AOSP/LThierry Strudel
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>
2014-07-21wrs_core: reset the stop flag if the decoder thread restarts from stop stateywan171
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>
2014-07-21wrs_omxil_core: set thread nameDan Liang
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>
2014-07-21OMXIL Core Checking return value of dlsym() to workaround Bionic issueLiu Bolun
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>
2014-07-21[PORT FROM R4.1] Enhance the error handle mechanism in OMX Core to avoid ↵Gu, Wangyi
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>
2014-07-21wrs_core: fix Klocwork issue in queue.cywan171
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>
2014-07-21wrs_omxil_core: fix klocwork issue under wrs_omxil_coreywan171
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>
2014-07-21[PORT FROM MAIN] Non-initialized variable caused SEGV in strdup functiondvshkurk
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>
2014-07-21[PORT FROM MAIN]OMX Core: Checking return value of dlopen() instead of error ↵Liu Bolun
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>
2014-07-21wrs-utils: Resolve potential race condition in workqueue.Chang Ying
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>
2014-07-21Enable video playback in wrs-omxil-coreLiu, Shuo
Change-Id: Ifb4bf6160fbc3469ede7b258dd72ef8c77c84d62 Signed-off-by: Liu, Shuo <shuo.liu@intel.com>
2014-07-21Revert "change the module tag from optional to eng"Jack Ren
This reverts commit f92bee3efc605b340ff8930f630105ce0ffe827e.
2014-07-21change the module tag from optional to engJack Ren
Change-Id: Ib07001c2ae13eb38923c804eb86d0ea615b2bc56 Signed-off-by: Jack Ren <jack.ren@intel.com>
2014-07-21Fix module tags line$
Change-Id: Ife66ebd3d89657d4fdffc057159a48f992c6fcde Signed-off-by: $ <bruce.j.beare@intel.com>
2014-07-21Merge of 0427 GAID fixesTao Tao
Change-Id: Ia33c9e1c3e21e9f68c867a1b5f8616c0afcd056e
2014-07-21copyright: apply Apache License, Version 2.0Ho-Eun Ryu
2014-07-21utils:h264_parser: remove this codes due to license issueHo-Eun Ryu
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.
2014-07-21remove getting framerate from vui parsersahara
Signed-off-by: sahara <keun-o.park@windriver.com>
2014-07-21calculate stride and sliceheightsahara
Signed-off-by: sahara <keun-o.park@windriver.com>
2014-07-21get more exact frame sizesahara
Signed-off-by: sahara <keun-o.park@windriver.com>
2014-07-21add h.264 sps nal parser for libmix apisahara
Signed-off-by: sahara <keun-o.park@windriver.com>
2014-07-21utils:audio_parser: add audio_specific_config_bitcoding for aot bitfield codingHo-Eun Ryu
2014-07-21wrs-omxil-core: added copyrightChang-Man Lee
2014-07-21utils:thread: create threads with DETACHED attributeHo-Eun Ryu
2014-07-21utils:audio_parser: fix mp3 bitrate table for version 2, layer 1Ho-Eun Ryu
2014-07-21utils:audio_parser: add debug messagesHo-Eun Ryu
2014-07-21utils:audio_parser: fix prototype mp3_header_parse for getting frame durationHo-Eun Ryu
It's hard-coded for version 1, layer 3
2014-07-21utils:audio_parser: fix mp3_header_parse prototype for getting frame lengthHo-Eun Ryu
2014-07-21utils:workqueue: add Pause/Resume for workqueue controlHo-Eun Ryu
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
2014-07-21utils:thread: make it thread-safe, Start()/Join() protected by lockHo-Eun Ryu
2014-07-21misc: remove trailing whitespaceHo-Eun Ryu
2014-07-21misc: add windriver standard copyrightHo-Eun Ryu
2014-07-21utils:audio_parser: add MP4 audio specific type parserHo-Eun Ryu
2014-07-21utils:audio_parser: add mp3 frame header parserHo-Eun Ryu
2014-07-21misc: add copyright and authorHo-Eun Ryu
2014-07-21build: add files for Android IntegrationHo-Eun Ryu
2014-07-21utils:module: fix bug, print module name before freeHo-Eun Ryu
2014-07-21utils:module: fix minor, don't access g_module_list directlyHo-Eun Ryu
2014-07-21utiles:module: fix bug, just free(new) when found matching handleHo-Eun Ryu
2014-07-21utils:thread: fix bug, pthread create/joinHo-Eun Ryu
this patch prevent Start() from creating new thread without Join() and join() from joining a thread not created yet.
2014-07-21utils:workqueue: fix bug, wait condition of empty works list (!works)Ho-Eun Ryu
2014-07-21utils:workqueue: add CancelScheduledWork() functionHo-Eun Ryu
this function discards qeueud works in works list to cancel queued job;
2014-07-21utils:workqueue: fix bug in lock works listHo-Eun Ryu
it had a race condition against list manipulation while processing Work() this patch prevents race condition while processing Work()
2014-07-21utils:thread: fix bug with thread id handlingHo-Eun Ryu
2014-07-21utils:workqueue: introduce Start/StopWork()Ho-Eun Ryu
WorkQueu doesn't start work thread implicitly. you should call Start/StopWork() where you want at
2014-07-21utils:thread,workqueue: add thread and workqueue classHo-Eun Ryu
2014-07-21utils:list,queue,module: add utility routinesHo-Eun Ryu
it has list, queue, module and etc