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

Side by Side Diff: content/browser/renderer_host/media/video_frame_receiver_on_io_thread.h

Issue 2772963002: Reland [Mojo Video Capture] Add test coverage for accelerated jpeg decoding (Closed)
Patch Set: Rebase to March 30 Created 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_FRAME_RECEIVER_ON_IO_THREAD_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_FRAME_RECEIVER_ON_IO_THREAD_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_FRAME_RECEIVER_ON_IO_THREAD_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_FRAME_RECEIVER_ON_IO_THREAD_H_
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "media/capture/video/video_frame_receiver.h" 9 #include "media/capture/video/video_frame_receiver.h"
10 10
(...skipping 18 matching lines...) Expand all
29 int buffer_id, 29 int buffer_id,
30 int frame_feedback_id, 30 int frame_feedback_id,
31 std::unique_ptr< 31 std::unique_ptr<
32 media::VideoCaptureDevice::Client::Buffer::ScopedAccessPermission> 32 media::VideoCaptureDevice::Client::Buffer::ScopedAccessPermission>
33 buffer_read_permission, 33 buffer_read_permission,
34 media::mojom::VideoFrameInfoPtr frame_info) override; 34 media::mojom::VideoFrameInfoPtr frame_info) override;
35 void OnBufferRetired(int buffer_id) override; 35 void OnBufferRetired(int buffer_id) override;
36 void OnError() override; 36 void OnError() override;
37 void OnLog(const std::string& message) override; 37 void OnLog(const std::string& message) override;
38 void OnStarted() override; 38 void OnStarted() override;
39 void OnStartedUsingGpuDecode() override;
39 40
40 private: 41 private:
41 base::WeakPtr<VideoFrameReceiver> receiver_; 42 base::WeakPtr<VideoFrameReceiver> receiver_;
42 }; 43 };
43 44
44 } // namespace content 45 } // namespace content
45 46
46 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_FRAME_RECEIVER_ON_IO_THREAD _H_ 47 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_VIDEO_FRAME_RECEIVER_ON_IO_THREAD _H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698