mix_vbp: Porting patches from R2 to R3

    BZ: 18443

    ---------------
    patches history
    ---------------

    commit b649c693a0ee8cde9377f64f3874cce9063e0ae4
    Author: Andy Qiu <junhai.qiu@intel.com>
    Date:   Mon Nov 14 07:54:33 2011 -0800

        Extended video middleware to support dynamic resolution change.

        BZ 14251

        vbp_parser only reports new sequence when there is change in SPS
        or PPS id. For some contents, SPS and PPS stays the same but actual
        resolution is changed.  Change vbp parser to compare current resolution
        with the previous resolution to detect if there is a new sequence.

        Change-Id: Iafae7f0e0610df98edc77101b9a9df3341beed47
        Signed-off-by: Andy Qiu <junhai.qiu@intel.com>
        Reviewed-on: http://android.intel.com:8080/24045
        Reviewed-by: Chen, Weian <weian.chen@intel.com>
        Reviewed-by: Fang, Yanlong <yanlong.fang@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>

    commit 74c19eb381782be1e04684efb4856c77b4fa12b2
    Author: Richard Tang <richard.tang@intel.com>
    Date:   Thu Nov 3 17:58:56 2011 +0800

        mix_vbp: viddec_parse_sc optimization

        BZ: 5661

        viddec_parse_sc function is to parse SC code 0x00 0x00 0x01 from buffer.

        And it will also change the 32-bits algorithm to 128-bits algorithm.
        This patch will change algorithm to handle little endian directly.

        Change-Id: I3787b9c094159e8c8e671737ebb180746ff0b0bd
        Signed-off-by: Richard Tang <richard.tang@intel.com>
        Reviewed-on: http://android.intel.com:8080/21889
        Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
        Reviewed-by: Chen, Weian <weian.chen@intel.com>
        Tested-by: Ding, Haitao <haitao.ding@intel.com>
        Reviewed-by: buildbot <buildbot@intel.com>
        Tested-by: buildbot <buildbot@intel.com>

Change-Id: I0cfa84bd28ca8e472f8de97018ea8ff3bea8710e
Signed-off-by: Weian Chen <weian.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/30000
Reviewed-by: Tang, Richard <richard.tang@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>
2 files changed