History log of /hardware/intel/img/psb_video/src/tng_cmdbuf.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_cmdbuf.c
5bda8779f054b9e2da23725643d0559618bb5f8c 04-Jun-2014 Ren, Zhaohan <zhaohan.ren@intel.com> Fixed air not concective issue

BZ: 200568

This patch fixed AIR I-mb not concective issue due to buffer reuse

Change-Id: Ibae603337f0b7c5ffa55592eae4b744b5ec0999c
Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
98be9b15fdf9dd710170f4d47d9be9ad754614b8 07-Mar-2014 edward lin <edward.lin@intel.com> Implement buffer clflush

BZ: 185261

clflush cached coded buffer for each frame
add support for jpeg encoding

Change-Id: Idf4fa7444a399e935d60695cf3f69b32e95adf98
Signed-off-by: edward lin <edward.lin@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
d8bdef29bee0d7e15685d1ae2ad74ad6b356ce89 23-Jan-2014 Ren, Zhaohan <zhaohan.ren@intel.com> Fixed CIR MB position issue

BZ: 156075

This patch delivered CIR update command to kernel to update CIR
position table.

Change-Id: Ibcbf35a355dbd33ede4e2ad8e34cdfccad45246a
Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
58c96451d7ea53930d4eb94b6573571a51170de4 22-Dec-2013 Fei Jiang <fei.jiang@intel.com> psb_video: remove unused group member in psb_validate_req

BZ: 160699

group is not used in structure psb_validate_req,
remove it to let the structure size aligned at 8 bytes.
If psb_validate_req struture size is not aligned at 8 byte,
will occure imcompatible problem for 32 bit user space and 64 bit kernel case.

Change-Id: I12445ecc4fef52ffeebc6702a5b5861150103237
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
a6aa77f4dbeed164eb13bbcdfdf0f23f5ec00ace 06-Dec-2013 Ren Zhaohan <zhaohan.ren@intel.com> [VEC] Enable Dynamic RC update.

BZ: 157134

This patch enabled dynamic min_qp/max_qp/initial_qp/bitrate/intra_period
change.

Change-Id: I4dc7cf139d5c2acc9d826185d85d1145d67f5133
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
6050921724f3c8543f04ad8a4a3d13e5620f8e4b 11-Oct-2013 Ren Zhaohan <zhaohan.ren@intel.com> Fixed widi remote display freeze issue

BZ: 143340

In this patch, driver will retry on -EAGAIN/-EBUSY case to
make sure commands writing are successful.

Change-Id: I8d9f331bfd2f2f287251d8646857763a47fa3da7
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Reviewed-on: http://android.intel.com:8080/137746
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
e14f466f0976595332583a86773f8ab53e4e479c 17-Sep-2013 Ren Zhaohan <zhaohan.ren@intel.com> Enable H264 CBR HRD fullness

BZ: 139023

This patch enabled H264 CBR HRD fullness

Change-Id: I0d5c9b6a892aed4e31b820f98713cccefa871614
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Reviewed-on: http://android.intel.com:8080/132725
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
4a9f370494d95905305e89135da22858a7e45435 12-Aug-2013 Ren Zhaohan <zhaohan.ren@intel.com> Enabled intra period change.

BZ: 129954

This patch enabled intra period change based on dynamic IDR change
patch.

Change-Id: I13db83a53397403058815f93da73d56dade60d9c
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Reviewed-on: http://android.intel.com:8080/126002
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
dd0a0b792078d587a2e266f146ccd287c39a742d 09-May-2013 edward lin <edward.lin@intel.com> Modified the trace methods for Merrifield Video Encoder

BZ: 106767

added some trace functions to trace the parameters.
delete some debugging trace functions.
delete some compiling warrning.

Change-Id: Ib37d57f5339178e76fb74b5134a2e36c121ab61b
Signed-off-by: edward lin <edward.lin@intel.com>
Reviewed-on: http://android.intel.com:8080/107440
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
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_cmdbuf.c
082d96d0cb7fa139e386c5e01dc0871321adb0bf 22-Feb-2013 SUN,Jing <jing.a.sun@intel.com> Fix a JPEG HW encoder's regression issue

BZ: 88224

Issue: JPEG HW encoder totally can't work caused
by the updated version tng_cmdbuf_insert_command.

Solution: Add JPEG encoding commands' support to
tng_cmdbuf_insert_command.

Change-Id: I90a52ff668852d6742bee27ead23090a33899c7b
Signed-off-by: SUN,Jing <jing.a.sun@intel.com>
Reviewed-on: http://android.intel.com:8080/93182
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Yuan, Shengquan <shengquan.yuan@intel.com>
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_cmdbuf.c
381e313cd06b652a08bef36b3e9d44ae096e72b2 04-Feb-2013 pingshix <pingx.shi@intel.com> Add buffer-reloc to command buffer for Merrifield Video Encoder[MRFLD-VIDEO]

BZ: 85080

enabled the buffer-reloc function for Merrifield Video Encoder.
cleaned command buffer code.
removed some unused macro define.

Change-Id: I2c9bb9144d950c094bea5cf5175148c3078617b3
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/90169
Reviewed-by: Lin, Edward <edward.lin@intel.com>
Reviewed-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
Tested-by: Gozalvez Herrero, Juan AntonioX <juan.antoniox.gozalvez.herrero@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
ba4bbde36b64f076cfb1dd1783fe08e71a5fd671 28-Jan-2013 hding3 <haitao.ding@intel.com> Enable TWO pipe for Merrifield Video Encoder

BZ: 71956

