FreeRDP
|
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/syscall.h>
#include <unistd.h>
#include <fcntl.h>
#include <string.h>
#include <err.h>
#include <errno.h>
#include <winpr/thread.h>
#include <winpr/string.h>
#include <winpr/platform.h>
#include <gst/gst.h>
#include <gst/interfaces/xoverlay.h>
#include <X11/Xlib.h>
#include <X11/extensions/Xrandr.h>
#include <X11/extensions/shape.h>
#include <freerdp/channels/tsmf.h>
#include "tsmf_platform.h"
#include "tsmf_constants.h"
#include "tsmf_decoder.h"
Functions | |
static const char * | get_shm_id () |
static GstBusSyncReply | tsmf_platform_bus_sync_handler (GstBus *bus, GstMessage *message, gpointer user_data) |
const char * | tsmf_platform_get_video_sink (void) |
const char * | tsmf_platform_get_audio_sink (void) |
int | tsmf_platform_create (TSMFGstreamerDecoder *decoder) |
int | tsmf_platform_set_format (TSMFGstreamerDecoder *decoder) |
int | tsmf_platform_register_handler (TSMFGstreamerDecoder *decoder) |
int | tsmf_platform_free (TSMFGstreamerDecoder *decoder) |
int | tsmf_window_create (TSMFGstreamerDecoder *decoder) |
int | tsmf_window_resize (TSMFGstreamerDecoder *decoder, int x, int y, int width, int height, int nr_rects, RDP_RECT *rects) |
int | tsmf_window_map (TSMFGstreamerDecoder *decoder) |
int | tsmf_window_unmap (TSMFGstreamerDecoder *decoder) |
int | tsmf_window_destroy (TSMFGstreamerDecoder *decoder) |
|
static |
|
static |
int tsmf_platform_create | ( | TSMFGstreamerDecoder * | decoder | ) |
int tsmf_platform_free | ( | TSMFGstreamerDecoder * | decoder | ) |
const char* tsmf_platform_get_audio_sink | ( | void | ) |
const char* tsmf_platform_get_video_sink | ( | void | ) |
int tsmf_platform_register_handler | ( | TSMFGstreamerDecoder * | decoder | ) |
int tsmf_platform_set_format | ( | TSMFGstreamerDecoder * | decoder | ) |
int tsmf_window_create | ( | TSMFGstreamerDecoder * | decoder | ) |
int tsmf_window_destroy | ( | TSMFGstreamerDecoder * | decoder | ) |
int tsmf_window_map | ( | TSMFGstreamerDecoder * | decoder | ) |
int tsmf_window_resize | ( | TSMFGstreamerDecoder * | decoder, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
int | nr_rects, | ||
RDP_RECT * | rects | ||
) |
int tsmf_window_unmap | ( | TSMFGstreamerDecoder * | decoder | ) |