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

Unified Diff: chrome/gpu/arc_gpu_video_decode_accelerator.cc

Issue 2462393002: Use texture ids passed from ARC as service ids in ArcGVDA (Closed)
Patch Set: Fixup DXVA Created 4 years, 1 month 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
« no previous file with comments | « no previous file | media/gpu/dxva_picture_buffer_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f2e655708f163e2ab80d7b860b0656033c527798..7b66321fd3a239e3ab835dc5d71dc2c349d43a02 100644
--- a/chrome/gpu/arc_gpu_video_decode_accelerator.cc
+++ b/chrome/gpu/arc_gpu_video_decode_accelerator.cc
@@ -146,12 +146,9 @@ void ArcGpuVideoDecodeAccelerator::SetNumberOfOutputBuffers(size_t number) {
std::vector<media::PictureBuffer> buffers;
for (size_t id = 0; id < number; ++id) {
- media::PictureBuffer::TextureIds texture_ids;
- texture_ids.push_back(0);
-
// TODO(owenlin): Make sure the |coded_size| is what we want.
- buffers.push_back(media::PictureBuffer(base::checked_cast<int32_t>(id),
- coded_size_, texture_ids));
+ buffers.push_back(
+ media::PictureBuffer(base::checked_cast<int32_t>(id), coded_size_));
}
vda_->AssignPictureBuffers(buffers);
« no previous file with comments | « no previous file | media/gpu/dxva_picture_buffer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698