| 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 #include <errno.h> |
| 5 #include <linux/videodev2.h> | 6 #include <linux/videodev2.h> |
| 6 #include <sys/mman.h> | 7 #include <sys/mman.h> |
| 7 | 8 |
| 8 #include "base/big_endian.h" | 9 #include "base/big_endian.h" |
| 9 #include "base/bind.h" | 10 #include "base/bind.h" |
| 10 #include "base/thread_task_runner_handle.h" | 11 #include "base/thread_task_runner_handle.h" |
| 11 #include "content/common/gpu/media/v4l2_jpeg_decode_accelerator.h" | 12 #include "content/common/gpu/media/v4l2_jpeg_decode_accelerator.h" |
| 12 #include "media/filters/jpeg_parser.h" | 13 #include "media/filters/jpeg_parser.h" |
| 13 #include "third_party/libyuv/include/libyuv.h" | 14 #include "third_party/libyuv/include/libyuv.h" |
| 14 | 15 |
| (...skipping 867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 882 device_poll_thread_.Stop(); | 883 device_poll_thread_.Stop(); |
| 883 | 884 |
| 884 // Clear the interrupt now, to be sure. | 885 // Clear the interrupt now, to be sure. |
| 885 if (!device_->ClearDevicePollInterrupt()) | 886 if (!device_->ClearDevicePollInterrupt()) |
| 886 return false; | 887 return false; |
| 887 | 888 |
| 888 return true; | 889 return true; |
| 889 } | 890 } |
| 890 | 891 |
| 891 } // namespace content | 892 } // namespace content |
| OLD | NEW |