aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoEncoderBase.h
Commit message (Collapse)AuthorAgeFilesLines
* To support standard omx api for passing GTS testhding32014-12-091-0/+2
| | | | | | | Bug: 18665040 Change-Id: I1329040409263fa001216f6be1b85b3d28e4da09 Signed-off-by: hding3 <haitao.ding@intel.com>
* Fix build for AOSP/LThierry Strudel2014-07-211-4/+6
| | | | | | | | | | 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]Port VP8 encode middleware to R44c branch.bolunliu2014-07-211-2/+2
| | | | | | | | | BZ: 193452 Port VP8 encode OMX IL to R44c branch. Signed-off-by: bolunliu <bolun.liu@intel.com> Change-Id: I04c59a60c5d8c1e50ed452bd91ce6225d4bfc74e
* Rename temporal layer name for SANDbolunliu2014-07-211-1/+1
| | | | | | | | | | | 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>
* remove OMX_VIDEO_INTEL_PARAM_BITRATETYPEgji22014-07-211-2/+0
| | | | | | | | | BZ:180440 remove OMX_VIDEO_INTEL_PARAM_BITRATETYPE Change-Id: I54d2b084ab709f0fbdce94e42895cca45dcf47a7 Signed-off-by: gji2 <guoliang.ji@intel.com>
* omx-component: add one more index OMX_IndexExtRequestBlackFramePointerWeian Chen2014-07-211-0/+2
| | | | | | | | | 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>
* Move set temporal layer set config into OMXVideoEncodeBase.bolunliu2014-07-211-0/+2
| | | | | | | | | | 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>
* Enhance the omx-component encode stack log print fucntion.gji22014-07-211-0/+6
| | | | | | | | | | | BZ: 162650 Enhance the omx-component encode stack log print fucntion. To let the log be easily enabled without rebuild the omx-component stack. Usage: adb shell setprop omxenc.debug 1 Change-Id: I20c2fc26b3caff89049c31fbdc9067bc3740be00 Signed-off-by: gji2 <guoliang.ji@intel.com>
* remove live effect codeZhao Liang2014-07-211-24/+0
| | | | | | | | | BZ: 151334 replaced by low level libmix implementation Change-Id: I51cbe1f781d4a30af59bbba1172cb801f32e1a48 Signed-off-by: Zhao Liang <leo.zhao@intel.com>
* Config omx to insert SPS/PPS before each IDR framegji22014-07-211-0/+1
| | | | | | | | | | | | | | | | | BZ: 138989 config omx to insert SPS/PPS before each IDR frame Signed-off-by: gji2 <guoliang.ji@intel.com> Change-Id: Ib4a2885e73a82f7f7d34fa0f0429310178f1a776 Reviewed-on: http://android.intel.com:8080/133633 Reviewed-by: Zhao, Leo <leo.zhao@intel.com> Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Ji, Guoliang <guoliang.ji@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>
* configure AIR/CIR parameters with index OMX_IndexParamVideoIntraRefreshgji22014-07-211-0/+2
| | | | | | | | | | | | | | | BZ: 138989 configure AIR/CIR parameters with index OMX_IndexParamVideoIntraRefresh Change-Id: Ifc5d36bc4975148935c4c148ad5707e180efb0fe Signed-off-by: gji2 <guoliang.ji@intel.com> Reviewed-on: http://android.intel.com:8080/133587 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: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* Support Sync mode video encoding in omxZhao Liang2014-07-211-0/+2
| | | | | | | | | | | | | | | | | BZ: 131021 Use one new ext parameter to control sync mode, this mode is used for timelapse recording Signed-off-by: Zhao Liang <leo.zhao@intel.com> Change-Id: I099d62d02bdf28598893d7167486b4d5f1623120 Reviewed-on: http://android.intel.com:8080/127318 Reviewed-by: Zhao, Leo <leo.zhao@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: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* VE: resolve compile issue on baytrailChang Ying2014-07-211-2/+6
| | | | | | | | | | | | | | | | | BZ: 94688 Remove dependance on IMG legacy data structure on baytrail. Change-Id: I267ecefdb8ceaaa0c5c55c58d019e2fb8851dab9 Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/97700 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Feng, Wei <wei.feng@intel.com> Reviewed-by: Imberton, Guilhem <guilhem.imberton@intel.com> Reviewed-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Tested-by: Gummadi, Latha C <latha.c.gummadi@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* TARGET_DEVICE should not be used in Android.mkLiu Bolun2014-07-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | BZ: 88258 Remove TARGET_DEVICE/TARGET_PRODUCT from Android.mk Add a feature (USE_VIDEO_EFFECT) to enable/disable video effect in BoardConfig.mk Using feature selection rather than TARGET_DEVICE selection. If set USE_VIDEO_EFFECT as true, it support video effect and OMX_INPUT_BUFFER_COUNT is 5; If not, it was 2. Refine marco define code. Change-Id: I46d87bb7763c58b936864e525b5f0864a41f0ada Signed-off-by: Liu Bolun <bolunx.liu@intel.com> Reviewed-on: http://android.intel.com:8080/94207 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Zhao, Leo <leo.zhao@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>
* highprofile encoding supportZhao Liang2014-07-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | BZ: 76824 enable HiP Video Encode support in omx-componment 1) infrastructure 2) Cache implementation / operation 3) EOS/EOE processing 4) Adapt with new encode/getOutput model 5) Frame status analysis / set according to parameters like Profile/B frame etc 6) Use pPlatformPrivate to store NSTOP info 7) add the unsupport setting return info Change-Id: Id1332a7a32f02c65a63b2af405a216194178902c Signed-off-by: Zhao Liang <leo.zhao@intel.com> Reviewed-on: http://android.intel.com:8080/87035 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: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* [PORT FROM R4.1] Disable video effects feature for yukkabeach and lexingtonYang Liang2014-07-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BZ: 66003 Issue: To enable the video feature: video effects feature, it needs more video buffers in the camera HAL. The video effects is not one POR for yukkabeach and lexington. If we can disable this feature, we can reduce the video buffers number in the camera HAL. disable the feature in the video side. Solution: set the INPORT_ACTUAL_BUFFER_COUNT to 2 if we don't need the video effects feature. Depends on: None. Change-Id: I799c915047cb4f942244b6ce810c85f777f945d7 Orig-Change-Id: Ib3ca3e3bd259a5e0fa4b1e3e15257a8ccba6bdba Signed-off-by: Yang Liang <liang.l.yang@intel.com> Reviewed-on: http://android.intel.com:8080/78643 Reviewed-by: Chang, Ying <ying.chang@intel.com> Reviewed-by: Hu, Gang A <gang.a.hu@intel.com> Tested-by: Hu, Gang A <gang.a.hu@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com> Signed-off-by: Yang Liang <liang.l.yang@intel.com> Reviewed-on: http://android.intel.com:8080/87002 Reviewed-by: Koski, Anttu <anttu.koski@intel.com> Tested-by: Koski, Anttu <anttu.koski@intel.com>
* Revert "MRFLD highprofile encoding support"Juan Antonio Gozalvez Herrero2014-07-211-0/+2
| | | | | | | | | | | | | | | BZ: 76824 This reverts commit fbf1cd362697bbb3b12162408e03f87f9b122ab1. This reverts patch http://android.intel.com:8080/#/c/67485/ Change-Id: Id1b04d3ad21f5b340b04daac24a8e8ec548a779d Orig-Change-Id: I8cc469dd7ea37b1c9989a55adec3b1834c4aa905 Reviewed-on: http://android.intel.com:8080/86741 Reviewed-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com> Tested-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* MRFLD highprofile encoding supportZhao Liang2014-07-211-2/+0
| | | | | | | | | | | | | | | | | | | | | | | BZ: 76824 enable HiP Video Encode support in omx-componment 1) infrastructure 2) Cache implementation / operation 3) EOS/EOE processing 4) Adapt with new encode/getOutput model 5) Frame status analysis / set according to parameters like Profile/B frame etc 6) Use pPlatformPrivate to store NSTOP info 7) add the unsupport setting return info Change-Id: I8cc469dd7ea37b1c9989a55adec3b1834c4aa905 Signed-off-by: Zhao Liang <leo.zhao@intel.com> Reviewed-on: http://android.intel.com:8080/67485 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: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* Use system wide pvr header instead of local copyChang Ying2014-07-211-1/+1
| | | | | | | | | | | | | | | | BZ: 64651 Resolve the license incompatibility. Change-Id: Ie3ef0aae9db414f7e0a2411f3100d0b4488d3548 Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/71770 Reviewed-by: Yuan, Shengquan <shengquan.yuan@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>
* omx-components: fix CTS MediaCodecListTest failure issueYanli2014-07-211-1/+1
| | | | | | | | | | | | | | BZ: 54024 Implement interface for GetParam with OMX_IndexParamVideoProfileLevelQuerySupported correctly for openmax encode component. Change-Id: If53ca95e57b950e50b29c6efbc431d85b0839210 Signed-off-by: Zhang Yanli <yanli.l.zhang@intel.com> Reviewed-on: http://android.intel.com:8080/69235 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>
* Revert "omx-components: fix CTS MediaCodecListTest failure issue"Remy Protat2014-07-211-1/+1
| | | | | | | | | | BZ: 54024 This reverts commit 78445c361f411cd154c40936ed6e01b82334fd3e. Change-Id: I306634a24e1d67c5b3141fc620197d28c6a93d01 Signed-off-by: Remy Protat <remyx.protat@intel.com> Reviewed-on: http://android.intel.com:8080/68899
* omx-components: fix CTS MediaCodecListTest failure issueYanli2014-07-211-1/+1
| | | | | | | | | | | | | | | BZ: 54024 Implement interface for GetParam with OMX_IndexParamVideoProfileLevelQuerySupported correctly for openmax encode component. Change-Id: I29d318e62ee3d3b1a105b01b34af4576006997ac Signed-off-by: Yanli <yanli@yanli-HP-Compaq-8100-Elite-SFF-PC.(none)> Reviewed-on: http://android.intel.com:8080/67661 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>
* AVCE: Add AndroidOpaque input color format supportChang Ying2014-07-211-1/+20
| | | | | | | | | | | | | | | | | | BZ: 34659 Briefly, this implies that encoder can use texture object as source buffer. On our platform texture object is represented as buffer_handle_t and in RGB color format, however encoder only supports YUV color space, so a color space conversion is needed. Change-Id: Iad91a911184e0c6e66576b3c0bd402f1636b933f Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/66722 Reviewed-by: Jiang, Fei <fei.jiang@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>
* Video omx-component: video enhancement implementationGuoliang Ji2014-07-211-23/+1
| | | | | | | | | | | | | | BZ: 48107 Delete the share buffer mechanism, add the meta data mode modification. Change-Id: Icdc0ae1d8e3c0e012966631055591553362e5542 Signed-off-by: Guoliang Ji <guoliang.ji@intel.com> Signed-off-by: Zhao Liang <leo.zhao@intel.com> Reviewed-on: http://android.intel.com:8080/58200 Reviewed-by: Ding, Haitao <haitao.ding@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: Ding, Haitao <haitao.ding@intel.com>
* VideoEncode: port omx-components from R2 to R3Ji Guoliang2014-07-211-1/+2
| | | | | | | | | | | | | | | | | BZ: 18528 merge/port the changes of R2 to R3 Change-Id: I2d770dbca9531ef0ed36c4b5cc6299db1f632bb3 Signed-off-by: Ji Guoliang <guoliangx.ji@gmail.com> Reviewed-on: http://android.intel.com:8080/30063 Reviewed-by: Ji, GuoliangX <guoliangx.ji@intel.com> Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Chang, Ying <ying.chang@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>
* CAMERA: modify hardware omx encoder to support avc captureShuo Liu2014-07-211-1/+2
| | | | | | | | | | | | | | | | BZ: 15257 1. add setParameter() for storeMetaDataInBuffers 2. comment the prefixed length nalu format and restore the start code nalu format Change-Id: Ia3c239a7d1e8788e1acddd060245c37ee4040f7d Signed-off-by: Shuo Liu <shuo.liu@intel.com> Reviewed-on: http://android.intel.com:8080/25226 Reviewed-by: Seibel, Eric <eric.seibel@intel.com> Tested-by: Seibel, Eric <eric.seibel@intel.com> Reviewed-by: Gross, Mark <mark.gross@intel.com> Tested-by: Gross, Mark <mark.gross@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* [PORT FROM R1][omx-components] New OMX IL wrapper based on new encoder libraryShuduo Sang2014-07-211-20/+36
| | | | | | | | | | | | | | | BZ: 5809 New OMX IL wrapper based on new encoder library Change-Id: Idd5c9d30eca102d9516504f8be52bbbb8e664ddb Orig-Change-Id: I7edf2ff47fb27ad0a63586328b765110ef32ddba Signed-off-by: Weian Chen <weian.chen@intel.com> Reviewed-on: http://android.intel.com:8080/18324 Tested-by: Sang, Shuduo <shuduo.sang@intel.com> Reviewed-by: Monnier, OlivierX <olivierx.monnier@intel.com> Reviewed-by: buildbot <buildbot@intel.com> Tested-by: buildbot <buildbot@intel.com>
* new repartitioned omx video codec.Andy Qiu2014-07-211-0/+110
Change-Id: Ia8bfcb10589edbf71c79f10b977d67a1d0ccbee5 BZ: 3372