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

Side by Side Diff: content/common/gpu/media/v4l2_jpeg_decode_accelerator.cc

Issue 1417483018: include what you use: errno.h and string.h in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 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
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
OLDNEW
« no previous file with comments | « content/common/gpu/media/v4l2_image_processor.cc ('k') | content/common/gpu/media/v4l2_slice_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698