Update third_party/libva to version 1.7.1

$ git clone https://github.com/01org/libva.git
$ cd tmp/libva
$ git checkout libva-1.7.1
$ rm -rf ~/chromium/src/third_party/libva/va
$ find va -name \*.h -exec cp --parents \{\} ~/chromium/src/third_party/libva \;
$ sh build/gen_version.sh . va/va_version.h.in > ~/chromium/src/third_party/libva/va/va_version.h

Also Remove:
- remove va/egl/va_egl.h due to the lack of license header
- remove struct _VAEncMacroblockParameterBufferH264 from va/va_enc_h264.h,
  which contained an empty union, causing compile errors

BUG=None
TEST=build and test VDA and VEA on an Intel device.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel

Review-Url: https://codereview.chromium.org/2834313002
Cr-Original-Commit-Position: refs/heads/master@{#466889}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9a16f5fe06fc29a6674123b5b50ee4c58d1f09ba
diff --git a/gpu/vaapi_wrapper.cc b/gpu/vaapi_wrapper.cc
index b3bf808..5146f43 100644
--- a/gpu/vaapi_wrapper.cc
+++ b/gpu/vaapi_wrapper.cc
@@ -129,9 +129,10 @@
     // H264PROFILE_HIGH*.
     {H264PROFILE_HIGH, VAProfileH264High},
     {VP8PROFILE_ANY, VAProfileVP8Version0_3},
-    // TODO(servolk): Need to add VP9 profiles 1,2,3 here after rolling
-    // third_party/libva to 1.7. crbug.com/598118
     {VP9PROFILE_PROFILE0, VAProfileVP9Profile0},
+    {VP9PROFILE_PROFILE1, VAProfileVP9Profile1},
+    {VP9PROFILE_PROFILE2, VAProfileVP9Profile2},
+    {VP9PROFILE_PROFILE3, VAProfileVP9Profile3},
 };
 
 static std::vector<VAConfigAttrib> GetRequiredAttribs(
@@ -1224,8 +1225,8 @@
     DVLOG(1) << "VAAPI version: " << major_version_ << "." << minor_version_;
   }
 
-  if (VAAPIVersionLessThan(0, 34)) {
-    LOG(ERROR) << "VAAPI version < 0.34 is not supported.";
+  if (VAAPIVersionLessThan(0, 39)) {
+    LOG(ERROR) << "VAAPI version < 0.39 is not supported.";
     return false;
   }
   return true;