Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(951)

Unified Diff: media/mf/d3d_util.h

Issue 3156046: Changed mft_h264_decoder's API to match with video_decode_engine.h. Also chan... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/mf/d3d_util.h
===================================================================
--- media/mf/d3d_util.h (revision 57106)
+++ media/mf/d3d_util.h (working copy)
@@ -1,34 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// Utility functions for Direct3D Devices.
-
-#ifndef MEDIA_MF_D3D_UTIL_H_
-#define MEDIA_MF_D3D_UTIL_H_
-
-#include <windows.h>
-
-struct IDirect3D9;
-struct IDirect3DDevice9;
-struct IDirect3DDeviceManager9;
-
-namespace media {
-
-// Creates a Direct3D device manager for the given window.
-IDirect3DDeviceManager9* CreateD3DDevManager(HWND video_window,
- IDirect3D9** direct3d,
- IDirect3DDevice9** device);
-
-// Resets the D3D device to prevent scaling from happening because it was
-// created with window before resizing occurred. We need to change the back
-// buffer dimensions to the actual video frame dimensions.
-// Both the decoder and device should be initialized before calling this method.
-// Returns: true if successful.
-bool AdjustD3DDeviceBackBufferDimensions(IDirect3DDevice9* device,
- HWND video_window,
- int width,
- int height);
-
-} // namespace media
-#endif // MEDIA_MF_D3D_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698