History log of /hardware/intel/img/psb_video/src/tng_VP8.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cecb10be5449aa74cd1d9a2eb41c2a6a76d9ee79 22-Jul-2014 ywan171 <yi.a.wang@intel.com> remove warning in psb video

BZ: 209178

remove warning in psb video
Signed-off-by: ywan171 <yi.a.wang@intel.com>

Change-Id: Ie1a05b5a92fa6666420f8fd7138bc9df0f6d5d42
Signed-off-by: root <root@feijiang-desktop.(none)>
Reviewed-on: https://android.intel.com/220814
Tested-by: Fourdan, Olivier <olivier.fourdan@intel.com>
Reviewed-by: Fourdan, Olivier <olivier.fourdan@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
20f2ef257b798a174166858314731050410e31f4 16-Apr-2014 mahongpe <hongpeng.ma@intel.com> Fix HEVC video clip display issue.

BZ: 188865

HEVC is decoded by software, when rotation, it will use
VED to do rotation. so there is not coded_width and coded_height
in this case. when display, the start X/Y will be wrong.

Change-Id: Ic18b32315232046451f502897353f7139fd95355
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
55dbfaffb153fbec01e82c471b7ea5bf7bcac5fe 01-Apr-2014 mahongpe <hongpeng.ma@intel.com> Pass real frame width and height to HWC.

BZ: 188861

When rotation is enabled, if source crop is not equal to source
region, HWC will need real width and height to calculate the
start position in rotation buffer.

Change-Id: Ib34bed57a293aa1ad5e181031e58575abe5e76e2
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
1bdacdd0f067883a601e07434548bda74f5061bd 11-Feb-2014 Tianmi Chen <tianmi.chen@intel.com> psb_video: refine VP8 Decoding API

BZ: 158760

To follow proposed change/clarification for dec_va_vp8.h,
refine VP8 Decoding API.

Changes to dec_va.vp8.h are below,
1. Remove mb_skip_coeff from VAPictureParameterBUfferVP8
2. num_of_partitions count the control partition

Change-Id: I649907ce2cfd07685a4acf4d3f08f3575ffcf8a0
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
52f8a330095c542b103178e079131c0baa434dfa 27-Jan-2014 Tianmi Chen <tianmi.chen@intel.com> psb_video: refine vp8 error concealment

BZ: 166006

refine vp8 error concealment

Change-Id: Ic1f30aab349b5d0358bfb90ed3967f297a94db1e
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
5d6a029ff35aca589a2c8a3f90f266ddf8f18a46 16-Jan-2014 Fei Jiang <fei.jiang@intel.com> psb_video: fix media crash at wsbmBOOffsetHint+14 during thumbnail generation

BZ: 153574

When two media_server threads run simutaneously to call into driver,
if obj_surface is set as static for EC,
another thread will also use the same obj_surface for EC,
while that thread maybe already destory the surface,
so crash will happen.

Change-Id: I0002343dd03fc753990bcb0d413a6d0f1ead88dd
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
1e66bff1c3e23efcc9b01a9e68ab92323222fc72 25-Dec-2013 mahongpe <hongpeng.ma@intel.com> update width and height of VP8 MB to be 16 bit aligned for error concealment.

BZ:160924

For 1080p VP8 video playback, width and height of VP8 MB should be aligned to 16-bit,
which is required for error concealment.

Change-Id: I4f4d81aa93d6d26cfbbc1bbafcb52d196f4873fd
Signed-off-by: mahongpe <hongpeng.ma@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
246262a341caa262d0bddaa218280b4176012574 19-Dec-2013 Tianmi Chen <tianmi.chen@intel.com> psb_video: fix wrong assignment value to VP8 loop_filter_disable

BZ: 158770

fix wrong assignment value to VP8 loop_filter_disable.

Change-Id: I45c51c5d2f03c82d06403515f20e3de5df62c7b0
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
7511e47bd2614e5acebf98492dc0f0fb1cffa305 18-Dec-2013 ywan171 <yi.a.wang@intel.com> Fix VP8 720P playback issue when error concealment is enable.

