Blame channels/tsmf/client/tsmf_types.h

Packit 1fb8d4
/**
Packit 1fb8d4
 * FreeRDP: A Remote Desktop Protocol Implementation
Packit 1fb8d4
 * Video Redirection Virtual Channel - Types
Packit 1fb8d4
 *
Packit 1fb8d4
 * Copyright 2010-2011 Vic Lee
Packit 1fb8d4
 *
Packit 1fb8d4
 * Licensed under the Apache License, Version 2.0 (the "License");
Packit 1fb8d4
 * you may not use this file except in compliance with the License.
Packit 1fb8d4
 * You may obtain a copy of the License at
Packit 1fb8d4
 *
Packit 1fb8d4
 *     http://www.apache.org/licenses/LICENSE-2.0
Packit 1fb8d4
 *
Packit 1fb8d4
 * Unless required by applicable law or agreed to in writing, software
Packit 1fb8d4
 * distributed under the License is distributed on an "AS IS" BASIS,
Packit 1fb8d4
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit 1fb8d4
 * See the License for the specific language governing permissions and
Packit 1fb8d4
 * limitations under the License.
Packit 1fb8d4
 */
Packit 1fb8d4
Packit 1fb8d4
#ifndef FREERDP_CHANNEL_TSMF_CLIENT_TYPES_H
Packit 1fb8d4
#define FREERDP_CHANNEL_TSMF_CLIENT_TYPES_H
Packit 1fb8d4
Packit 1fb8d4
#ifdef HAVE_CONFIG_H
Packit 1fb8d4
#include "config.h"
Packit 1fb8d4
#endif
Packit 1fb8d4
Packit 1fb8d4
#include <freerdp/dvc.h>
Packit 1fb8d4
#include <freerdp/types.h>
Packit 1fb8d4
#include <freerdp/channels/log.h>
Packit 1fb8d4
Packit 1fb8d4
#define TAG CHANNELS_TAG("tsmf.client")
Packit 1fb8d4
Packit 1fb8d4
#ifdef WITH_DEBUG_TSMF
Packit 1fb8d4
#define DEBUG_TSMF(...) WLog_DBG(TAG, __VA_ARGS__)
Packit 1fb8d4
#else
Packit 1fb8d4
#define DEBUG_TSMF(...) do { } while (0)
Packit 1fb8d4
#endif
Packit 1fb8d4
Packit 1fb8d4
typedef struct _TS_AM_MEDIA_TYPE
Packit 1fb8d4
{
Packit 1fb8d4
	int MajorType;
Packit 1fb8d4
	int SubType;
Packit 1fb8d4
	int FormatType;
Packit 1fb8d4
Packit 1fb8d4
	UINT32 Width;
Packit 1fb8d4
	UINT32 Height;
Packit 1fb8d4
	UINT32 BitRate;
Packit 1fb8d4
	struct
Packit 1fb8d4
	{
Packit 1fb8d4
		UINT32 Numerator;
Packit 1fb8d4
		UINT32 Denominator;
Packit 1fb8d4
	} SamplesPerSecond;
Packit 1fb8d4
	UINT32 Channels;
Packit 1fb8d4
	UINT32 BitsPerSample;
Packit 1fb8d4
	UINT32 BlockAlign;
Packit 1fb8d4
	const BYTE* ExtraData;
Packit 1fb8d4
	UINT32 ExtraDataSize;
Packit 1fb8d4
} TS_AM_MEDIA_TYPE;
Packit 1fb8d4
Packit 1fb8d4
#endif /* FREERDP_CHANNEL_TSMF_CLIENT_TYPES_H */
Packit 1fb8d4