History log of /hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
41e08b779bbfab77f59765aa470aa93e2d81b877 24-Feb-2014 ywan171 <yi.a.wang@intel.com> wrs_core: add timeout waitevent in video decoder to avoid dead lock when state changes from disable to enable

BZ: 164253

When output port state changes from disable to enable, the HAL will wait gralloc buffers set from OMX client.
If dequeuebuffer fails in omx client, the video decoder HAL will fall into dead wait, and error will occur in destroying
OMX node. add timeout waitevent in wrs_core for video decoder to avoid dead lock

Change-Id: I604ca37879d95bfd5cdfc2512043c1c60a74d415
Signed-off-by: ywan171 <yi.a.wang@intel.com>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
a081918af785d476df2da1342eabe245eab468d0 05-Dec-2013 Zhao Liang <leo.zhao@intel.com> Change omx core mechanism to allow encoder working more time

BZ: 150664

for encoder case, if either bufferq or retainedbufferq is not empty
core will schedule encoder working, and inport buffer may be null if
only retainedbufferq has frame.

Change-Id: Id347f3843d806c41176dec49f543963204603e29
Signed-off-by: Zhao Liang <leo.zhao@intel.com>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
c3e26983a72fa51f0dff98bc66234b73f74adc17 19-Nov-2012 wfeng6 <wei.feng@intel.com> [PORT FROM MAIN] Report errors when failing to set the input port size

BZ: 68835

The patch allows to set the input port size according to the size
required by OMXCodec. When the required size is larger than the
threshold, a OMX_ErrorBadParameter error will be reported to
OMXCodec.

Change-Id: I648a580e35d0c023b14f3313b48a08a1b4dc60cd
Signed-off-by: wfeng6 <wei.feng@intel.com>
Reviewed-on: http://android.intel.com:8080/76393
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>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
229ae5acfb89e9c1559c0394190e77ca6f23f24b 24-Jul-2012 Zhao Liang <leo.zhao@intel.com> Add new interface in portbase to set if pBuffer is 4k aligned in AllocateBuffer

BZ: 48107

This change is part of Video enhancement modification on video buffer sharing, it is
used to keep omx port buffer aligned in 4K when in RAW mode, HW has this limitation on
malloc memory wrapping into surface

Change-Id: Ifdc639729c24fa218fa2438903a0f32d0880192f
Signed-off-by: Zhao Liang <leo.zhao@intel.com>
Reviewed-on: http://android.intel.com:8080/58215
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
Reviewed-by: Ji, Guoliang <guoliang.ji@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
ab52c3ff446a8712299a0d866f8ac8372491cdcb 29-Feb-2012 Andy Qiu <junhai.qiu@intel.com> Extend middleware to support secure video playback.

BZ: 29937

Add interface to enable customized memory allocation.

Change-Id: I67931e5de00ff873fdc224c8015792ee31dca82d
Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
Reviewed-on: http://android.intel.com:8080/36929
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Vehmanen, Kai <kai.vehmanen@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
ecc877a1dd44921dff3f300bc5559841f0c44ac6 09-Apr-2012 ywan171 <yi.a.wang@intel.com> wrs_omxil_core: enhance wrs_omxil_core to handle the case that resolution in container is diff from ES resolution

BZ: 25724 29844 28316

enhance wrs_omxil_core to handle the case that resolution in container is diff from ES resolution
1: if the resolution in container is larger than real ES resolution, return the correct crop
info to omxcodec to set the proper region for display

2: if the resolution in container is smaller than real ES resolution, Graphic buffer in omxcodec
should be reallocated and reset graphic related info to OMXIL and libmix, va should be restart.

Change-Id: I8adfde55d850bebc8cee11b73e624d57f039727c
Signed-off-by: ywan171 <yi.a.wang@intel.com>
Reviewed-on: http://android.intel.com:8080/42769
Reviewed-by: Qiu, Junhai <junhai.qiu@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>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
705c231d1e4ff148d8cec637288d9ad41429f0e3 22-Feb-2012 Weian Chen <weian.chen@intel.com> wrs-omx-core: code cleanup along with one Queue buffer management support

BZ: 24552

code cleanup along with one Queue buffer management support and remove two Queue
method (from Andy)
Signed-off-by: Weian Chen <weian.chen@intel.com>

Change-Id: I9b2109b45572492209ff4fa096e98c5442c3bfbd
Reviewed-on: http://android.intel.com:8080/36140
Reviewed-by: Chen, Weian <weian.chen@intel.com>
Reviewed-by: Qiu, Junhai <junhai.qiu@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>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
34277d8b1ca48a932e7b17ba331c29f040ba0838 19-Dec-2011 xiao <fengx.xiao@intel.com> Enable native buffer mode for ICS in wrs core
,clean buffer id mode related code

BZ: 18370

