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 |