[svn] / branches / dev-api-4 / xvidcore / dshow / src / CXvidDecoder.h Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/dshow/src/CXvidDecoder.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1054, Mon Jun 9 13:55:56 2003 UTC revision 1260, Fri Dec 12 15:09:01 2003 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: CXvidDecoder.h,v 1.1.2.2 2003-06-09 13:49:00 edgomez Exp $   * $Id: CXvidDecoder.h,v 1.1.2.4 2003-12-12 15:09:01 Isibaar Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 47  Line 47 
47  DPRINTF(char *fmt, ...) { }  DPRINTF(char *fmt, ...) { }
48  #endif  #endif
49    
50    /* registry stuff */
51    #define XVID_REG_KEY    HKEY_CURRENT_USER
52    #define XVID_REG_SUBKEY "Software\\GNU\\XviD"
53    #define XVID_REG_CLASS  "config"
54    
55    #define REG_GET_N(X, Y, Z) size=sizeof(int);if(RegQueryValueEx(hKey, X, 0, 0, (LPBYTE)&Y, &size) != ERROR_SUCCESS) {Y=Z;}
56    #define REG_GET_S(X, Y, Z) size=MAX_PATH;if(RegQueryValueEx(hKey, X, 0, 0, Y, &size) != ERROR_SUCCESS) {lstrcpy(Y, Z);}
57    #define REG_SET_N(X, Y) RegSetValueEx(hKey, X, 0, REG_DWORD, (LPBYTE)&Y, sizeof(int))
58    #define REG_SET_S(X, Y) RegSetValueEx(hKey, X, 0, REG_SZ, Y, lstrlen(Y)+1)
59    
60  #define XVID_NAME_L             L"XviD MPEG-4 Video Decoder"  #define XVID_NAME_L             L"XviD MPEG-4 Video Decoder"
61    
62  /* --- fourcc --- */  /* --- fourcc --- */
# Line 65  Line 75 
75  DEFINE_GUID(CLSID_DX50_UC,      mmioFOURCC('D','X','5','0'), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);  DEFINE_GUID(CLSID_DX50_UC,      mmioFOURCC('D','X','5','0'), 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
76    
77    
78    /* MEDIATYPE_IYUV is not always defined in the directx headers */
79    DEFINE_GUID(CLSID_MEDIASUBTYPE_IYUV, 0x56555949, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71);
80    
81    
82  class CXvidDecoder : public CVideoTransformFilter, public IXvidDecoder, public ISpecifyPropertyPages  class CXvidDecoder : public CVideoTransformFilter, public IXvidDecoder, public ISpecifyPropertyPages
83  {  {
84    
# Line 93  Line 107 
107    
108          HRESULT ChangeColorspace(GUID subtype, GUID formattype, void * format);          HRESULT ChangeColorspace(GUID subtype, GUID formattype, void * format);
109    
         // data  
   
         HINSTANCE m_hdll;  
         int (*m_xvid_global)(void *, int, void *, void *);  
         int (*m_xvid_decore)(void *, int, void *, void *);  
   
110          xvid_dec_create_t m_create;          xvid_dec_create_t m_create;
111          xvid_dec_frame_t m_frame;          xvid_dec_frame_t m_frame;
112  };  };

Legend:
Removed from v.1054  
changed lines
  Added in v.1260

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4