[prev in list] [next in list] [prev in thread] [next in thread] 

List:       helix-client-cvs
Subject:    [Client-cvs] include hxvsurf.h,1.1.1.1,1.1.1.1.64.1
From:       chrisyoung () helixcommunity ! org
Date:       2011-08-18 2:38:53
Message-ID: 201108180239.p7I2dDHr001252 () mailer ! progressive-comp ! com
[Download RAW message or body]

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

Modified Files:
      Tag: hxclient_1_2_1_neptune
	hxvsurf.h 
Log Message:


Index: hxvsurf.h
===================================================================
RCS file: /cvsroot/client/include/hxvsurf.h,v
retrieving revision 1.1.1.1
retrieving revision 1.1.1.1.64.1
diff -u -d -r1.1.1.1 -r1.1.1.1.64.1
--- hxvsurf.h	18 Oct 2002 01:50:04 -0000	1.1.1.1
+++ hxvsurf.h	18 Aug 2011 02:38:50 -0000	1.1.1.1.64.1
@@ -161,6 +161,8 @@
 #define HX_YVU9        MKFOURCC('Y','V','U','9') /* Intel YVU9     */
 #define HX_ARGB        MKFOURCC('A','R','G','B') /* ARGB32         */
 #define HX_DVPF        MKFOURCC('D','V','P','F') /* dvpf           */
+#define HX_NV21        MKFOURCC('N','V','2','1') /* Qualcomm YVU semi-planar */
+#define HX_OMXV        MKFOURCC('O','M','X','V') /* OpenMax buffer header pointer */
 
 /*
  * Non-standard FOURCC formats (these are just few aliases to what can be
@@ -292,6 +294,83 @@
  *
  *  Interface:
  *
+ *  IHXSubtitleSurface
+ *
+ *  Purpose:
+ *
+ *  Interface for IHXSubtitleSurface objects.
+ *
+ *  IID_IHXSubtitleSurface:
+ *
+ *  {89354306-4f7b-45e9-8900-a7ab94c1edca}
+ *
+ */
+
+DEFINE_GUID(IID_IHXSubtitleSurface, 0x89354306, 0x4f7b, 0x45e9,
+    0x89, 0x00, 0xa7, 0xab, 0x94, 0xc1, 0xed, 0xca);
+
+#undef  INTERFACE
+#define INTERFACE   IHXSubtitleSurface
+
+DECLARE_INTERFACE_(IHXSubtitleSurface, IUnknown)
+{
+    /*
+     * IUnknown methods
+     */
+    STDMETHOD(QueryInterface)   (THIS_
+                REFIID riid,
+                void** ppvObj) PURE;
+
+    STDMETHOD_(ULONG32,AddRef)  (THIS) PURE;
+
+    STDMETHOD_(ULONG32,Release) (THIS) PURE;
+
+    /*
+     * IHXSubtitleSurface methods 
+     * Set the subtitle in text, screen layer will be created according to the input text length
+     * And will take effect immediately
+     * Text will shown on the screen before return
+     * UTF8 Encoding is expected
+     */
+    STDMETHOD(SetSubtitleText) (THIS_ const char* buf, UINT16 buflen) PURE;
+
+    /*
+     * IHXSubtitleSurface methods 
+     * Set the subtitle in bitmap, screen layer will be created according to the input bitmap dimension
+     * And will take effect immediately
+     * Bitmap will shown on the screen before return
+     */
+    STDMETHOD(SetBitmap) (THIS_ void* pixels, UINT16 width, UINT16 height, UINT16 cfg) PURE;
+
+    /*
+     * IHXSubtitleSurface methods 
+     * Show the previously hided subtitle layer
+     */
+    STDMETHOD(Show) (THIS) PURE;
+
+    /*
+     * IHXSubtitleSurface methods 
+     * Hide the previously created subtitle layer
+     */
+    STDMETHOD(Hide) (THIS) PURE;
+
+    /*
+     * IHXSubtitleSurface methods 
+     * Return the layer's dimension info
+     */
+    STDMETHOD(GetLayerDimension) (THIS_ REF(UINT16) width, REF(UINT16) height) PURE;
+
+    /*
+     * IHXSubtitleSurface methods 
+     * Set the default font's size
+     */
+    STDMETHOD(SetFontSize) (THIS_ UINT16 size) PURE;
+};
+
+/****************************************************************************
+ *
+ *  Interface:
+ *
  *  IHXVideoHook
  *
  *  Purpose:


_______________________________________________
Client-cvs mailing list
Client-cvs@helixcommunity.org
http://lists.helixcommunity.org/mailman/listinfo/client-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic