| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef MEDIA_GPU_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ | 5 #ifndef MEDIA_GPU_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ |
| 6 #define MEDIA_GPU_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ | 6 #define MEDIA_GPU_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ |
| 7 | 7 |
| 8 #include <linux/videodev2.h> | 8 #include <linux/videodev2.h> |
| 9 #include <stddef.h> | 9 #include <stddef.h> |
| 10 #include <stdint.h> | 10 #include <stdint.h> |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 GetGLContextCallback get_gl_context_cb_; | 464 GetGLContextCallback get_gl_context_cb_; |
| 465 // Callback to set the correct gl context. | 465 // Callback to set the correct gl context. |
| 466 MakeGLContextCurrentCallback make_context_current_cb_; | 466 MakeGLContextCurrentCallback make_context_current_cb_; |
| 467 | 467 |
| 468 // The WeakPtrFactory for |weak_this_|. | 468 // The WeakPtrFactory for |weak_this_|. |
| 469 base::WeakPtrFactory<V4L2SliceVideoDecodeAccelerator> weak_this_factory_; | 469 base::WeakPtrFactory<V4L2SliceVideoDecodeAccelerator> weak_this_factory_; |
| 470 | 470 |
| 471 DISALLOW_COPY_AND_ASSIGN(V4L2SliceVideoDecodeAccelerator); | 471 DISALLOW_COPY_AND_ASSIGN(V4L2SliceVideoDecodeAccelerator); |
| 472 }; | 472 }; |
| 473 | 473 |
| 474 class V4L2H264Picture; | |
| 475 class V4L2VP8Picture; | |
| 476 class V4L2VP9Picture; | |
| 477 | |
| 478 } // namespace media | 474 } // namespace media |
| 479 | 475 |
| 480 #endif // MEDIA_GPU_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ | 476 #endif // MEDIA_GPU_V4L2_SLICE_VIDEO_DECODE_ACCELERATOR_H_ |
| OLD | NEW |