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

Unified Diff: media/gpu/accelerated_video_decoder.h

Issue 2926593002: V4L2SVDA/VAAPIVDA: use visible size from decoder and pass to client (Closed)
Patch Set: V4L2SVDA/VAAPIVDA: use visible size from decoder and pass to client Created 3 years, 6 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 | media/gpu/h264_decoder.h » ('j') | media/gpu/h264_decoder.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/accelerated_video_decoder.h
diff --git a/media/gpu/accelerated_video_decoder.h b/media/gpu/accelerated_video_decoder.h
index ed3db1a50c9e650b16a06ac7c65ff6f6380039a7..8de6d789143442e8072bcaed265e0710e433f5f2 100644
--- a/media/gpu/accelerated_video_decoder.h
+++ b/media/gpu/accelerated_video_decoder.h
@@ -10,6 +10,7 @@
#include "base/macros.h"
#include "media/gpu/media_gpu_export.h"
+#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/size.h"
namespace media {
@@ -57,6 +58,7 @@ class MEDIA_GPU_EXPORT AcceleratedVideoDecoder {
// be ready to provide for the decoder to function properly.
// To be used after Decode() returns kAllocateNewSurfaces.
virtual gfx::Size GetPicSize() const = 0;
+ virtual gfx::Rect GetVisibleRect() const = 0;
virtual size_t GetRequiredNumOfPictures() const = 0;
private:
« no previous file with comments | « no previous file | media/gpu/h264_decoder.h » ('j') | media/gpu/h264_decoder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698