| OLD | NEW |
| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 // Returns the preferred V4L2 input format or 0 if don't care. | 101 // Returns the preferred V4L2 input format or 0 if don't care. |
| 102 virtual uint32 PreferredInputFormat() = 0; | 102 virtual uint32 PreferredInputFormat() = 0; |
| 103 | 103 |
| 104 protected: | 104 protected: |
| 105 friend class base::RefCountedThreadSafe<V4L2Device>; | 105 friend class base::RefCountedThreadSafe<V4L2Device>; |
| 106 virtual ~V4L2Device(); | 106 virtual ~V4L2Device(); |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 } // namespace content | 109 } // namespace content |
| 110 | 110 |
| 111 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_ | 111 #endif // CONTENT_COMMON_GPU_MEDIA_V4L2_DEVICE_H_ |
| OLD | NEW |