[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>
3 files changed
tree: ff99a1987f15160017a3abf866dcab5746942e52
  1. base/
  2. core/
  3. utils/
  4. .gitignore
  5. Android.mk
  6. AUTHORS
  7. ebuild.mk
  8. README