Signed-off-by: xiao <fengx.xiao@intel.com>

Change-Id: I657ac61aeaaaffdbacde3afd9743a9ddeed29588
Reviewed-on: http://android.intel.com:8080/27892
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>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
f17c91825c5ef8ac1dd211e8f641b3851dccbc4c 07-Apr-2011 xli111 <xiaowei.a.li@intel.com> Calculate the frame size according to color, height and width of the frame

Change-Id: Id3b900e2372ffff50032b88b872ef8cc9f44fdf0
Signed-off-by: xli111 <xiaowei.a.li@intel.com>
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
2f6e87e64736666857c1bbe2cb0692c1f4e56508 26-Feb-2010 Ho-Eun Ryu <ho-eun.ryu@windriver.com> copyright: apply Apache License, Version 2.0
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
6bda193e1851c89a63c0cda1992de30c1a1c4716 30-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: fix debug messages
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
3ca48681b349388346b10abce74c98497d231d04 30-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add an Interface for sending OMX_EventPortSettingsChanged
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
37787374d75727678e1f9d19191fdad363ee6c54 17-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add GetPortBufferCount for getting allocated buffer header count
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
1e23923a42d574088787d8bed30df25f032e3ffb 17-Dec-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: fix for retaining buffer
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
30bd6062e4b295f5f7bcaeb98165065310d29269 28-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> misc: add windriver standard copyright
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
f4ab90019707fb84477f62dd3093eaff0ac466eb 19-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: remove audio param from portbase class
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
e4197969e018f1f455d8a99ebabd51994b150506 16-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> misc: add copyright and author
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
6eef19eccd390d878724188ac5b62f4656a97110 16-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: fix minor, make more clear variable name in TransState
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
3759c620f3e8325d1fdd741caad7c397e797ad2c 14-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port,component: make clear parameter's role (read-only field)
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
5435027850dee5fe18425ed8d6513d551914d29b 14-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add port[audio/video/image/other].[h/cpp] files
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
904a08909b5c3870414fde9faec0d74d0edd536c 13-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add Audio/Video/Image/Other port class
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
76e479a9ee63cff7cf200aceb2f52296fe63c588 14-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add new constructor having portdefinition as its paramter
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
d6d95fe6be9fec1e85a1630bbf2a004f4396fa41 14-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: portdefinition replaces portparam
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
6c7f4263fbe4a642fb0a5c21b9e98c5c59c05468 14-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: fix minor, portdefinition not to allocated by malloc
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
2b3ec7d86622ed1945c087fb73e93338bc7acd64 13-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add RetainThisBuffer to retain a buffer in CBase::Work
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
df459a0924eb9309157e4bffa9fe26d0513b800b 12-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add TransState for port state set (enable/disable)
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
5170f7519e52abd32252552df72fa16b12651a39 12-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: make PopMark public
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
5e6d63b7252c7bc59567ea764b1b30b76554dcd4 09-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add Push/PopMark
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
4f4d5a8c4138b7ebfa624eaad8dea29332ed97a0 08-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add GetPortDirection
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
8b0c69f6315328521b722a6ceb19f354e867124a 07-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add Set/GetPorDefinition that will replace Set/GetPortParam
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
b2b1b8e0c1425cde2025791cfb74d9053170845c 07-Oct-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add IsEnabled() for checking if a port's enabled.
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
fa693d49884f9188809c3a185ecd4cd38a878cb7 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add FlushPort() for flushing buffers not under processing

It must be called holding ports big lock
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
19b0e5f37c63579e9ad52b2538cddb90d601775a 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add SetCallbacks() accessor for ReturnThisBuffer()
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
7951efc74d2bac005b683460c159f34403a355b1 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add BufferQueue functions
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
65f90f13a4ae2f113daf17558f01ffda1a0d05af 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add GetOwnerState to get component's state
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
7b94bb78335b52b812d8b4137ce80799bb6b9125 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add owner(OMX_COMPONENTTYPE), accessors
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
6fc911638847488e09f42bdd125fbb79fc754cbd 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: introduce WaitPortBufferCompletion

it' for buffer header allocation/deallocation
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
974e5777ef2f549722c11ef999d5bb52bfcf199a 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: implement Use/Allocate/FreeBuffer
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
cf575e55ba6597c77cf2413245e3f626f75b5005 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add Use/Allocate/FreeBuffer interface
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
a85b1f78b03f7027fe94d624ff1b54de9e7d5dad 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: returns const pointer for Get*PortParam()
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
cf05610bceb8d988f80ec9696104a8afceb1edfd 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add members & methods relative to parameter
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h
c8c36c18719f55a4fbb3c1efbad24a3644c0d54e 25-Sep-2009 Ho-Eun Ryu <ho-eun.ryu@windriver.com> base:port: add portbase class
/hardware/intel/common/wrs_omxil_core/base/inc/portbase.h