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

Unified Diff: media/gpu/vp8_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
Index: media/gpu/vp8_decoder.h
diff --git a/media/gpu/vp8_decoder.h b/media/gpu/vp8_decoder.h
index 549271fb415523f4d9e8404c1142fe07a5933249..8291ec9349f93963a41c6e3eb198f3841ea21010 100644
--- a/media/gpu/vp8_decoder.h
+++ b/media/gpu/vp8_decoder.h
@@ -15,6 +15,7 @@
#include "media/filters/vp8_parser.h"
#include "media/gpu/accelerated_video_decoder.h"
#include "media/gpu/vp8_picture.h"
+#include "ui/gfx/geometry/rect.h"
namespace media {
@@ -57,7 +58,8 @@ class MEDIA_GPU_EXPORT VP8Decoder : public AcceleratedVideoDecoder {
// as this method was called for them. Decoder may drop its reference
// to |pic| after calling this method.
// Return true if successful.
- virtual bool OutputPicture(const scoped_refptr<VP8Picture>& pic) = 0;
+ virtual bool OutputPicture(const scoped_refptr<VP8Picture>& pic,
+ const gfx::Rect& visible_rect) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(VP8Accelerator);

Powered by Google App Engine
This is Rietveld 408576698