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

Side by Side Diff: content/common/gpu/media/v4l2_device.h

Issue 1097913002: Remove kIgnoreResolutionLimitsForAcceleratedVideoDecode flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file defines the V4L2Device interface which is used by the 5 // This file defines the V4L2Device interface which is used by the
6 // V4L2DecodeAccelerator class to delegate/pass the device specific 6 // V4L2DecodeAccelerator class to delegate/pass the device specific
7 // handling of any of the functionalities. 7 // handling of any of the functionalities.
8 8
9 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_ 9 #ifndef CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_
10 #define CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_ 10 #define CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // Destroys the EGLImageKHR. 99 // Destroys the EGLImageKHR.
100 virtual EGLBoolean DestroyEGLImage(EGLDisplay egl_display, 100 virtual EGLBoolean DestroyEGLImage(EGLDisplay egl_display,
101 EGLImageKHR egl_image) = 0; 101 EGLImageKHR egl_image) = 0;
102 102
103 // Returns the supported texture target for the V4L2Device. 103 // Returns the supported texture target for the V4L2Device.
104 virtual GLenum GetTextureTarget() = 0; 104 virtual GLenum GetTextureTarget() = 0;
105 105
106 // Returns the preferred V4L2 input format or 0 if don't care. 106 // Returns the preferred V4L2 input format or 0 if don't care.
107 virtual uint32 PreferredInputFormat() = 0; 107 virtual uint32 PreferredInputFormat() = 0;
108 108
109 // Get maximum resolution for fourcc format.
110 gfx::Size GetMaxSupportedResolution(unsigned int pixelformat);
Pawel Osciak 2015/04/22 08:50:55 s/unsigned int/uint32_t/
henryhsu 2015/04/23 03:56:42 Done.
111
109 protected: 112 protected:
110 friend class base::RefCountedThreadSafe<V4L2Device>; 113 friend class base::RefCountedThreadSafe<V4L2Device>;
111 virtual ~V4L2Device(); 114 virtual ~V4L2Device();
112 }; 115 };
113 116
114 } // namespace content 117 } // namespace content
115 118
116 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_ 119 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698