Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
ffmpeg_compat.h File Reference

Provides nxdk compatibility shims for the FFmpeg Xbox build. More...

#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <wchar.h>
Include dependency graph for ffmpeg_compat.h:

Go to the source code of this file.

Macros

#define access   moonlight_nxdk_ffmpeg_access
 Redirect access to the nxdk FFmpeg compatibility shim.
 
#define close   moonlight_nxdk_ffmpeg_close
 Redirect close to the nxdk FFmpeg compatibility shim.
 
#define CP_ACP   0U
 Windows ANSI code-page identifier used by FFmpeg path conversion code.
 
#define CP_UTF8   65001U
 Windows UTF-8 code-page identifier used by FFmpeg path conversion code.
 
#define ENOSYS   38
 Error code used when an FFmpeg compatibility operation is unsupported.
 
#define F_SETFD   2
 fcntl command placeholder used by FFmpeg close-on-exec setup.
 
#define fcntl   moonlight_nxdk_ffmpeg_fcntl
 Redirect fcntl to the nxdk FFmpeg compatibility shim.
 
#define FD_CLOEXEC   1
 close-on-exec descriptor flag placeholder for FFmpeg builds.
 
#define fdopen   moonlight_nxdk_ffmpeg_fdopen
 Redirect fdopen to the nxdk FFmpeg compatibility shim.
 
#define GetFullPathNameW   moonlight_nxdk_ffmpeg_GetFullPathNameW
 Redirect GetFullPathNameW to the nxdk FFmpeg compatibility shim.
 
#define isatty   moonlight_nxdk_ffmpeg_isatty
 Redirect isatty to the nxdk FFmpeg compatibility shim.
 
#define MB_ERR_INVALID_CHARS   0x00000008UL
 Windows multibyte conversion validation flag used by FFmpeg.
 
#define mkstemp   moonlight_nxdk_ffmpeg_mkstemp
 Redirect mkstemp to the nxdk FFmpeg compatibility shim.
 
#define MultiByteToWideChar   moonlight_nxdk_ffmpeg_MultiByteToWideChar
 Redirect MultiByteToWideChar to the nxdk FFmpeg compatibility shim.
 
#define O_BINARY   0
 Binary-open flag placeholder for nxdk file APIs.
 
#define open   moonlight_nxdk_ffmpeg_open
 Redirect open to the nxdk FFmpeg compatibility shim.
 
#define strerror_r   moonlight_nxdk_ffmpeg_strerror_r
 Redirect strerror_r to the nxdk FFmpeg compatibility shim.
 
#define tempnam   moonlight_nxdk_ffmpeg_tempnam
 Redirect tempnam to the nxdk FFmpeg compatibility shim.
 
#define usleep   moonlight_nxdk_ffmpeg_usleep
 Redirect usleep to the nxdk FFmpeg compatibility shim.
 
#define WC_ERR_INVALID_CHARS   0x00000080UL
 Windows wide-character conversion validation flag used by FFmpeg.
 
#define WideCharToMultiByte   moonlight_nxdk_ffmpeg_WideCharToMultiByte
 Redirect WideCharToMultiByte to the nxdk FFmpeg compatibility shim.
 

Detailed Description

Provides nxdk compatibility shims for the FFmpeg Xbox build.