aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/securevideo
Commit message (Collapse)AuthorAgeFilesLines
* Fix print format error found by clang/llvm.Chih-Hung Hsieh2015-05-071-3/+3
| | | | | Change-Id: I115389bff99e1e5230c102d47520deb44f3d3747 (cherry picked from commit ed3af66e496bf9ecbc0f26f1983333f27044e0dd)
* Porting ProtectedDataBuffer changes in OMXVideoDecoderAVCSecure.Rajesh Poornachandran2015-04-304-59/+564
| | | | | | | Bug: 19964594 Change-Id: Iebbdda9bda3cf7a541a286c4bed7cee5f80fe748 Signed-off-by: Rajesh Poornachandran <rajesh.poornachandran@intel.com>
* am 237fe154: AVC secure OMX component - Change the level to 4.2 to pass new ↵Yuanjun Huang2015-01-211-3/+14
|\ | | | | | | | | | | | | CTS cases. * commit '237fe154e8c1a073f74685e7cba7d4feba4317b0': AVC secure OMX component - Change the level to 4.2 to pass new CTS cases.
| * AVC secure OMX component - Change the level to 4.2 to pass new CTS cases.Yuanjun Huang2015-01-211-3/+14
| | | | | | | | | | | | | | Bug: 19080217 Change-Id: I38452077288ccf9d370b730de839af11d5277725 Signed-off-by: Yuanjun Huang <yuanjun.huang@intel.com>
* | VideoCodec: Remove unused variablesAndreas Gampe2014-12-081-2/+0
|/ | | | | | | For build-system CFLAGS clean-up, remove unused variables. Bug: 18632512 Change-Id: I7644f8bc2355c27b199ec69097774b579e836048
* 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-254-20/+174
| | | | | | | | Also enforce -Werror Bug: 17468185 Change-Id: I30ebb393ee9fd210ce78905f94f45e602dc2753e Signed-off-by: Thierry Strudel <thierry.strudel@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>
* remove warning in omx-componentywan1712014-07-291-7/+7
| | | | | | | | | | | | | 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>
* 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-2112-4046/+0
| | | | | | | | | | 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-215-5/+5
| | | | | | | | | | 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>
* [MOFD] PlayReady support in OMX for Moorefield v0.Sudheer Mogilappagari2014-07-212-1/+84
| | | | | | | | | | | | 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>
* omx-component: set max buffer count in case of protected videoTianmi Chen2014-07-2110-0/+46
| | | | | | | | | | 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* WIDEVINE: Fix to handle,frames with no start codes or no slice header infoSuneel Kandru2014-07-211-8/+16
| | | | | | | | | BZ: 155960 In case of 0 NALU headers drop that frame and move on. Change-Id: I32142d659d37fabbaca3888230c76be8f14f9ca3 Signed-off-by: Suneel Kandru <suneel.kandru@intel.com>
* Adding a case for the platform variant, "moorefield" in the makefileDongwon Kim2014-07-212-0/+0
| | | | | | | | | | | BZ: 159031 Need review from VIDEO DECODER team This patch adds moorefield cases in the makefile. It also fixes the outdated name for the platform, "merrplus" to "moorefield" Change-Id: I326011789d1c23d24f9490c7a4f4521ef9802f2c Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
* Remove check of unused size variable in memory allocationRyan Saffores2014-07-215-25/+8
| | | | | | | | | | | | BZ: 157703 Removing the check and return on failure of the size variable for secure memory allocation. For secure playback INPORT_BUFFER_SIZE is used instead and the requested size is ignored so no need to check if the size requested is > INPORT_BUFFER_SIZE. Change-Id: Ic98eff2941ef07a9dbd041df839d43b53f67fc42 Signed-off-by: Ryan Saffores <ryan.d.saffores@intel.com>
* Adding secure video decoder for cherrytrail build targetRyan Saffores2014-07-214-0/+1288
| | | | | | | | | BZ: 156337 Adding directory with secure video decoder for cherrytrail Change-Id: I736304a467298e097b5059c94eaf6d00f5939334 Signed-off-by: Ryan Saffores <ryan.d.saffores@intel.com>
* Adding secure video decoder for merrplus build targetRyan Saffores2014-07-212-0/+551
| | | | | | | | | | BZ: 156327 Adding directory with secure video decoder for merrplus build target to enable Anniedale PO Change-Id: I39c083f633228894e186c8bff69d1dd73444728b Signed-off-by: Ryan Saffores <ryan.d.saffores@intel.com>
* Remove direct dependencies to linux/modules/intel_mediaElaine Wang2014-07-212-2/+2
| | | | | | | | | | | | | | | BZ: 152015 There are some direct references to linux/modules/intel_media/common/psb_drm.h. This means that if intel_media directory is moved elsewhere, it breaks the build. Refer to the psb_drm.h under device/intel/common/kernel-headers/linux instead. If developer modify the psb_drm.h file in kernel, he should make the same change to the one in kernel-headers as well. Change-Id: I9b6dda7a6a31a62a4b902e739057831071837a88 Signed-off-by: Elaine Wang <elaine.wang@intel.com>
* [PORT FROM R42B-STABLE] BYT-DRM-WV: Changed secure video decoder to use ↵Paul Zurcher2014-07-215-436/+287
| | | | | | | | | | | | | | | | MEI/TXEI memory allocation BZ: 145997 Implemented support for 16MB memory reserved for MEI/TXEI and allocated through the MEI memory manager in WVCrypto. Removed 4MB workaround. Also: removed dependency on libsecvideoparser.so. Replaced byteswaps with native implementation. Bugfixed freeing of secure buffers. Port change: only build secure AVC decoder on supported platforms. Removed extraneous libraries and header references. Change-Id: Ic9b83d1f38638bde3af29d8ef49932a159d834d6 Signed-off-by: Paul Zurcher <paul.zurcher@intel.com>
* [PORT FROM R42B-STABLE] BYT-DRM-WV: Removed locks from PAVP callsPaul Zurcher2014-07-212-8/+0
| | | | | | | | | BZ: 145681 Removed locks used to work around thread-safe issues in PAVP library. Change-Id: If37a3202a360b0a3254de2a3403f888a5d6ecba1 Signed-off-by: Paul Zurcher <paul.zurcher@intel.com>
* [PORT FROM R42B-STABLE] BYT-DRM_WV: Error handling fix and auto teardownPaul Zurcher2014-07-212-78/+47
| | | | | | | | | | | | | | | | | | | | | | BZ: 140058 Fixed error handling for frame transcryption/error and PAVP auto-teardown. For PAVP auto-teardown, set a mode to drop frames until the first IDR frame after the new PAVP session is created. Patch set 2: Removed 30ms delay when dropping non-IDR frames. Removed port buffer flush to fix OMXCodec buffer ownership error. Pruned dead code and fixed compiler warnings. Change-Id: I3aa6302f250056f9018fc644db4b3badd355cfa4 Signed-off-by: Paul Zurcher <paul.zurcher@intel.com> Reviewed-on: http://android.intel.com:8080/136175 Reviewed-by: Kandru, Suneel <suneel.kandru@intel.com> Reviewed-by: Cheng, Catherine <catherine.cheng@intel.com> Reviewed-by: Saffores, Ryan D <ryan.d.saffores@intel.com> Tested-by: Post, DavidX J <davidx.j.post@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com> Signed-off-by: Suneel Kandru <suneel.kandru@intel.com>
* [PORT FROM R42B-STABLE] Change the omx plugin name for protected video on BYTwfeng62014-07-211-1/+1
| | | | | | | | | | | | | | | | | | BZ: 135095 Change the omx plugin name to "OMX.Intel.hw_vd.h264.secure" for protected video on BYT. Change-Id: I3d4cda888442cf8a649ef172dba48dc4b82d4a35 Signed-off-by: wfeng6 <wei.feng@intel.com> Reviewed-on: http://android.intel.com:8080/127882 Reviewed-by: Poornachandran, Rajesh <rajesh.poornachandran@intel.com> Tested-by: Post, DavidX J <davidx.j.post@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com> Reviewed-on: http://android.intel.com:8080/132667 Reviewed-by: Sun, Hang L <hang.l.sun@intel.com> Tested-by: Sun, Hang L <hang.l.sun@intel.com>
* [PORT FROM R42B-STABLE] BYT-DRM-WV-OMX: Enable thread sync in OMXRajesh Poornachandran2014-07-212-35/+53
| | | | | | | | | | | | | | | | | BZ: 132899 Enable thread sync support in OMX until support is available from PAVP lib. Route both Audio & Video decryption via SEC. Change-Id: Ied604066bdc3997c62a0d1c7303511cf69d8cd12 Signed-off-by: Rajesh Poornachandran <rajesh.poornachandran@intel.com> Reviewed-on: http://android.intel.com:8080/127249 Tested-by: Post, DavidX J <davidx.j.post@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com> Reviewed-on: http://android.intel.com:8080/132666 Reviewed-by: Sun, Hang L <hang.l.sun@intel.com> Tested-by: Sun, Hang L <hang.l.sun@intel.com>
* [PORT FROM R42B-STABLE] BYT-DRM-WV-OMX: Support HDMI HPD and Auto-tear-downRajesh Poornachandran2014-07-212-12/+43
| | | | | | | | | | | | | | | | | | BZ: 128589 - Use pavp_is_session_alive to check PAVP Session status for each frame - Destroy PAVP session if pavp_is_session_alive reports session is invalid and recreate new session - Drop frames until session is active - Handle errors from PAVP & SEC during HDCP Auto-tear-down gracefully - Tiled output format for BYT Change-Id: I403c01ee6c4a706d36d2892f13f8e68c2e29c5ff Signed-off-by: Rajesh Poornachandran <rajesh.poornachandran@intel.com> Reviewed-on: http://android.intel.com:8080/132665 Reviewed-by: Sun, Hang L <hang.l.sun@intel.com> Tested-by: Sun, Hang L <hang.l.sun@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* Fix in the Klocwork issue in OMXVideoDecoderAVCSecurewfeng62014-07-211-0/+2
| | | | | | | | | | | | | | | | | | BZ: 129622 Problem: 'output.parsed_data_size' might be used uninitialized in PrepareDecodeBuffer in file videocodec/securevideo /baytrail/OMXVideoDecoderAVCSecure.cpp:354. Fix: initialize the output structure with 0's. Change-Id: I41c51ddf203ce575f38ccb753ed66128bf67e98a Signed-off-by: wfeng6 <wei.feng@intel.com> Reviewed-on: http://android.intel.com:8080/124619 Reviewed-by: Guo, Nana N <nana.n.guo@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* BYT-OMXVideoDecoderAVCSecure: Enable BYT-DRM-WVRajesh Poornachandran2014-07-216-180/+1070
| | | | | | | | | | | | | | | | | | | | | | | BZ: 108017 Details: - SEC decrypt and parsing - 4MB shared allocation from MEI driver - OMX to allocate only 16 bytes for xscript_key - OUTPORT_NATIVE_BUFFER_COUNT = 20 - OMX with NativeBuffer handler - cleanup phase # 1 - fix video marco artifact - fix to handle 0 NALU due to format change Change-Id: Iaa4a0dda3c058670045b4d68a1365b099a06e141 Signed-off-by: Rajesh Poornachandran <rajesh.poornachandran@intel.com> Reviewed-on: http://android.intel.com:8080/100539 Reviewed-by: Akula, VarshaX A <varshax.a.akula@intel.com> Reviewed-by: Zurcher, Paul <paul.zurcher@intel.com> Tested-by: Sun, Hang L <hang.l.sun@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* Don't disable display IED after protected session is createdAndy Qiu2014-07-211-37/+36
| | | | | | | | | | | | | | | | | BZ: 106070 In CTP display iED was disabled to address RGB overlay issue. This approach is no longer needed with MDS/Stagefright/HWC workaround - when video is being prepared overlay will be disabled temporarily. This patch also cleans up code formatting issue. Change-Id: I691353feca60ab2f3d1f2ed59e8d1458b5dd647a Signed-off-by: Andy Qiu <junhai.qiu@intel.com> Reviewed-on: http://android.intel.com:8080/119103 Tested-by: Post, DavidX J <davidx.j.post@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* omx-component: add output port buffer reallocation via port settings changeDan Liang2014-07-212-2/+4
| | | | | | | | | | | | | BZ: 116761 Change-Id: Id65409de429d0dd0ae7827b23a3466c68e3a407d Signed-off-by: Dan Liang <dan.liang@intel.com> Reviewed-on: http://android.intel.com:8080/114225 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>
* Enable WIDEVINE for Merrifield platform.Suneel Kandru2014-07-216-0/+1621
BZ: 103732 Created New OMXVideoDecoderAVCSecure source and header file for Merrifield platform. Moved clovertrail files to ctp folder. Change-Id: Ibd34eff55b071171b63fabd3bced0cb531fb70b7 Signed-off-by: Suneel Kandru <suneel.kandru@intel.com> Reviewed-on: http://android.intel.com:8080/105180 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Poornachandran, Rajesh <rajesh.poornachandran@intel.com> Tested-by: Post, DavidX J <davidx.j.post@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>