• R/O
  • HTTP
  • SSH
  • HTTPS

List of commits

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

hardware/intel/intel-driver


RSS
Rev. Tiempo Autor
edbb8cd 2014-11-19 22:13:18 Sirisha Muppavarapu

JPEG Encode: Added JPEG Encode feature support for gen8

(cherry picked from commit d2984892694e2da72059419667e8839cb9513854)

228bc30 2014-11-19 22:13:06 Sirisha Muppavarapu

JPEG Encode: Bypass VME for JPEG Encode

(cherry picked from commit 2910b0ca5357d871d1d8d60b05aeab24218eb2e9)

352d135 2014-11-19 22:12:54 Sirisha Muppavarapu

JPEG Encode: Added support for JPEG Encode in the driver.

(cherry picked from commit 14efb88b0f421c543b56cd73ab425a943e46f88f)

b66b860 2014-11-19 22:12:34 Sreerenj Balachandran

encoder: h264: Fix skip_emul_byte_count while inserting SEI header

The skip_emul_byte_count should include the start code and nal_unit
type, which is equl to five when the driver insert SEI headers.

(cherry picked from commit 68600bfd73c9190091a79330ada7f7be3d58757b)

8e34fb3 2014-11-17 10:24:55 Zhao, Yakui

Rendering: Align the origin coordinate of internal buffer during AVS conversion to fix greenline

The video post-processing is based on 16x16 and will be called by vaPutsurface
under some scenario. But Sometimes the region of internal buffer is not
aligned during VPP AVS conversion. In such case the greenline will appear on
some regions.

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>

b98dc44 2014-11-14 17:49:30 Xiang, Haihao

Bump version to 1.4.2.pre1

Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 0428d5285f2c4f3013ad7f1c007cca4122dac124)

Conflicts:
configure.ac

4bdbc1e 2014-11-11 19:57:19 Gwenole Beauchesne

vpp: fix check for non-linear anamorphic scaling on Sandybridge.

Fix pp_nv12_avs_initialize() to disable non-linear anamorphic scaling
when not actually requested on Sandybridge. This is now the main entry
point for advanced video scaling there, so the actual scaling mode is
checked for beforehand.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

32de8cf 2014-11-11 19:57:19 Gwenole Beauchesne

vpp: enable advanced video scaling in VPP pipelines too.

Honour advanced video scaling. i.e. propagate vaPutSurface() scaling
flags, but also VPP filter flags. Also enable the sharp 8x8 filter for
high-quality scaling options, while adaptive video scaling is disabled
(bypassed) for now.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

d491750 2014-11-11 19:57:18 Gwenole Beauchesne

vpp: drop internal postprocessing (I965_PP_xxx) flags.

Exclusively use VA-API defined video processing flags, instead of yet
redefining another set with limited use. This means that we can use
scaling, colorspace and picture structure flags as is, without an extra
layer of conversion.

Drop I965_PP_FLAG_MCDI (motion compensated deinterlacing), which was
never set. Dropped the associated dead code, which was never used. And,
anyway, advanced deinterlacing modes shall go through the explcit VPP
interfaces.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

6af907d 2014-11-11 19:57:18 Gwenole Beauchesne

vpp: cache calculation of AVS coefficients.

If scaling parameters don't change, i.e. if the same scaling algorithm
and factors are used, there is no point in calculating the filter
coefficients again. So, just cache them into the existing AVS context.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

2311346 2014-11-11 19:57:18 Gwenole Beauchesne

vpp: validate AVS filter coefficients for debugging purposes.

Make sure the newly calculated filter coefficients fall into the HW
accepted range of values. This normally should not be an issue with
the current configuration / scaling algorithms though.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

40ff4c2 2014-11-11 19:57:18 Gwenole Beauchesne

vpp: add support for high-quality scaling.

Add support for high-quality scaling during video processing. This is
enabled with the VA_FILTER_SCALING_HQ filter flag. The algorithm used
for that is based on a Lanczos convolution kernel: 3 lobes on either
side for luma samples, and 2 lobes on either side for chroma samples.

v2: fixed rounding precision for normalized coefficients.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

4f499df 2014-11-11 19:57:18 Gwenole Beauchesne

vpp: factor out calculation of AVS coefficients.

Split calculation of AVS coefficients into separate helper functions
in view to supporting alternate algorithms, but we stick to bilinear
interpolation for now.

Actually fix bilinear filtering coefficients if the sharp 8x8 filter
is used. This is still disabled by default though.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

c93934d 2014-11-11 19:57:18 Gwenole Beauchesne

vpp: fix AVS coefficients for Broadwell.

Fix AVS filter coefficients for Broadwell. At least, we now address
the expected entry in the table but the actual value is still not
viable enough.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

a75ba78 2014-11-11 19:57:18 Gwenole Beauchesne

vpp: fix adaptive filter for all channels flag (< Haswell).

