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

Side by Side Diff: services/video_capture/receiver_mojo_to_media_adapter.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 SERVICES_VIDEO_CAPTURE_RECEIVER_MOJO_TO_MEDIA_ADAPTER_H_ 5 #ifndef SERVICES_VIDEO_CAPTURE_RECEIVER_MOJO_TO_MEDIA_ADAPTER_H_
6 #define SERVICES_VIDEO_CAPTURE_RECEIVER_MOJO_TO_MEDIA_ADAPTER_H_ 6 #define SERVICES_VIDEO_CAPTURE_RECEIVER_MOJO_TO_MEDIA_ADAPTER_H_
7 7
8 #include "media/capture/video/video_frame_receiver.h" 8 #include "media/capture/video/video_frame_receiver.h"
9 #include "services/video_capture/public/interfaces/receiver.mojom.h" 9 #include "services/video_capture/public/interfaces/receiver.mojom.h"
10 10
(...skipping 15 matching lines...) Expand all
26 int buffer_id, 26 int buffer_id,
27 int frame_feedback_id, 27 int frame_feedback_id,
28 std::unique_ptr< 28 std::unique_ptr<
29 media::VideoCaptureDevice::Client::Buffer::ScopedAccessPermission> 29 media::VideoCaptureDevice::Client::Buffer::ScopedAccessPermission>
30 buffer_usage_reservation, 30 buffer_usage_reservation,
31 media::mojom::VideoFrameInfoPtr frame_info) override; 31 media::mojom::VideoFrameInfoPtr frame_info) override;
32 void OnBufferRetired(int buffer_id) override; 32 void OnBufferRetired(int buffer_id) override;
33 void OnError() override; 33 void OnError() override;
34 void OnLog(const std::string& message) override; 34 void OnLog(const std::string& message) override;
35 void OnStarted() override; 35 void OnStarted() override;
36 void OnStartedUsingGpuDecode() override;
36 37
37 private: 38 private:
38 mojom::ReceiverPtr receiver_; 39 mojom::ReceiverPtr receiver_;
39 }; 40 };
40 41
41 } // namespace video_capture 42 } // namespace video_capture
42 43
43 #endif // SERVICES_VIDEO_CAPTURE_RECEIVER_MOJO_TO_MEDIA_ADAPTER_H_ 44 #endif // SERVICES_VIDEO_CAPTURE_RECEIVER_MOJO_TO_MEDIA_ADAPTER_H_
OLDNEW
« no previous file with comments | « media/gpu/ipc/service/gpu_jpeg_decode_accelerator.cc ('k') | services/video_capture/receiver_mojo_to_media_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698