[Common-cvs] include ihxvideostatobserver.h, NONE, 1.1 hxiids.h, 1.188, 1.189

[Common-cvs] include ihxvideostatobserver.h, NONE, 1.1 hxiids.h, 1.188, 1.189

qluo at helixcommunity.org qluo at helixcommunity.org
Tue Jan 3 21:00:29 UTC 2012


Update of /cvsroot/common/include
In directory cvs01.internal.helixcommunity.org:/tmp/cvs-serv29671

Modified Files:
	hxiids.h 
Added Files:
	ihxvideostatobserver.h 
Log Message:
add IHXVideoStatObserver interface.


Index: hxiids.h
===================================================================
RCS file: /cvsroot/common/include/hxiids.h,v
retrieving revision 1.188
retrieving revision 1.189
diff -u -d -r1.188 -r1.189
--- hxiids.h	6 Nov 2011 23:42:54 -0000	1.188
+++ hxiids.h	3 Jan 2012 21:00:26 -0000	1.189
@@ -2301,6 +2301,10 @@
 DEFINE_GUID_ENUM(IID_IHXFastStartControl, 0xfe3b6c99, 0x47d4, 0x4478, 0x8f, 0x77, 0x71, 0x2a, 0xa1, 0xb8, 0xf5, 0x30)
 #endif
 
+#if ( !defined(_IHXVIDEOSTATOBSERVER_H_) || !defined(HELIX_FEATURE_FULLGUID) )
+DEFINE_GUID_ENUM(IID_IHXVideoStatObserver, 0x36ff6b83, 0x7522, 0x4236, 0x87, 0xe1, 0x10, 0x31, 0x51, 0xd9, 0x56, 0x94);
+#endif
+
 /*
  *  File:
  *      hxworker.h

--- NEW FILE: ihxvideostatobserver.h ---
/* ***** BEGIN LICENSE BLOCK *****
 * Source last modified: $Id: ihxvideostatobserver.h,v 1.1 2012/01/03 21:00:26 qluo 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 or later (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 ***** */

#ifndef _IHXVIDEOSTATOBSERVER_H_
#define _IHXVIDEOSTATOBSERVER_H_

/****************************************************************************
 *
 *  Interface:
 *      IHXVideoStatObserver
 *
 *  Purpose:
 *      monitor video render statistics
 *
 *  IID_IHXVideoStatObserver:
 *      {36FF6B83-7522-4236-87E1-103151D95694}
 *
 */
DEFINE_GUID(IID_IHXVideoStatObserver, 0x36ff6b83, 0x7522, 0x4236, 0x87, 0xe1, 0x10, 0x31, 0x51, 0xd9, 0x56, 0x94);

#undef  INTERFACE
#define INTERFACE   IHXVideoStatObserver

DECLARE_INTERFACE_(IHXVideoStatObserver, IUnknown)
{
    /*
     *  IUnknown methods
     */
    STDMETHOD(QueryInterface)       (THIS_ REFIID riid, void** ppvObj) PURE;
    STDMETHOD_(ULONG32,AddRef)      (THIS) PURE;
    STDMETHOD_(ULONG32,Release)     (THIS) PURE;

    /************************************************************************
     *  Method:
     *      IHXVideoStatObserver::OnDroppedFrames
     *  Purpose:
     *      report dropped frames
     */
    STDMETHOD(OnDroppedFrames)   (THIS_ UINT32 ulDroppedFrames, UINT32 ulDecodedFrames) PURE;
};

#endif // _IHXVIDEOSTATOBSERVER_H_




More information about the Common-cvs mailing list
 

Site Map   |   Terms of Use   |   Privacy Policy   |   Contact Us

Copyright © 1995-2007 RealNetworks, Inc. All rights reserved. RealNetworks and Helix are trademarks of RealNetworks.
All other trademarks or registered trademarks are the property of their respective holders.