[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-datatype-cvs
Subject: [Datatype-cvs] mpeg2ts/stream Umakefil, NONE, 1.1 guids.cpp, NONE,
From: jgordon () helixcommunity ! org
Date: 2011-02-23 22:41:37
Message-ID: 201102232241.p1NMfSWk015276 () mailer ! progressive-comp ! com
[Download RAW message or body]
Update of /cvsroot/datatype/mpeg2ts/stream
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv5432
Added Files:
Umakefil guids.cpp tsstreamff.cpp tsstreamff.ver win.pcf
Log Message:
Synopsis
========
Adds a plugin to support raw TS streams
Branches: PRODUCER_14_0_RN, HEAD
Reviewer: qluo
Description
===========
A file format plugin for raw (UDP/multicast) TS streams.
A lot like the TS file format plugin (for files) but it
reads from a socket instead of a file. :)
TODO: loss and out-of-order packet handling, timeouts,
possible buffer management updates
Files Affected
==============
datatype/mpeg2ts/demuxer/Umakefil
datatype/mpeg2ts/demuxer/tsdemuxer.cpp
datatype/mpeg2ts/demuxer/pub/tsdemuxer.h
new:
datatype/mpeg2ts/stream/tsstreamff.cpp
datatype/mpeg2ts/stream/pub/tsstreamff.h
datatype/mpeg2ts/stream/guids.cpp
datatype/mpeg2ts/stream/Umakefil
datatype/mpeg2ts/stream/win.pcf
datatype/mpeg2ts/stream/platform/win/tsstreamff.rc
datatype/mpeg2ts/stream/pub/tsstreamff.ver
--- NEW FILE: win.pcf ---
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: win.pcf,v 1.1 2011/02/23 22:41:35 jgordon Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
#
# The contents of this file, and the files included with this file,
# are subject to the current version of the RealNetworks Public
# Source License (the "RPSL") available at
# http://www.helixcommunity.org/content/rpsl unless you have licensed
# the file under the current version of the RealNetworks Community
# Source License (the "RCSL") available at
# http://www.helixcommunity.org/content/rcsl, in which case the RCSL
# will apply. You may also obtain the license terms directly from
# RealNetworks. You may not use this file except in compliance with
# the RPSL or, if you have a valid RCSL with RealNetworks applicable
# to this file, the RCSL. Please see the applicable RPSL or RCSL for
# the rights, obligations and limitations governing use of the
# contents of the file.
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 (the
# "GPL") in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your version of
# this file only under the terms of the GPL, and not to allow others
# to use your version of this file under the terms of either the RPSL
# or RCSL, indicate your decision by deleting the provisions above
# and replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient may
# use your version of this file under the terms of any one of the
# RPSL, the RCSL or the GPL.
#
# This file is part of the Helix DNA Technology. RealNetworks is the
# developer of the Original Code and owns the copyrights in the
# portions it created.
#
# This file, and the files included with this file, is distributed
# and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY
# KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS
# ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
# ENJOYMENT OR NON-INFRINGEMENT.
#
# Technology Compatibility Kit Test Suite(s) Location:
# http://www.helixcommunity.org/content/tck
#
# Contributor(s):
#
# ***** END LICENSE BLOCK *****
#
project.AddSources("platform/win/tsstreamff.rc")
project.AddSystemLibraries("version.lib",
"kernel32.lib",
"user32.lib",
"advapi32.lib")
--- NEW FILE: tsstreamff.cpp ---
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: tsstreamff.cpp,v 1.1 2011/02/23 22:41:35 jgordon Exp $
*
* Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version of the RealNetworks Public
* Source License (the "RPSL") available at
* http://www.helixcommunity.org/content/rpsl unless you have licensed
* the file under the current version of the RealNetworks Community
* Source License (the "RCSL") available at
* http://www.helixcommunity.org/content/rcsl, in which case the RCSL
* will apply. You may also obtain the license terms directly from
* RealNetworks. You may not use this file except in compliance with
* the RPSL or, if you have a valid RCSL with RealNetworks applicable
* to this file, the RCSL. Please see the applicable RPSL or RCSL for
* the rights, obligations and limitations governing use of the
* contents of the file.
*
[...1077 lines suppressed...]
}
// timebase is 90k
pStreamHeader->SetPropertyULONG32("SamplesPerSecond", 90000);
}
// add stream specific values to the stream header
if (SUCCEEDED(retVal))
{
retVal = m_pTSDemuxer->PrepareStreamHeader(streamNo, pStreamHeader);
if (FAILED(retVal))
{
HX_RELEASE(pStreamHeader);
}
}
}
return retVal;
}
--- NEW FILE: tsstreamff.ver ---
/* THIS FILE IS GENERATED BY THE BUILD SYSTEM -- DO NOT EDIT
* Copyright (C) 1997-2008 RealNetworks Corporation. All rights reserved.
*/
#ifdef _MACINTOSH
#define TARVER_ULONG32_VERSION ((14 << 28) | (0 << 20) | (0 << 12) | 0)
#define TARVER_ULONG64_VERSION ((14 << 48) | (0 << 32) | (0 << 16) | 0)
#else
#define TARVER_ULONG32_VERSION (UINT32)(((UINT32)14 << 28) | ((UINT32)0 << 20) | ((UINT32)0 << 12) | 0)
#define TARVER_ULONG64_VERSION (UINT64)(((UINT64)14 << 48) | ((UINT64)0 << 32) | ((UINT64)0 << 16) | 0)
#endif
#define TARVER_LIST_VERSION 14,0,0,0
#define TARVER_MAJOR_VERSION 14
#define TARVER_MINOR_VERSION 0
#define TARVER_RELEASE_VERSION 0
#define TARVER_BUILD_VERSION 0
#define TARVER_STRING_VERSION "14.0.0.0"
#define TARVER_STR_BUILD_NAME ""
--- NEW FILE: Umakefil ---
#
# ***** BEGIN LICENSE BLOCK *****
# Source last modified: $Id: Umakefil,v 1.1 2011/02/23 22:41:35 jgordon Exp $
#
# Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
#
# The contents of this file, and the files included with this file,
# are subject to the current version of the RealNetworks Public
# Source License (the "RPSL") available at
# http://www.helixcommunity.org/content/rpsl unless you have licensed
# the file under the current version of the RealNetworks Community
# Source License (the "RCSL") available at
# http://www.helixcommunity.org/content/rcsl, in which case the RCSL
# will apply. You may also obtain the license terms directly from
# RealNetworks. You may not use this file except in compliance with
# the RPSL or, if you have a valid RCSL with RealNetworks applicable
# to this file, the RCSL. Please see the applicable RPSL or RCSL for
# the rights, obligations and limitations governing use of the
# contents of the file.
#
# Alternatively, the contents of this file may be used under the
# terms of the GNU General Public License Version 2 (the
# "GPL") in which case the provisions of the GPL are applicable
# instead of those above. If you wish to allow use of your version of
# this file only under the terms of the GPL, and not to allow others
# to use your version of this file under the terms of either the RPSL
# or RCSL, indicate your decision by deleting the provisions above
# and replace them with the notice and other provisions required by
# the GPL. If you do not delete the provisions above, a recipient may
# use your version of this file under the terms of any one of the
# RPSL, the RCSL or the GPL.
#
# This file is part of the Helix DNA Technology. RealNetworks is the
# developer of the Original Code and owns the copyrights in the
# portions it created.
#
# This file, and the files included with this file, is distributed
# and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY
# KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS
# ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
# ENJOYMENT OR NON-INFRINGEMENT.
#
# Technology Compatibility Kit Test Suite(s) Location:
# http://www.helixcommunity.org/content/tck
#
# Contributor(s):
#
# ***** END LICENSE BLOCK *****
#
UmakefileVersion(2,2)
project.AddModuleIncludes("common/include")
project.AddSources("tsstreamff.cpp",
"guids.cpp")
project.AddModuleLibraries("common/container[contlib]",
"common/dbgtool[debuglib]",
"common/fileio[fileiolib]",
"common/runtime[runtlib]",
"common/system[syslib]",
"common/util[utillib]",
"common/log/logutil[logutillib]",
"common/netio[netiolib]",
"datatype/mpeg2ts/demuxer[tsdemuxerlib]")
project.ExportFunction("RMACreateInstance",
"IUnknown** ppObj",
"common/include",
"hxcom.h")
project.ExportFunction("CanUnload", "void")
project.ExportFunction("RMAShutdown", "void")
DLLTarget("tsstream")
DependTarget()
--- NEW FILE: guids.cpp ---
/* ***** BEGIN LICENSE BLOCK *****
* Source last modified: $Id: guids.cpp,v 1.1 2011/02/23 22:41:35 jgordon Exp $
*
* Portions Copyright (c) 1995-2004 RealNetworks, Inc. All Rights Reserved.
*
* The contents of this file, and the files included with this file,
* are subject to the current version of the RealNetworks Public
* Source License (the "RPSL") available at
* http://www.helixcommunity.org/content/rpsl unless you have licensed
* the file under the current version of the RealNetworks Community
* Source License (the "RCSL") available at
* http://www.helixcommunity.org/content/rcsl, in which case the RCSL
* will apply. You may also obtain the license terms directly from
* RealNetworks. You may not use this file except in compliance with
* the RPSL or, if you have a valid RCSL with RealNetworks applicable
* to this file, the RCSL. Please see the applicable RPSL or RCSL for
* the rights, obligations and limitations governing use of the
* contents of the file.
*
* Alternatively, the contents of this file may be used under the
* terms of the GNU General Public License Version 2 (the
* "GPL") in which case the provisions of the GPL are applicable
* instead of those above. If you wish to allow use of your version of
* this file only under the terms of the GPL, and not to allow others
* to use your version of this file under the terms of either the RPSL
* or RCSL, indicate your decision by deleting the provisions above
* and replace them with the notice and other provisions required by
* the GPL. If you do not delete the provisions above, a recipient may
* use your version of this file under the terms of any one of the
* RPSL, the RCSL or the GPL.
*
* This file is part of the Helix DNA Technology. RealNetworks is the
* developer of the Original Code and owns the copyrights in the
* portions it created.
*
* This file, and the files included with this file, is distributed
* and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY
* KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS
* ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
* ENJOYMENT OR NON-INFRINGEMENT.
*
* Technology Compatibility Kit Test Suite(s) Location:
* http://www.helixcommunity.org/content/tck
*
* Contributor(s):
*
* ***** END LICENSE BLOCK ***** */
#define INITGUID 1
#include "hxcom.h"
#include "hxcomm.h"
#include "hxiids.h"
#include "hxpiids.h"
#undef INITGUID
_______________________________________________
Datatype-cvs mailing list
Datatype-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/datatype-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic