[x264-devel] msvs: WinRT support

Henrik Gramner git at videolan.org
Tue Apr 12 20:36:14 CEST 2016


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sun Jan 24 01:48:18 2016 +0100| [dd6b7b974e0057da726f71e10c24d057a339605b] | committer: Henrik Gramner

msvs: WinRT support

To compile x264 for WinRT the following additional steps has to be performed.

 * Ensure that the necessary SDK is installed.

 * Set the correct environment variables in the VS command prompt as shown at
   https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT

 * Add one of the following to --extra-cflags depending on the target OS:
   "-DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0A00" (Windows 10)
   "-DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP -D_WIN32_WINNT=0x0603" (Windows 8.1)

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=dd6b7b974e0057da726f71e10c24d057a339605b
---

 common/osdep.c       |    2 +
 common/osdep.h       |   12 +++--
 common/win32thread.c |  124 +++++++++++++++++++++++++++++++++++---------------
 common/win32thread.h |    8 ++--
 configure            |   17 ++++++-
 5 files changed, 118 insertions(+), 45 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/x264.git/?a=commitdiff;h=dd6b7b974e0057da726f71e10c24d057a339605b


More information about the x264-devel mailing list