aboutsummaryrefslogtreecommitdiffstats
path: root/videocodec/OMXVideoEncoderVP8.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Revert "omx-component: Adding media resource management support"Yuanjun Huang2015-07-011-27/+1
| | | | | | | | | | | Bug: 20165724 A more comprehensive codec level resource manager is implemented. This reverts commit f832fbe64172f3dcde2bf8d7f960375efd8a30d9. Change-Id: Ia45655873c9b7e9d57bed6c8d5dad29e219a2e3c
* omx-component: Adding media resource management supportYuanjun Huang2015-06-011-1/+27
| | | | | | | | | | | | for each codec. Initial implementation. Implement returning OMX_ErrorInsufficientResources case. Bug: 20165724 Change-Id: I88a7229f6342bbfb8cb36b7dc9629b81e2debf93 Signed-off-by: Yuanjun Huang <yuanjun.huang@intel.com>
* To support standard omx api for passing GTS testhding32014-12-091-2/+25
| | | | | | | Bug: 18665040 Change-Id: I1329040409263fa001216f6be1b85b3d28e4da09 Signed-off-by: hding3 <haitao.ding@intel.com>
* remove warning in omx-componentywan1712014-07-291-2/+2
| | | | | | | | | | | | | 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>
* [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-211-32/+4
| | | | | | | | | BZ: 193452 Port VP8 encode OMX IL to R44c branch. Signed-off-by: bolunliu <bolun.liu@intel.com> Change-Id: I04c59a60c5d8c1e50ed452bd91ce6225d4bfc74e
* 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>
* Move set temporal layer set config into OMXVideoEncodeBase.bolunliu2014-07-211-61/+0
| | | | | | | | | | 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>
* Implement OMX Component for VP8 temporal layer encodeliubolun2014-07-211-0/+68
| | | | | | | | | | | 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>
* Refine setting config max frame size for VP8 in OMX IL.liubolun2014-07-211-8/+8
| | | | | | | | | | | 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>
* Enhance the omx-component encode stack log print fucntion.gji22014-07-211-2/+0
| | | | | | | | | | | 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>
* Enable Max Frame Size setting for VP8 encodeLiu Bolun2014-07-211-2/+26
| | | | | | | | | BZ: 162278 Add the related handler in OMX components. Change-Id: I613e7376da76ed91bcfc71917e6410698788b50a Signed-off-by: Liu Bolun <bolun.liu@intel.com>
* Enable VP8 HW encode for screen recordLiu Bolun2014-07-211-1/+1
| | | | | | | | | | BZ: 161797 Change the mime type from "video/x-webm" to "video/x-vnd.on2.vp8" to enable access VP8 HW encoder via MediaCodec::CreateByType. Change-Id: I7256256fd43e32442059ee2cb1f405d528596aab Signed-off-by: Liu Bolun <bolun.liu@intel.com>
* Support VP8 HW encode on KitKat.Liu Bolun2014-07-211-1/+1
| | | | | | | | | | | | BZ: 155742 Due to update to KK, Google had separated VP8 and VP9 encode. The role name "video_encoder.vpx" had been dropped. Change it to "video_encoder.vp8". Change-Id: If62302f610333bb980684e3de9e8c3272867c01c Signed-off-by: Liu Bolun <bolun.liu@intel.com> Signed-off-by: pingshix <pingx.shi@intel.com>
* [PORT FROM MAIN JB-MR2] Eble dynamic setting bitrate/framerate/K frame for ↵liubolun2014-07-211-0/+30
| | | | | | | | | | | | | VP8 encode. BZ: 153768 Add a pair of get/set config function for seting k frame; Add codecs judgement for bitrate/frame rate setting in VCM mode. Change-Id: Ic86ceee7aadb7b296917ee340a732c79141b551c Orig-Change-Id: I6ffdad79cbe19ec8cdb753837ac48f87069b6f5d Signed-off-by: liubolun <bolun.liu@intel.com>
* [PDK KK ABSP] omx-component: rename VPX as VP8 due to KK header file changesDan Liang2014-07-211-1/+1
| | | | | | | | | BZ: 141313 Modify VPX to VP8 Change-Id: I27ab9e7e91c0183898b1a01cbbf7f9b8a7540288 Signed-off-by: Dan Liang <dan.liang@intel.com>
* Remove some logs in VP8 encode middleware.liubolun2014-07-211-1/+1
| | | | | | | | | | BZ: 148853 According to WebRTC's comments, removing some logs that will be printed countless times. Change-Id: I7b7beb179b4dffa6e04024801b279f2856df0aff Signed-off-by: liubolun <bolun.liu@intel.com>
* Refine VP8 encode middlerware.liubolun2014-07-211-6/+26
| | | | | | | | | | | | | | | | | BZ: 135380 Add setconfig/getconfig for VP8 ref frame selection. Signed-off-by: liubolun <bolun.liu@intel.com> Change-Id: I9beeb922a39a0d374b9adc0541f800d78adf260a Reviewed-on: http://android.intel.com:8080/133853 Reviewed-by: Zhao, Leo <leo.zhao@intel.com> Reviewed-by: Liu, Bolun <bolun.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: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
* Support Sync mode video encoding in omxZhao Liang2014-07-211-1/+4
| | | | | | | | | | | | | | | | | 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>
* Change the role name of VP8 HW encoder.liubolun2014-07-211-1/+1
| | | | | | | | | | | | | | | | | BZ: 132579 Change the role name of VP8 HW encoder from "video_encoder.vp8" to "video_encoder.vpx". Change-Id: I2bc0e60cb4e5a95d0ef6bf43f5d94b63f17f3bec Reviewed-on: http://android.intel.com:8080/126971 Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Zhao, Leo <leo.zhao@intel.com> Reviewed-by: Liu, Bolun <bolun.liu@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>
* VP8Encoder: accommodate to the vaapi upgradeChang Ying2014-07-211-1/+1
| | | | | | | | | | | | | | | | | BZ: 90494 Accommodate OMX.Intel.VideoEncoder.VP8 to the vaapi upgrade Change-Id: Ia2d3114980297c59658c1b1fb95bb9f6a83cbb7d Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/95283 Reviewed-by: cactus <cactus@intel.com> Reviewed-by: Jiang, Fei <fei.jiang@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>
* VE: Add VP8 HW encoder supportChang Ying2014-07-211-0/+233
BZ: 77123 Add OMX.Intel.VideoEncoder.VP8 component to support HW VP8 encoder on MRFD. Change-Id: Id4dd4e76873f3a7793005077eba6bb2b57b90c39 Signed-off-by: Chang Ying <ying.chang@intel.com> Reviewed-on: http://android.intel.com:8080/83984 Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com> Reviewed-by: Zhang, Zhangfei <zhangfei.zhang@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>