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

Unified Diff: third_party/libva/va/va.h

Issue 872623002: VaapiVEA: Get maximum resolution from libva (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: third_party/libva/va/va.h
diff --git a/third_party/libva/va/va.h b/third_party/libva/va/va.h
index 845760cbd5370e6fcf800e63d5f12511f47835ba..564ae75dc11ef8e9db75248728b8c43f2cd14dd9 100644
--- a/third_party/libva/va/va.h
+++ b/third_party/libva/va/va.h
@@ -2489,6 +2489,16 @@ VAStatus vaSetDisplayAttributes (
int num_attributes
);
+/**
+ * Get codec resolution
+ * This function returns the hardware codec supported maximum resolution.
+ */
+VAStatus vaGetCodecResolution (
+ VADisplay dpy,
+ unsigned int *width, /* out */
+ unsigned int *height /* out */
+);
+
/**@}*/
#ifdef __cplusplus

Powered by Google App Engine
This is Rietveld 408576698