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

Unified Diff: chrome/gpu/arc_gpu_video_decode_accelerator.cc

Issue 1942123002: Plumb decoded video pixel format from GPU process to renderer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: chrome/gpu/arc_gpu_video_decode_accelerator.cc
diff --git a/chrome/gpu/arc_gpu_video_decode_accelerator.cc b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
index b4b46b0da454249a619c6f9a6357041eeead1c85..9edc7eace6ab7f624fafd98e0afb03a1ed0521ae 100644
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.cc
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
@@ -233,6 +233,7 @@ void ArcGpuVideoDecodeAccelerator::Reset() {
void ArcGpuVideoDecodeAccelerator::ProvidePictureBuffers(
uint32_t requested_num_of_buffers,
+ media::VideoPixelFormat output_format,
uint32_t textures_per_buffer,
const gfx::Size& dimensions,
uint32_t texture_target) {
@@ -243,7 +244,6 @@ void ArcGpuVideoDecodeAccelerator::ProvidePictureBuffers(
coded_size_ = dimensions;
VideoFormat video_format;
- media::VideoPixelFormat output_format = vda_->GetOutputFormat();
switch (output_format) {
case media::PIXEL_FORMAT_I420:
case media::PIXEL_FORMAT_YV12:

Powered by Google App Engine
This is Rietveld 408576698