The "Adaptive filter for all channels" bit for AVS on Ironlake up to
including Ivybridge/Baytrail is not located in DW137, but rather in
the first table of coefficients for chroma samples.

Thus, split the SAMPLER_STATE_8x8 message DW137 into parts relevant
to Haswell and newer generations ("hsw"), and to the legacy platforms
down to Ironlake ("ilk").

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

1eb21eb 2014-11-11 13:28:30 Zhao Yakui

Add one hook list to disable encoding on some Ivybridge machines

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ram Mohan Satyanarayana <ram.mohanx.satyanarayana@intel.com>
(cherry picked from commit 71a431b04ea04b93ba8f32e95fa545b30726bf59)

04c0dcc 2014-11-11 13:28:28 Zhao Yakui

Add one hook list to disable encoding on some Sandybridge machines

Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Signed-off-by: Daniel Charles <daniel.charles@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Signed-off-by: Ram Mohan Satyanarayana <ram.mohanx.satyanarayana@intel.com>
(cherry picked from commit 080784f57f48c517d7a672b23b6d07278b232660)

85fe1a6 2014-11-10 10:59:33 Emil Velikov

Add final header to fix 'make dist'

Add the autogenerated header wayland-drm-client-protocol.h to
noinst_HEADERS thus silence 'make distcheck' about about it being
left out.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

a07a257 2014-11-10 10:59:33 Emil Velikov

Use python2 to execute gpp.py

Under Archlinux python points to python3, which results in
assertion while generating the gen5-6 files.

make[5]: Entering directory

'/home/emil/development/intel-driver/src/shaders/post_processing/gen5_6'
GEN nv12_avs_nv12.g5s
Traceback (most recent call last):
File "../../../../src/shaders/gpp.py", line 200, in <module>
writeblocks(outfile, blocks)
File "../../../../src/shaders/gpp.py", line 168, in writeblocks
do_writeblock(block, [])
File "../../../../src/shaders/gpp.py", line 161, in do_writeblock
while check_cond(block.param_op, for_curs[0], block.param_limit):
File "../../../../src/shaders/gpp.py", line 139, in check_cond
assert type(lim) == int
AssertionError
GEN nv12_avs_nv12.g4b.gen5
nv12_avs_nv12.g5s: 1: syntax error at ""
Makefile:617: recipe for target 'nv12_avs_nv12.g4b.gen5' failed

Check at configure time for python2, and fall-back to python.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

70417ac 2014-11-10 10:59:33 Emil Velikov

Do not overlink i965_drv_video

The va backend does not use any of the libva functions.
As such there is no need to link against it.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

0cad5a2 2014-11-10 10:59:33 Emil Velikov

post-processing: fix out of tree builds

- add missing prefix for gpp.py
- include the source directories, rather than the build ones.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

8f5443a 2014-11-10 10:59:33 Emil Velikov

shaders: fix out of tree builds

- correctly set include dir
- prefix the file 'list' - it's located in the source folder
- add missing prefix for gpp.py

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

9e66b49 2014-11-10 10:59:33 Emil Velikov

debian: cleanup control & changelog on 'make dist'

Move the files from maintainer~ to dist(cleanfiles)
The former is implicitly included by the latter. 'make dist' is not
fully working yet this brings us a step closer.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

6a29110 2014-11-10 10:59:33 Emil Velikov

configure: use ${libdir} over the hardcoded /usr/lib

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

3a5eb02 2014-11-10 10:59:33 Emil Velikov

configure: use top_builddir for wayland_scanner_rules

Autotools already copies the files appropriately, and using
top_srcdir causes the files to be generated in the source
tree rather than the build one.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

b527e03 2014-11-10 10:59:33 Emil Velikov

autogen.sh: fix out of tree invocation

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>

24cba20 2014-10-31 01:54:05 Zhao Yakui

Call preinit_hw_codec callback after successful initialization to avoid segment fault issue on unsupported platform

Reported-by: Nicholas Andrade <sdnick484@yahoo.com>
Tested-by: Nicholas Andrade <sdnick484@yahoo.com>
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit 12d1be8fee694f60698e2ce277afff89d029f836)

d25d9ae 2014-10-28 19:37:37 Gwenole Beauchesne

vebox: fix denoising when IECP is enabled.

If IECP is enabled, for instance when color conversion is performed
or ProcAmp adjustments are applied, the ultimate denoised output with
additional processing operations applied is the Current Output frame,
not the plain Current Denoised Output frame.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

8ba3655 2014-10-28 19:37:37 Gwenole Beauchesne

vebox: fix memory leak of VEBOX state tables.

This occurs after a while (~10-20 minutes) when video processing is
used, and deinterlacing in particular. At some point, GPU memory is
exhausted and we start error'ing out to upper layers.

https://bugzilla.gnome.org/show_bug.cgi?id=731460#c31

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>

16fad11 2014-10-28 19:37:37 Gwenole Beauchesne

vebox: use Y-tiling for internal VEBOX surfaces.

Always use Y-tiling in native surface format for performance reasons.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>