BZ: 159135

For 720P VP8 clip, Its height of MB will be used for error concealment.
Height of MB is based on buffer height. After buffer alignment, it will
be wrong, so error concealment can not work and lead to HW panic.

Change-Id: I21a7e6b62f7b07db1942d5f7994b58029a10e9ee
Signed-off-by: ywan171 <yi.a.wang@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
c67211d208f926c69ff50208dbc96a55edc802bb 04-Dec-2013 Tianmi Chen <tianmi.chen@intel.com> psb_video: change slice data offset for vp8

BZ: 152589

change slice data offset for vp8

Change-Id: Ifd1a8a24963af3225691fdfe18b598cc445dd1ec
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
dc1148659566d59c951a915f1d7a22f013f7a70f 09-Dec-2013 Tianmi Chen <tianmi.chen@intel.com> psb_video: correct DCT address offset for VP8 decoder

BZ: 152589

correct DCT address offset for VP8 decoder

Change-Id: I0c300f9a5d29c5773adbbda888af31eb224f3b61
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
9aa931cb8cdc82ca97500a3a642ba367ab456211 02-Nov-2013 Li Zeng <li.zeng@intel.com> VED: get next cmdbuf before submit host opp msg

BZ: 148901

get next cmdbuf before submit host opp msg

Change-Id: Id0358fac68e83e5fecda561b9d443cffbf02a7bf
Signed-off-by: Li Zeng <li.zeng@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
39eff7a021afd8ec1a6f375dbc6476cbaa485d5d 12-Oct-2013 Li Zeng <li.zeng@intel.com> VED: switch on error concealment for MPEG4/VP8 codec

BZ: 144719

switch on error concealment for MPEG4 codec

Change-Id: I7362c8b4f3eac14052529072ec76b79910d287b1
Signed-off-by: Li Zeng <li.zeng@intel.com>
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Signed-off-by: Li Zeng <li.zeng@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
bf7467cc67edc15c630f8b32795f9779ede68da1 22-Oct-2013 Gu, Wangyi <wangyi.gu@intel.com> psb-video: limit AVC/MPEG4/VC1/VP8 max resolution to 1080p

BZ: 146858

limit AVC/MPEG4/VC1/VP8 max resolution to 1080p to avoid
middleware forces decoding of large resolution clips that
are not supported.

Change-Id: I2fb75247df0417ee183d6cd9b049729ea585d286
Signed-off-by: Gu, Wangyi <wangyi.gu@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
feee186c19ae8213aad756baeb51d2fa11f36730 27-Jul-2013 Li Zeng <li.zeng@intel.com> VED: Fix aux_buf re-write issue for VP8 decode, fix aux_buf leak issue

BZ: 122029

Fix aux_buf re-write issue for VP8 decode, fix aux_buf leak issue

Change-Id: I2d43625ed975bdba4311868a22c98cd28c366243
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/120672
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>
/hardware/intel/img/psb_video/src/tng_VP8.c
1adfa7d2a26afdbbef9f9ae504403f523899beae 02-Jul-2013 Tianmi Chen <tianmi.chen@intel.com> psb_video: Change the types of all fields in VABoolCoderContextVPX

BZ: 120268

Change the types of all fields in VABoolCoderContextVPX to
"unsigned char".

Change-Id: I3a8cb1df601e5183beb0704d576577220f37264a
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/116513
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>
/hardware/intel/img/psb_video/src/tng_VP8.c
17b66ca1966e1bd526418a8cd11baf9f8af0c8ad 27-Apr-2013 Sun, Mingruo <mingruo.sun@intel.com> Fix some vp8 clip playback corruption issue

BZ: 88155

write VP8_FE_PIC2 register correctly
write sign_bias_alternate to VP8_FE_SIGN_BIAS_FOR_ALTREF

Change-Id: I8ff681d3b415cf47c11c127736291f4970d8cf2e
Signed-off-by: Sun, Mingruo <mingruo.sun@intel.com>
Reviewed-on: http://android.intel.com:8080/106253
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
d4b3bda95f2efc571b057ca9ece5ea076a55cdb0 27-Mar-2013 Tianmi Chen <tianmi.chen@intel.com> psb_video: Add slice parameter buffer for VP8

