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

Side by Side Diff: media/capture/video/video_frame_receiver.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
« no previous file with comments | « media/capture/video/video_capture_device_client_unittest.cc ('k') | media/gpu/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_ 5 #ifndef MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_
6 #define MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_ 6 #define MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_
7 7
8 #include "media/capture/capture_export.h" 8 #include "media/capture/capture_export.h"
9 #include "media/capture/mojo/video_capture_types.mojom.h" 9 #include "media/capture/mojo/video_capture_types.mojom.h"
10 #include "media/capture/video/video_capture_buffer_handle.h" 10 #include "media/capture/video/video_capture_buffer_handle.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 // OnFrameReadInBuffer() for the same buffer. In that case, it means that the 46 // OnFrameReadInBuffer() for the same buffer. In that case, it means that the
47 // caller is asking the VideoFrameReceiver to release the read permission and 47 // caller is asking the VideoFrameReceiver to release the read permission and
48 // buffer handle at its earliest convenience. 48 // buffer handle at its earliest convenience.
49 // After this call, a producer may immediately reuse the retired |buffer_id| 49 // After this call, a producer may immediately reuse the retired |buffer_id|
50 // with a new buffer via a call to OnNewBufferHandle(). 50 // with a new buffer via a call to OnNewBufferHandle().
51 virtual void OnBufferRetired(int buffer_id) = 0; 51 virtual void OnBufferRetired(int buffer_id) = 0;
52 52
53 virtual void OnError() = 0; 53 virtual void OnError() = 0;
54 virtual void OnLog(const std::string& message) = 0; 54 virtual void OnLog(const std::string& message) = 0;
55 virtual void OnStarted() = 0; 55 virtual void OnStarted() = 0;
56 virtual void OnStartedUsingGpuDecode() = 0;
56 }; 57 };
57 58
58 } // namespace media 59 } // namespace media
59 60
60 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_ 61 #endif // MEDIA_CAPTURE_VIDEO_VIDEO_FRAME_RECEIVER_H_
OLDNEW
« no previous file with comments | « media/capture/video/video_capture_device_client_unittest.cc ('k') | media/gpu/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698