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

Unified Diff: content/renderer/media/gpu/rtc_video_decoder.h

Issue 2832863002: Merge 59: Handle multiple textures per buffer in RTCVideoDecoder (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/media/gpu/rtc_video_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/gpu/rtc_video_decoder.h
diff --git a/content/renderer/media/gpu/rtc_video_decoder.h b/content/renderer/media/gpu/rtc_video_decoder.h
index 12bc88b00493a2a4c61bdf3c3d772b9cd7304111..7b5b31f928fba5194f1a5ed033e5e99a0849420b 100644
--- a/content/renderer/media/gpu/rtc_video_decoder.h
+++ b/content/renderer/media/gpu/rtc_video_decoder.h
@@ -156,11 +156,12 @@ class CONTENT_EXPORT RTCVideoDecoder
void ResetInternal();
// Static method is to allow it to run even after RVD is deleted.
- static void ReleaseMailbox(base::WeakPtr<RTCVideoDecoder> decoder,
- media::GpuVideoAcceleratorFactories* factories,
- int64_t picture_buffer_id,
- uint32_t texture_id,
- const gpu::SyncToken& release_sync_token);
+ static void ReleaseMailbox(
+ base::WeakPtr<RTCVideoDecoder> decoder,
+ media::GpuVideoAcceleratorFactories* factories,
+ int64_t picture_buffer_id,
+ const media::PictureBuffer::TextureIds& texture_ids,
+ const gpu::SyncToken& release_sync_token);
// Tells VDA that a picture buffer can be recycled.
void ReusePictureBuffer(int64_t picture_buffer_id);
@@ -249,7 +250,8 @@ class CONTENT_EXPORT RTCVideoDecoder
// PictureBuffers given to us by VDA via PictureReady, which we sent forward
// as VideoFrames to be rendered via read_cb_, and which will be returned
// to us via ReusePictureBuffer.
- typedef std::map<int32_t /* picture_buffer_id */, uint32_t /* texture_id */>
+ typedef std::map<int32_t /* picture_buffer_id */,
+ media::PictureBuffer::TextureIds /* texture ids */>
PictureBufferTextureMap;
PictureBufferTextureMap picture_buffers_at_display_;
« no previous file with comments | « no previous file | content/renderer/media/gpu/rtc_video_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698