aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | DecoderVP9Hybrid: add adaptive playback supportywan1712014-11-202-5/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | 1. if the output buffer is big enough, drain the frame before dealing with new resolution frame 2. if the output buffer is not big enough, the output buffer should be reallocated Bug: 17729532 BZ: 225243 Change-Id: Id252bea17a9f474bbb8dcb97da29cb2b98db5e37 Signed-off-by: ywan171 <yi.a.wang@intel.com>
* | use system headers rather than framework onesThierry Strudel2014-11-193-30/+43
| | | | | | | | | | | | Bug: 18313857 Change-Id: I35e5b413c65f585023c0e528169b849e612ff9c0 Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
* | vp9hybrid: add adaptive playback support for vp9 hybrid plugin(legacy mode)ywan1712014-11-102-20/+122
| | | | | | | | | | | | | | | | Bug: 17729532 BZ: 225243 Change-Id: Idb5cbd1f0028af12aee68410d12c762c3dd0dfbf Signed-off-by: ywan171 <yi.a.wang@intel.com>
* | vp9hybrid: add raw data mode support for vp9 hybrid plugin to pass cts testywan1712014-11-102-25/+58
| | | | | | | | | | | | | | | | Bug: 17729532 BZ: 225243 Change-Id: I3ae19c2a2fd6fb55b897375fb2ef22e2d8e90875 Signed-off-by: ywan171 <yi.a.wang@intel.com>
* | vp9hybrid: drain the last frame to fix output frame number not matching issueywan1712014-11-102-13/+10
| | | | | | | | | | | | | | | | Bug: 17729532 BZ: 225243 Change-Id: I37017f37b139aa1732cd3e737f6cea9fcd1ea73e Signed-off-by: ywan171 <yi.a.wang@intel.com>
* | vp9HWR: fix free issue in multi-threadywan1712014-10-222-32/+24
| | | | | | | | | | | | Bug: 18080142 Change-Id: Ie17b80dda21a97712fa8dfa35dbf6671ffc15dcb Signed-off-by: ywan171 <yi.a.wang@intel.com>
* | fix memleak in vp9 HWR plugin which will lead to cts failureywan1712014-10-211-13/+6
|/ | | | | | Bug: 18023655 Change-Id: I60dff6aafe3fc6d43d07f6c404bc9dd45ed8d597 Signed-off-by: ywan171 <yi.a.wang@intel.com>
* Don't hardcode linux into makefiles.Tim Kilbourn2014-10-171-1/+1
| | | | | Bug: 18033968 Change-Id: I168b81bb3ec80f982819cc1a9c0f38d267cab320
* add VP9 hybrid decoder plugin using dlopen to connect with the close source partywan1712014-10-034-4/+496
| | | | | | | | | | | Bug: 17729532 Change-Id: I8ec1f53e51ff0916d6be56b8347500e4e7b66944 Signed-off-by: ywan171 <yi.a.wang@intel.com> Conflicts: videocodec/Android.mk
* OMXAVCSecure: Enable/Disable IED.Rajesh Poornachandran2014-10-022-41/+63
| | | | | | | | | Bug: 17499952 Bug: 17472845 BZ: 223317 Change-Id: Icde61df06788834e6538c064e42dc612bf696583 Signed-off-by: Rajesh Poornachandran <rajesh.poornachandran@intel.com>
* Remove direct link to vendor librariesThierry Strudel2014-09-255-78/+247
| | | | | | | | Also enforce -Werror Bug: 17468185 Change-Id: I30ebb393ee9fd210ce78905f94f45e602dc2753e Signed-off-by: Thierry Strudel <thierry.strudel@intel.com>
* remove linker warning of libOMXVideoDecoderVP9HWR.so caused by text relocationsywan1712014-09-183-3/+2
| | | | | | | | Bug: 17473687 BZ: 223235 Change-Id: I375fe44c132e2030310ba658d6c9694c83005569 Signed-off-by: ywan171 <yi.a.wang@intel.com>
* fix the slice number per frame to be 1 for AVC encoderywan1712014-09-181-2/+2
| | | | | | | | Bug: 17417613 BZ: 223835 Change-Id: If81db13bddeb4b80ce08f0701715eced3ff9e286 Signed-off-by: ywan171 <yi.a.wang@intel.com>
* Start and stop platform IED session.Rajesh Poornachandran2014-09-091-11/+8
| | | | | | | | Bug:17308418 BZ: 219166 Change-Id: If0a450071f1628d5db87217bdbaba7faf3143a4b Signed-off-by: Rajesh Poornachandran <rajesh.poornachandran@intel.com>
* Wait till all frames flipped before session is closed.Andy Qiu2014-09-092-1/+43
| | | | | | | | Bug:17308418 BZ: 219166 Change-Id: I77ce3d64f14a603d6957e88bdc6cc66faa13a89e Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
* fix compile issue of libvpx after rebasing to partner repoywan1712014-08-071-1/+0
| | | | | | | | Change-Id: I59c7568fa31a3b6bf9b9db9335dc1f280a135b8c Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: https://android.intel.com/224857 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
* Fix for new compilerGuilhem IMBERTON2014-08-071-1/+1
| | | | | | Change-Id: Iaf373832d37d26e97f71510fadfc58fc44d65163 Signed-off-by: Guilhem IMBERTON <guilhem.imberton@intel.com> Reviewed-on: https://android.intel.com/223874
* add vp9 accelerated sw decoder plugin in fuguywan1712014-07-29874-42/+336804
| | | | | | | | | | | | BZ: 209178 add vp9 sw decoder plugin, the code is pulled from main branch Change-Id: I566570ac6d5c7d9b5a3e760234300e6e9b756666 Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: https://android.intel.com/220089 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
* remove warning in omx-componentywan1712014-07-2924-115/+111
| | | | | | | | | | | | | BZ: 209178 remove warning in omx-component except the warning caused by AOSP header file OMX_VideoExt.h Change-Id: Iacef8ca69281fa1f489f4a3dbdc949cef54978d7 Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: https://android.intel.com/220523 Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com> Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
* reset outport bufferCountMin during format change for video playback on fuguywan1712014-07-291-0/+1
| | | | | | | | | | | | BZ: 209178 reset outport bufferCountMin during format change to meet L requirement Change-Id: Id283ea82c1f0ee8491a16f1c7aefd7487e363e5b Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: https://android.intel.com/220153 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
* enable video playback on fuguywan1712014-07-211-2/+1
| | | | | | | | | | | | BZ: 209178 extend mini buffer count in native buffer mode Change-Id: Ie3c2a6a9174fd8597108151f79555d27dda500ba Signed-off-by: ywan171 <yi.a.wang@intel.com> Reviewed-on: https://android.intel.com/218945 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
* Removing references to trademarked namesRyan Saffores2014-07-212-24/+24
| | | | | | | | | | | | BZ: 210008 Removing trademarked names and other code cleanup Change-Id: I3fd5732d59ba9e28ec24de496def8b033b572857 Signed-off-by: Ryan Saffores <ryan.d.saffores@intel.com> Reviewed-on: https://android.intel.com/214264 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
* Delete non-fugu projectsRyan Saffores2014-07-2113-4087/+1
| | | | | | | | | | Deleting all code for non-fugu platforms Change-Id: I36037bd95f7ddfd7e6c50f5e3b2ca511ec89787d Signed-off-by: Ryan Saffores <ryan.d.saffores@intel.com> Reviewed-on: https://android.intel.com/214258 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
* Fix build for AOSP/LThierry Strudel2014-07-2115-18/+20
| | | | | | | | | | BZ: 209178 Change-Id: I93cb3a3b69662688041ccfac4ebd26d911dc2971 Signed-off-by: Thierry Strudel <thierry.strudel@intel.com> Reviewed-on: https://android.intel.com/218914 Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Tested-by: Imberton, Guilhem <guilhem.imberton@intel.com>
* [PORT FROM MAIN]Set OMX_BUFFERFLAG_EOS on output buffe when EOS reached.bolunliu2014-07-211-4/+8
| | | | | | | | | | | | Set Sync encode mode for VP8 to avoid GTS failed cases. BZ: 194532 Set OMX_BUFFERFLAG_EOS on output buffe when EOS reached. Set Sync encode mode for VP8 to avoid GTS failed cases. Change-Id: Ib79eae7255ac6c0e27909733ec7ca8646ab0b962 Signed-off-by: bolunliu <bolun.liu@intel.com>
* [PORT FROM MAIN]Port VP8 encode middleware to R44c branch.bolunliu2014-07-214-47/+18
| | | | | | | | | BZ: 193452 Port VP8 encode OMX IL to R44c branch. Signed-off-by: bolunliu <bolun.liu@intel.com> Change-Id: I04c59a60c5d8c1e50ed452bd91ce6225d4bfc74e
* [MOFD] PlayReady support in OMX for Moorefield v0.Sudheer Mogilappagari2014-07-213-1/+87
| | | | | | | | | | | | BZ: 190106 This patch has to go along with changes to liboemcrypto for WV and mWV to work properly. patch details will be provided later. Implementation is similar to classic widevine. Change-Id: I20bb53376f0b5fb46543810ab1f9ecb09315fd39 Signed-off-by: Sudheer Mogilappagari <sudheer.mogilappagari@intel.com>
* Set cabac as default encode parametergji22014-07-211-0/+9
| | | | | | | | | | BZ: 190561 Set cabac as default encode parameter compatible for webrtc baseline + cavlc Change-Id: Ie7808a79db5f6db9fea9f3bd2bceb70023673679 Signed-off-by: gji2 <guoliang.ji@intel.com>
* Add NO_Request_Data error processing for VP8 encode.bolunliu2014-07-211-2/+12
| | | | | | | | | | | | BZ: 189358 FW may output empty buffer when bitrate is low. OMX Component will process this kind of error. Just hold output buffer and get again not return error value to application. Change-Id: Ib3f4e06b034fb3dabe5288f747f862ec99b22e52 Signed-off-by: bolunliu <bolun.liu@intel.com>
* Enable Setting ref frame structure nPeriodicity and nLayerID in OMXENCbolunliu2014-07-211-0/+5
| | | | | | | | | BZ: 189356 Add setting nPeriodicity and nLayerID in OMX Component. Change-Id: Ic72128b41dc621efca1027db1d8b9db7226ddd8f Signed-off-by: bolunliu <bolun.liu@intel.com>
* omx-component: set max buffer count in case of protected videoTianmi Chen2014-07-2118-0/+84
| | | | | | | | | | BZ: 186222 max buffer count is set in case of adaptive playback. Protected video also needs to override the function. Change-Id: Ie532c66c5b77ca307bee5f434fe9474cf524948b Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
* High profile feature direct_8x8_inference_flag setting enablegji22014-07-211-0/+1
| | | | | | | | | BZ: 185130 High profile feature direct_8x8_inference_flag setting enable Change-Id: I1886daee7ded9b3f43f83f607a7f8ad42eb75df9 Signed-off-by: gji2 <guoliang.ji@intel.com>
* Port DRM patches from Merrifield to MoorfieldJack W. Lix2014-07-212-13/+28
| | | | | | | | | | | BZ: 184811 Includes the following patches Increased the buffer size and fix the Klocwork issues patch 175806 new flag for drmScheme and stop playback during cleanup patch 177481 Change-Id: Ib00338c9956afa3e89b5c8a62669a6fc917e2b65 Signed-off-by: Jack W. Lix <Jackx.w.lix@intel.com>
* Rename temporal layer name for SANDbolunliu2014-07-212-3/+3
| | | | | | | | | | | BZ: 185262 Rename temporal layer name for SAND. Rename it as "OMX_VIDEO_PARAM_INTEL_TEMPORAL_LAYER" Fix OMX IL compile issue. Change-Id: Iff69e241425866d0ea3086dd0d87e9225e60684d Signed-off-by: bolunliu <bolun.liu@intel.com>
* omx-component: to destory surface before graphic buffers are releasedTianmi Chen2014-07-211-0/+4
| | | | | | | | | | BZ: 183245 To destory surface before graphic buffers are released in case of output port setting changed. Change-Id: I7cbe085bf962a199cf92bf17f1f8544b552d4458 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
* omx-component: set max buffer count in case of adaptive playbackTianmi Chen2014-07-2111-1/+33
| | | | | | | | | BZ: 184541 set max buffer count in case of adaptive playback Change-Id: I7ee45256a9219458f11fda2981ab6ca532d9ff81 Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
* BYT-MDRM-WV: Support Classic WV & MDRM WV.Rajesh Poornachandran2014-07-213-145/+475
| | | | | | | | | | BZ: 184784 Support both Classic & MDRM WV. Re-factored OMX to be modular. Change-Id: I53a9116cd86c186fd5b80109d078860a1dacc238 Signed-off-by: Rajesh Poornachandran <rajesh.poornachandran@intel.com>
* New flag for drmScheme and stop playback during cleanupRupaliX2014-07-212-4/+16
| | | | | | | | | | | | | BZ: 183353 Introduced a new flag for drmScheme specifying widevine as CLASSIC or MODULAR, using which we bypass a drm_destory_session call failing in modular. Also, added a stop playback call during ProcessDeinit(). Built and verified the fix on merrifield platform on daily build - 3139 Change-Id: Ie3c8c25228d2b9597f18d22a6c25f951f190e3b7 Signed-off-by: Rupali Sharma <rupalix.sharma@intel.com>
* Decode: when width is above 2048, don't use tiling formatLi Zeng2014-07-211-1/+1
| | | | | | | | BZ: 181914 when width is above 2048, don't use tiling format. It's not supported by gfx currently. Change-Id: I94919ca566995f6291952cd04bc443af4f2c75c3
* remove OMX_VIDEO_INTEL_PARAM_BITRATETYPEgji22014-07-214-102/+30
| | | | | | | | | BZ:180440 remove OMX_VIDEO_INTEL_PARAM_BITRATETYPE Change-Id: I54d2b084ab709f0fbdce94e42895cca45dcf47a7 Signed-off-by: gji2 <guoliang.ji@intel.com>
* Port changes from 173978 to MoorefieldRyan Saffores2014-07-212-174/+189
| | | | | | | | | BZ: 182227 Porting changes for WV Modular DRM to Moorefield Change-Id: Ieee90c27e71f6f0dd87582052f28fe5fc19c7d11 Signed-off-by: Ryan Saffores <ryan.d.saffores@intel.com>
* omx-component: add one more index OMX_IndexExtRequestBlackFramePointerWeian Chen2014-07-212-2/+42
| | | | | | | | | BZ: 182643 Add one more index to allow OMX client to request black frame pointer Change-Id: I0768a3550696a9d989e302295315bc180b4f0333 Signed-off-by: Weian Chen <weian.chen@intel.com>
* WIDEVINE: Increased the buffer size and fix the Klocwork issuesSuneel Kandru2014-07-212-9/+12
| | | | | | | | | | BZ: 182607 Increased the buffer size in OMX and liboemcrypto modules Fixed the klocwork issue by initializing the ret value Change-Id: I71f3087eda8f8cd0963adb7f33fa801f42d9c2ff Signed-off-by: Suneel Kandru <suneel.kandru@intel.com>
* Move set temporal layer set config into OMXVideoEncodeBase.bolunliu2014-07-214-66/+38
| | | | | | | | | | BZ: 179113 Move set temporal layer set config into OMXVideoEncodeBase. Rename variable name to avoid confusion. Change-Id: Ib5ccd4ab8e5096e9ee47651a6fd7d9227d149b6d Signed-off-by: bolunliu <bolun.liu@intel.com>
* WIDEVINE: Modified OMX code for Modular widevineSuneel Kandru2014-07-212-181/+188
| | | | | | | | | | | BZ: 181082 1. Contains S3 review code style fixes. 2. Implementation for modular WV 3. Changes for classic and Modular to co exist. Change-Id: I3f803f4c9955d6420f4d6def1423010a247bbb7a Signed-off-by: Suneel Kandru <suneel.kandru@intel.com>
* omx-component: reduce the default buffer count for AVC DecoderDan Liang2014-07-211-1/+1
| | | | | | | | | | BZ: 175667 Reduce the buffer count for AVC Decoder from 17 to 11, while the 6 left will be allocated dynamically when WiDi is on. Change-Id: Ia1c67913e730476be625f38fdad9280d2184b8f4 Signed-off-by: Dan Liang <dan.liang@intel.com>
* Implement OMX Component for VP8 temporal layer encodeliubolun2014-07-212-0/+72
| | | | | | | | | | | BZ: 165682 Implement setTemporalLayerNumber and setTemporalLayerBitrateFrame interface in OMX Component for VP8. Remove duplicated return. Change-Id: I819510feb45024578860fe1c6527d3fe66125c18 Signed-off-by: liubolun <bolun.liu@intel.com>
* omx-componet: set flag to inform libmix that the Scenario is Adaptive PlaybackDan Liang2014-07-211-0/+3
| | | | | | | | | BZ: 177230 set the flag WANT_ADAPTIVE_PLAYBACK so that lower layer. Change-Id: I5178cfcdb62799f8f3129b40f7217e44d8144719 Signed-off-by: Dan Liang <dan.liang@intel.com>
* omx-components: make sure the error buffer is attached to the right output ↵Weian Chen2014-07-211-0/+6
| | | | | | | | | | | | | | | buffer BZ: 169698 The buffer outputted from libmix decoder is not always same as the one OMX sends to libmix because of performance and re-ordering stuff, if that case, we need to refill the error buffer to the right output buffer. Change-Id: I05bc5617bef425e317386f31d5db988d50c4ba51 Signed-off-by: Weian Chen <weian.chen@intel.com> Signed-off-by: Dan Liang <dan.liang@intel.com>
* Refine setting config max frame size for VP8 in OMX IL.liubolun2014-07-212-11/+9
| | | | | | | | | | | BZ: 166007 Modify the implementation of this interface in OMX IL. It only pass down the ratio not the real size to libmix. Fix buildbot -1 issue Change-Id: Ifeaf169e4d26e13f99910e8e4e6053b945f71c3f Signed-off-by: liubolun <bolun.liu@intel.com>