469866b6c9
As the PP series has no sense of cache coherency between its multiple cores, we need to ensure the vo_data structure does not share cachelines with anything else. This was previously done by defining a uint8_t array and trying to access it via typecasting hell, triggering a large pile of aliasing violation warnings on newer toolchains and/or higher optimization levels. Instead of violating the C spec in an undefined-behaviour-sort-of-way, create a union of the right size and alignment, and make one of its members the structure we care about. Voila, everyone is happy. Change-Id: Iad78f8132225437cd4aa10e6e5f6ae58ba996c19 |
||
---|---|---|
.. | ||
libmpeg2 | ||
alloc.c | ||
audio_thread.c | ||
disk_buf.c | ||
disk_buf.h | ||
mpeg_alloc.h | ||
mpeg_misc.c | ||
mpeg_misc.h | ||
mpeg_parser.c | ||
mpeg_settings.c | ||
mpeg_settings.h | ||
mpeg_stream.h | ||
mpegplayer.c | ||
mpegplayer.h | ||
mpegplayer.make | ||
parser.h | ||
pcm_output.c | ||
pcm_output.h | ||
SOURCES | ||
stream_mgr.c | ||
stream_mgr.h | ||
stream_thread.h | ||
video_out.h | ||
video_out_rockbox.c | ||
video_thread.c |