add one flag TOPAZHP_PIPE_NUM to control the pvr lib using 2 pipe or 1 pipe.
add one function in psb_buffer.c to get the coded data from segment buffer

Change-Id: I04b9038e1b28b9a28475a15ae832f7ca536b82bd
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/88881
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_cmdbuf.c
5b4943f06f5394f99ded211af6e42a72f8847a21 20-Dec-2012 edward lin <edward.lin@intel.com> many debug macro define in the code for Merrifield video encoder user-space driver [MRFLD-VIDEO]

BZ: 76157

Firstly, I modified the code of psb_surface_attrib.c and psb_texture.c, psb_texture.h to make sure this code could be compiled ok on Linux environment.
Secondly, I removed and reduced some DEBUG Macro define for Merrifield Video Encoder user-space driver.
this modified would not affect the running of encoder, only for code clean
mask all the pdump debug macro

Change-Id: I60dfb7d74e83f2d212210bf81b4fdcf75bb848aa
Signed-off-by: edward lin <edward.lin@intel.com>
Reviewed-on: http://android.intel.com:8080/83599
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
96b0e013cefb77a845b6533d4c2ecf6f0aa429fc 20-Dec-2012 edward lin <edward.lin@intel.com> define in the code for Merrifield video encoder user-space driver [MRFLD-VIDEO]

BZ: 76157

Firstly, I modified the code of psb_surface_attrib.c and psb_texture.c, psb_texture.h to make sure this code could be compiled ok on Linux environment.
Secondly, I removed and reduced some DEBUG Macro define for Merrifield Video Encoder user-space driver.
this modified would not affect the running of encoder, only for code clean

Change-Id: I68ad681333e766a1b8bc2577714a1be6f07c249b
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/83598
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
7bb84b457d5658da0c850ed13dff3d212af70771 06-Dec-2012 Edward Lin <edward.lin@intel.com> [PORT FROM MAIN][MRFLD_VIDEO] Enable video encode on VP with Merrifield video driver

BZ: 66906

Merged video encoder user-space part
Added fw/topazhp/Android.mk

Change-Id: I779ddb5f77d6cf75b13d6b2d077285247cd7d342
Signed-off-by: Edward Lin <edward.lin@intel.com>
Reviewed-on: http://android.intel.com:8080/82278
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
e79deb274ba55edd65e6c5d55f8e50954ff5b967 24-Oct-2012 edward lin <edward.lin@intel.com> fixed the status information of skipped-frames missing issue [MRFLD-VIDEO].

BZ: 64135

added some code to fix this issue

Change-Id: Iccbb0540c3aa878500a84cafea9db4a4f967f437
Signed-off-by: edward lin <edward.lin@intel.com>
Reviewed-on: http://android.intel.com:8080/71933
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_cmdbuf.c
cc2673c315517dd5a4bd294fb8707cf40c0d2088 19-Sep-2012 Fei Jiang <fei.jiang@intel.com> kernel-drm: refine video driver decode/encode common code

BZ: 58132

Correct PSB_ENGINE_VIDEO to PSB_ENGINE_DECODE.
Signed-off-by: Fei Jiang <fei.jiang@intel.com>

Change-Id: I62a369103031c329e29c390d9070be7ef17f097a
Signed-off-by: Fei Jiang <fei.jiang@intel.com>
Reviewed-on: http://android.intel.com:8080/67180
Reviewed-by: Feng, Wei <wei.feng@intel.com>
Reviewed-by: Zeng, Li <li.zeng@intel.com>
Reviewed-by: Guo, Nana N <nana.n.guo@intel.com>
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_cmdbuf.c
e26d82700f9514cc175d2b54733ebdeb8824922e 17-Sep-2012 hding3 <haitao.ding@intel.com> Merged the latest Merrifield video encoder code here, and fixed some compiling error [MRFLD-VIDEO].

BZ: 57543

fix some compile error to make psb-video can pass compile both android and linux development env.
#MRFLD part.

Change-Id: I4e8b4739d45f6e822400126fd7c9c8209a23c2f4
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/66663
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_cmdbuf.c
c7434a3fdc05f13a1817b6f32f499c9c7fee0045 13-Sep-2012 hding3 <haitao.ding@intel.com> Update the VSP to VIED 0711 release [MRFLD-VIDEO].

BZ: 51921

VAProfileNone was updated to -1 on libva, so we need to add a new vpp_profile for only VSP.
Add the support to query the filters capability for different frame.

Change-Id: I1604e9d6dea66b48cb6e123b970f16f7efe3c24b
Signed-off-by: hding3 <haitao.ding@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.c
fc84bd8b6852aff0a3f70c4f21533ce36e1937be 09-Sep-2012 hding3 <haitao.ding@intel.com> merrifiled code checkin for h264 encoder, vp8 decoder features [MRFLD-VIDEO].

BZ: 45158 45385 45609 42748 45878

(1) BZ45158 updated Merrifield video encoder user space driver
(2) modify the stride assignment, widi needed
(3) modify CMD_DMA_DMA_TYPE_SHIFT according to 1366FW and some errors after refine VP8 code
(4) BZ45385 Video: Enable VP8 decode with msvdx fw 1366ss on FPGA
(5) BZ45609 added the check for array's boundary
(6) BZ42748 The reconstructed frame is not supported well
(7) Support the Deblock filter while do capability check
(8) BZ45878 Merrifield H264 encoder does not support changing bitrate dynamically under VCM mode

Change-Id: Ib2c5d66dcd4cc741ec25c3632f37aa241cd52e2a
Signed-off-by: hding3 <haitao.ding@intel.com>
/hardware/intel/img/psb_video/src/tng_cmdbuf.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_cmdbuf.c