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

Unified Diff: content/common/gpu/media/vt_video_decode_accelerator.h

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: dispatch GetSupportedResolution to each vda Created 6 years 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: content/common/gpu/media/vt_video_decode_accelerator.h
diff --git a/content/common/gpu/media/vt_video_decode_accelerator.h b/content/common/gpu/media/vt_video_decode_accelerator.h
index ed30aa290a089122b9ae54c8b8197d4eea774ec9..94c55e90eb30088d816c7ae08fa8bc5767cc938a 100644
--- a/content/common/gpu/media/vt_video_decode_accelerator.h
+++ b/content/common/gpu/media/vt_video_decode_accelerator.h
@@ -52,6 +52,10 @@ class VTVideoDecodeAccelerator : public media::VideoDecodeAccelerator {
void Destroy() override;
bool CanDecodeOnIOThread() override;
+ // Get the minimum and maximum supported decode resolution.
+ static media::VideoDecodeAccelerator::SupportedResolution
wuchengli 2014/12/26 09:37:07 Move this after Output(). Let's not mix the order
henryhsu 2014/12/26 10:25:18 Done.
+ GetSupportedResolution();
+
// Called by OutputThunk() when VideoToolbox finishes decoding a frame.
void Output(
void* source_frame_refcon,

Powered by Google App Engine
This is Rietveld 408576698