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

Unified Diff: content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc

Issue 1239443003: Revert of Create VA surface with correct VA RT format for MJPEG decode acceleration (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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: content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc
diff --git a/content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc b/content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc
index 456eb5822db02a47f245773e5eec6b2d20cfc57f..2e9180f6b6638049fcf9a14649278fa818662b33 100644
--- a/content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc
+++ b/content/common/gpu/media/vaapi_jpeg_decoder_unittest.cc
@@ -63,7 +63,7 @@
parse_result.frame_header.coded_height);
std::vector<VASurfaceID> va_surfaces;
- if (!wrapper_->CreateSurfaces(VA_RT_FORMAT_YUV420, size, 1, &va_surfaces))
+ if (!wrapper_->CreateSurfaces(size, 1, &va_surfaces))
return false;
if (!VaapiJpegDecoder::Decode(wrapper_.get(), parse_result, va_surfaces[0])) {
« no previous file with comments | « content/common/gpu/media/vaapi_jpeg_decode_accelerator.cc ('k') | content/common/gpu/media/vaapi_video_decode_accelerator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698