BZ: 93296

Add slice parameter buffer for VP8

Change-Id: Ida66a02b2fbde2af219b1b75c2e2d0d3cd00cb93
Signed-off-by: Tianmi Chen <tianmi.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/98566
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
ebac3c62e2cc68f52a2838dc8c04bb813b3cfcf3 18-Sep-2012 hding3 <haitao.ding@intel.com> tng_vp8: fix wrong license header [MRFLD-VIDEO].

BZ: 57543

tng_vp8: fix wrong license header(mrfld patch).

Change-Id: Ie43c19d48e149825dde90622792ee83e892217f5
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/66834
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>
/hardware/intel/img/psb_video/src/tng_VP8.c
4fd9fcb6978e95955a7373a28b398bc0bb845299 11-Sep-2012 Li Zeng <li.zeng@intel.com> ved: modify VP8 header file's license text [MRFLD-VIDEO]

BZ: 56428

modify VP8 header file's license text and also refine code for VP8 and jpeg dec

Change-Id: Iad3cb02a618ddddf1b9f3d4ad7596375dd5a436a
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/65459
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Wang, Elaine <elaine.wang@intel.com>
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: Sun, Mingruo <mingruo.sun@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
da36b81f6a3b7260217195d260acc341324512ef 05-Jul-2012 Li Zeng <li.zeng@intel.com> Video: Enable VP8 decode with msvdx fw 1366ss on FPGA [MRFLD-VIDEO].

BZ: 45385

modify vp8 decode according to msvdx fw 1366ss interface

Change-Id: I8c2e2fb258b93d5c9b825b68743fb7c98b524c0b
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/59713
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/img/psb_video/src/tng_VP8.c
f2741ec6e6027b219df1f13c2d220d2ac0ca9274 05-Jul-2012 Aymen Zayet <aymen.zayet@intel.com> psb_video: avoid multiple definition of const array [MRFLD-VIDEO].

BZ: 45327

By including tng_VPB.h in many C files, an issue happen on link time
of type :
out/target/product/mrfl_hvp/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/tng_VP8.o:(.rodata+0x160): multiple definition of `b_mode_prob'
out/target/product/mrfl_hvp/obj/SHARED_LIBRARIES/pvr_drv_video_intermediates/psb_drv_video.o:(.rodata+0x380): first defined here

To avoid such situation, const array is defined as extern and
the initialization is moved to tng_VP8.c

Change-Id: Ia6f086af1c206d34d7a103bae517e8e09104d32c
Signed-off-by: Aymen Zayet <aymen.zayet@intel.com>
Reviewed-on: http://android.intel.com:8080/59709
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/img/psb_video/src/tng_VP8.c
430ce5c32361119ed81a62c918be6afbdd053edd 13-Sep-2012 hding3 <haitao.ding@intel.com> merrifeild code checkin for jpeg, lnc_ospm, vp8 decode feature [MRFLD-VIDEO].

BZ: 44466

merrifeild code checkin for jpeg, lnc_ospm, vp8 decode feature.

Change-Id: Ie17729c87e9e10b5f231889769a2a1feac4aaa13
Signed-off-by: hding3 <haitao.ding@intel.com>
/hardware/intel/img/psb_video/src/tng_VP8.c
9769d6a0972207564efb82e397f19ec002841f65 08-Jun-2012 Li Zeng <li.zeng@intel.com> video: support ved error concealment

BZ: 42768 42035

Initially support ved concealment when decode error h264 stream
In psb_PutSurface, restrict srcw to 2047
Change prefix "pnw" to "tng" for VP8 drier
Clear up non DE3 code for jpeg dec

#this is the MFLD part of original MRFLD patch 53380.

Change-Id: Idbe04ed9c6f767248965d010e72027eef55777c1
Signed-off-by: Li Zeng <li.zeng@intel.com>
Reviewed-on: http://android.intel.com:8080/53380
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/img/psb_video/src/tng_VP8.c