History log of /hardware/intel/img/psb_video/src/tng_H264ES.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_H264ES.c
c1796c63c15e70e237ed3227fcd785feb8f86623 27-Mar-2014 Yuan, Shengquan <shengquan.yuan@intel.com> Rebase libva to latest open source version(jpeg range parameter/VAEntrypointMax removal)

BZ: 182224

Change-Id: I2762990e2ef7154d43c244753acda1c20bbb9844
Signed-off-by: Yuan, Shengquan <shengquan.yuan@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
932e97b6b0d594d630983c73b7b630cc4b6953f3 07-Jan-2014 Ren, Zhaohan <zhaohan.ren@intel.com> Assigned default value for framerate and bitrate

BZ: 161311

This patch fixed LibVA API test issue.

Change-Id: Idcbc98d41c42b3cedbc5214366fe98e492149881
Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
207a3caf8c8d1c02ed24c2fdf2fff27ba1030776 27-Dec-2013 Ren, Zhaohan <zhaohan.ren@intel.com> Fixed intra_period dynamic update issue

BZ: 161073

Driver update intra period only on a new sequence and intra
period changed.

Change-Id: I45a5c3cfd4e63727a80379424f3135181910d61d
Signed-off-by: Ren, Zhaohan <zhaohan.ren@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.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_H264ES.c
d7759ea983e16d417b72384666ba36534cc8506f 27-Nov-2013 Ren Zhaohan <zhaohan.ren@intel.com> Enable CIR and MaxSliceSize on TNG

BZ: 154419

This patch enable Cyclic Intra Refresh and Max Slice Size feature
on Merrifield platform.

Change-Id: I04dcf3f7534db4395bb835f19d3383f2d3ab0ea2
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
052f3dad0b4f6f0a3ef0fabdb8609dcb4d46971c 12-Nov-2013 Ren Zhaohan <zhaohan.ren@intel.com> 1. Enable Adaptive Intra Refresh
2. Remove duplicated tng__update_frametype()
3. Remove Intra Period change code, new FW will support HW command

BZ: 151403

This patch enabled AIR, use VAEncMiscParameterAIR to control AIR.

Change-Id: I0a808f4eed552381d953552b713d0a823b6b3577
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
cc399a67b8d09e1cb0e6642cf82d4af6b479f3c8 13-Nov-2013 edward lin <edward.lin@intel.com> The average bitrate exceed target bitrate in a h264_720p_60fps case

BZ: 150894

add frame rate support carefully

Change-Id: I71c4e27a2534ea758e2b37c8305a53c7b6f9a3e5
Signed-off-by: edward lin <edward.lin@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.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_H264ES.c
f0c904884b2987042e8295d1dc1745e666645f00 20-Aug-2013 Ren Zhaohan <zhaohan.ren@intel.com> Enable dynamic bitrate change

BZ: 131985

This patch enabled dynamic bitreate change

Change-Id: Ia2d4440f4a29b945f31cb942af45b55d8a592a21
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Reviewed-on: http://android.intel.com:8080/126639
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_H264ES.c
d37b3bfaf789aaa5e0222f1fbc09ef59ee3b208d 12-Aug-2013 gji2 <guoliang.ji@intel.com> Refine the force nth frame idr feature

BZ: 122760

