Go to file
Frediano Ziglio bb8d75bf31 canvas_base: Avoid misaligned access decoding LZ4 data
Make code faster on platforms not supporting unaligned access by
default.
SPICE_UNALIGNED_CAST is just silencing possible alignment warning and,
if enabled, produces some logs, however in this case we know that the
pointer can be misaligned.
Use packed structures to tell compiler to generate best code possible.
For more details see comment on commit 74e50b57ae ("Make the
compiler work out better way to write unaligned memory").

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
2018-07-05 09:38:30 +01:00
build-aux build-sys: make it a seperately buildable spice-common library 2012-03-22 20:21:05 +01:00
common canvas_base: Avoid misaligned access decoding LZ4 data 2018-07-05 09:38:30 +01:00
docs build: Remove docs/.gitignore 2018-06-18 14:08:07 +01:00
m4 build: Remove checks for functions which are never called 2018-06-05 14:10:14 +01:00
python_modules ptypes: Improve some attribute documentation 2018-06-27 21:51:42 +01:00
tests test-region: Decrease loop count by a factor of 10 2018-07-03 11:43:24 -03:00
.gitlab-ci.yml Update gitlab-ci to use meson 2018-07-03 11:30:55 -03:00
.gitmodules Remove spice-protocol submodule 2015-08-11 10:26:06 +02:00
autogen.sh Remove files moved to spice-protocol 2015-08-11 10:26:06 +02:00
configure.ac build: Remove bitops.h 2018-06-05 14:10:22 +01:00
COPYING Remove trailing whitespace 2015-12-18 11:41:15 +01:00
git.mk build: Update git.mk to latest version 2018-06-18 14:08:03 +01:00
Makefile.am Add support for building with meson/ninja 2018-06-01 21:27:04 +01:00
meson_options.txt meson: Remove '(default: xxx)' from option description 2018-07-05 10:37:35 +02:00
meson.build meson: Cleanup optional dependency checks 2018-06-29 16:25:14 -03:00
spice1.proto Revert "Remove files moved to spice-protocol" 2016-03-10 16:01:36 +01:00
spice_codegen.py codegen: Fix license name 2017-05-18 16:40:36 +01:00
spice.proto protocol: Add support for h265 video codec 2018-06-19 15:29:27 +01:00