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

Unified Diff: media/gpu/vaapi_video_decode_accelerator.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 | « media/gpu/v4l2_slice_video_decode_accelerator.cc ('k') | media/gpu/vaapi_video_decode_accelerator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/gpu/vaapi_video_decode_accelerator.h
diff --git a/media/gpu/vaapi_video_decode_accelerator.h b/media/gpu/vaapi_video_decode_accelerator.h
index 241c002d9c5aa9230d019bbe54e36f95814e01bf..9edf17077a76a4395664a353197280d670fa5f44 100644
--- a/media/gpu/vaapi_video_decode_accelerator.h
+++ b/media/gpu/vaapi_video_decode_accelerator.h
@@ -145,10 +145,12 @@ class MEDIA_GPU_EXPORT VaapiVideoDecodeAccelerator
// Callback to be executed once we have a |va_surface| to be output and
// an available |picture| to use for output.
- // Puts contents of |va_surface| into given |picture|, releases the
- // surface and passes the resulting picture to client for output.
+ // Puts contents of |va_surface| into given |picture|, releases the surface
+ // and passes the resulting picture to client to output the given
+ // |visible_rect| part of it.
void OutputPicture(const scoped_refptr<VASurface>& va_surface,
int32_t input_id,
+ gfx::Rect visible_rect,
VaapiPicture* picture);
// Try to OutputPicture() if we have both a ready surface and picture.
« no previous file with comments | « media/gpu/v4l2_slice_video_decode_accelerator.cc ('k') | media/gpu/vaapi_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698