The idr judgement logic was refined here for the old one has the problem
when case like that. Force 5th frame to be IDR and intraperiod reassign to 5,
the condition framecount%intraperiod=0 result that the 5th frame
couldn`t be change to IDR frame.

Change-Id: I5a5327ce85d493a7b0671057c45f77c33e850cc3
Signed-off-by: gji2 <guoliang.ji@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/125430
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
e34a325c4918110154176c62c4e73c56664fd3df 10-Jul-2013 gji2 <guoliang.ji@intel.com> Add new force nth frame idr feature

BZ:122760

add new force nth frame idr feature

Change-Id: I16a5850abbc8918f8c136596594db147a0305e68
Signed-off-by: gji2 <guoliang.ji@intel.com>
Reviewed-on: http://android.intel.com:8080/124440
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_H264ES.c
66160687590cb7bea186ee61d13d23704b8c17ba 21-Jul-2013 Ren Zhaohan <zhaohan.ren@intel.com> Enable disable bitstuffing

BZ: 124869

This patch enabled disable bitstuffing according to bit_stuffing_dis
option in misc RC parameters.

Change-Id: I34eb15a6023d1248aae0690aa05109b3c22db2e8
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Reviewed-on: http://android.intel.com:8080/119985
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_H264ES.c
f7e2fd14e8565af238ab58d537df352ffbd479cd 15-Jul-2013 Zhao Liang <leo.zhao@intel.com> Support setting num_unit_in_tick and time_scale

BZ: 123457

Support setting num_unit_in_tick and time_scale in H264 SPS VUI header on MRFLD

Change-Id: I064d89494a05da7e0276ed127cf06ea2035c66c8
Signed-off-by: Zhao Liang <leo.zhao@intel.com>
Reviewed-on: http://android.intel.com:8080/118906
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_H264ES.c
7fe83028016237543fd7ffb31036023398dd62b6 26-Jun-2013 pingshix <pingx.shi@intel.com> 1. vaDeriveImage() return error on reconstructed frames 2. Added tiled to linear memory conversion in vaGetImage()

BZ: 118261

This patch is submitted according to newencode test tool,reconstructed
frames is tiled format so vaDeriveImage() return error which only support
linear format. vaGetImage() should be invoked to dump reconstructed frames.

Change-Id: I170940e38302171f10d03912268c85723ea83e33
Signed-off-by: Ren Zhaohan <zhaohan.ren@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/115373
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
df925483928f572481c9743504fcc482e15f93c4 17-May-2013 Liu, Bolun <bolun.liu@intel.com> Add wrong paramters check for H264

BZ: 107410

Adding wrong paramters checking for AIR MaxNumMbs/MaxFrameRate/MinFrameRate/MaxWindowSize.
Returnint the desired value.
Fix some failed test cases.

Change-Id: I63295e7576fc1dc70c7cce99ac028449b526861e
Signed-off-by: Liu, Bolun <bolun.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/108373
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_H264ES.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_H264ES.c
d51aa094f181d181c94e845950ffeba168c8fe5a 25-Apr-2013 Liu, Bolun <bolun.liu@intel.com> Fix libva-interface-test failed cases

BZ: 103082

Implement ValidateConfig() for all of codecs.
Add VAConfigAttribEncAutoRefence/VAConfigAttribEncMaxRefFrames.

Change-Id: Ida9f902bb0c146c8b4959a69ed5376814ddf0bca
Signed-off-by: Liu, Bolun <bolun.liu@intel.com>
Reviewed-on: http://android.intel.com:8080/105189
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@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_H264ES.c
5dded681fc06f6f765840c45a5e6d57cdf79e561 11-Mar-2013 edward lin <edward.lin@intel.com> [MRFLD-VIDEO] Enable dump reconstructed frames in va_encode for Merrifield Video Encoder

BZ: 88656

This patch enabled the transferring extra-buffer as thereference/reconstruction buffer, and return the buffer index to identify which buffer is the reconstruction buffer by reserved variable.

Change-Id: I1a24d6a762a45da5ef55bb384a379a73ce7c02e8
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/96083
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
edbd1a7431edd34dfd440cc130c6816931e21dbe 05-Feb-2013 pingshix <pingx.shi@intel.com> [MRFLD-VIDEO] Implement VAConfigAttribEncAutoReference for Merrifield Video Encoder

BZ: 79128

Currently, Merrifield Video Encoder supports only auto-reference mode,
so driver would return 1.

Change-Id: I761937a8890602d4b56d2300dc8af7c1c0e1dd46
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/90473
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.c
f1b4be712bc1e4f29cc1eb85e0b2cd42f5b40841 05-Feb-2013 pingshix <pingx.shi@intel.com> Cleaned the code for removing the old interface for Merrifield Video Encoder [MRFLD-VIDEO]

BZ: 85092

Cleaned the code for removing the old interface "_TOPAZHP_OLD_LIBVA_"
for H264ES, and command parts.

Change-Id: I8ac0586b655470b81cb1480062bc95ee70253adf
Signed-off-by: pingshix <pingx.shi@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/90211
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_H264ES.c
13149b728d681c33e036a3e26b1b61d5a8b78204 22-Jan-2013 edward lin <edward.lin@intel.com> updating the slice parameters processing for Merrifield Video Encoder

BZ: 77241

updating slice parameters processing function to be compatible for Medfield Slice parameters structure.
fixed some bugs for psb-video under all I frames mode for some floating error.
modified the value IdrPeriod/IntraPeriod/IpPeriod checking part
finished the fixing work.
please note:
the ip_period should be the count of B frames.[1, 4]

this patch contains several other BZ's patch.

Change-Id: Id156d895e0cb5b318f091fd17cbfaacea348d892
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/88044
Reviewed-by: cactus <cactus@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.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_H264ES.c
d22d044ca1d9898843c35944ef93cfa89e1a088a 06-Jan-2013 pingshix <pingx.shi@intel.com> [MRFLD-VIDEO] Critical klocwork issues of Merrifield Video Encoder User-Space Driver

BZ: 77674

Critical klocwork issues of Merrifield Video Encoder User-Space Driver
I fixed the critical klocwork errors and delete the macro
_TOPAZHP_VIR_ADDR_ which used for debugging.

Change-Id: Ic7b8f86a4a8b718f787953fd6cbca842a16df2da
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: pingshix <pingx.shi@intel.com>
Reviewed-on: http://android.intel.com:8080/85163
Reviewed-by: cactus <cactus@intel.com>
Tested-by: cactus <cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.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_H264ES.c
8db61a0583ecc81f700e0cf13631b21f0b774a73 31-Oct-2012 hding3 <haitao.ding@intel.com> open-source code confidential for Merrifield video encoder [MRFLD-VIDEO].

BZ: 65045

deleted the register define header file, topazhp_core_regs.h.
And modified some confidential registers' definition for user-space driver.

Change-Id: Id8a3f23e115dc298a09bc9dc3ea7e32467ced4e6
Signed-off-by: edward lin <edward.lin@intel.com>
Signed-off-by: hding3 <haitao.ding@intel.com>
Reviewed-on: http://android.intel.com:8080/72299
Reviewed-by: buildbot <buildbot@intel.com>
Reviewed-by: Shi, PingX <pingx.shi@intel.com>
Tested-by: Shi, PingX <pingx.shi@intel.com>
Reviewed-by: lab_cactus <lab_cactus@intel.com>
Tested-by: lab_cactus <lab_cactus@intel.com>
/hardware/intel/img/psb_video/src/tng_H264ES.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_H264ES.c
3555dc0ba3228c512cb7f6c7348e68589070a983 10-Sep-2012 hding3 <haitao.ding@intel.com> psb-video code checkin for below BZ fixing [MRFLD-VIDEO].

BZ: 46156 46985 37563 45878 44851 45455

BZ: 44994 - [PORT FROM R3] remove ci_va.h and related code
BZ: 46985 - Blocky image on 1080p3_848x480_low_1000Kbps.mp4
BZ: 37563 - psb-video: fix some h264 ES clip CRC issue
BZ: 46156 - Restore VAImage structrue for binary compatible
BZ: 44851 - Set CACHED flag to external user buffer
BZ: 45878 - Merrifield H264 encoder does not support changing bitrate dynamically under VCM mode
Use extra_offset and extra_pitch for the 4th plane
BZ: 45455 - fix jag issue during one 1080i clip playback

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