mm-video: vidc: Fix frameparser behavior on EOS with data

The frameparser currently holds back any bytes that may be part of
the next frame's start code. In general, this results in frames
ending in 0x00 or 0x00,0x00 being marked as partial and properly
flushed on the next parse_sc_frame call. If an EOS is received
with data, this flush never occurs. In that case, this change
copies the missing bytes to the destination frame.

Change-Id: Ia7f1d795b2459da86f1bf6cdb5f8ca8e21c306bd
mm-video: vidc: Change SYS_ERROR log message

When SYS_ERROR is recieved, OMX component printing message
as HW error. This message can be misinterpreted as HW Bug.
This change adds meaningful message for SYS_ERROR.

Change-Id: Ide5d2283bfa67db14d946c1ab857ce8a71b56473
CRs-Fixed: 536345
vidc: venc: Add support for setting QP range parameter

This change adds support for setting min_qp and max_qp
parameters to video encoder driver.

Change-Id: I523d442e9462b2286ac4459c8a085400dd1bb3d9
mm-core: add omxcore compilation for 8084

Add openmax core for 8084 target. This is used by openmax based
video encoder and decoder components.

Change-Id: I2788ce77084b8ab5fd57d87d713a982491f4a189
mm-video: vidc: Use Venus decoder for HEVC on 8084

On APQ8084, HEVC is supported by venus, as such open the correct device.

Change-Id: I34d625db65a6021cf657683d41eab2e22a4a477f
mm-video-v4l2: Fix compiler warnings for video component

Fix compiler warning in video component

Change-Id: Ie7bf6507cc0e6c49482bbf439afa74f8af0e7b75
Merge "mm-video: vidc: Add support for 4K X 2K encoding"
Merge "mm-video: vidc: Fix frameparser behavior on EOS with data"
Merge "mm-video: vidc: Fix frameparser behavior on EOS with data"
Merge "mm-video: vidc: Add support for 4K X 2K encoding"
Merge "mm-core: add omxcore compilation for 8084"
Merge "mm-video: vidc: Use Venus decoder for HEVC on 8084"
mm-video: vidc: Rename V4L2_BUF_FLAG_EOS to V4L2_QCOM_BUF_FLAG_EOS

V4L2_BUF_FLAG_EOS was renamed to V4L2_QCOM_BUF_FLAG_EOS in the driver
because it's a vendor extension.  Reflect the change in the component
as well.

Change-Id: Ic13f68b1e37cabdffda1805708d68de23a4e870a
Merge "mm-video-v4l2: Fix compiler warnings for video component"
Merge "mm-video: vidc: Rename V4L2_BUF_FLAG_EOS to V4L2_QCOM_BUF_FLAG_EOS"
vidc: venc: Add support for AVCProfileConstrainedBaseline

This change adds AVCProfileConstrainedBaseline profile
support for H264 encoder. OMX Client can now set this
profile to get required profile settings in SPS NAL unit
from video component.

Change-Id: Id15f620cd3a39b199b2750db92ac1c23bc083c88
Merge "vidc: venc: Add support for AVCProfileConstrainedBaseline"
Merge "vidc: venc: Add support for setting QP range parameter"
mm-video: vdec: Fix hang issue in testapp

when the video driver send sys error, no more ebd
or fbd will be sent to the OMX test app. The ebd
and fdb threads in the test app both are blocked
on their semaphore causing the hang.

Change-Id: I35dc547080a12b9d55c37e897bfaf884ba3abbad
CRs-fixed: 520154
mm-core: vdec: Add HEVC Hybrid video decoder support

OMX Component will support HEVC Hybrid decoder  on
msm8226 and msm8974.

Change-Id: I9edae6727a28c090dc5b47f13d665e2ebd43c11d