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

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

Issue 7021020: Clean up video frame sizes, types in Video Decode API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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/omx_video_decode_accelerator_unittest.cc
diff --git a/content/common/gpu/media/omx_video_decode_accelerator_unittest.cc b/content/common/gpu/media/omx_video_decode_accelerator_unittest.cc
index b08d0ae2248531b8d2b0d34f8de8714022d49d2c..046b067a604ec2a37d0ba25e1b7d7f23d0b403ed 100644
--- a/content/common/gpu/media/omx_video_decode_accelerator_unittest.cc
+++ b/content/common/gpu/media/omx_video_decode_accelerator_unittest.cc
@@ -411,8 +411,7 @@ class EglRenderingVDAClient : public VideoDecodeAccelerator::Client {
// The heart of the Client.
virtual void ProvidePictureBuffers(
uint32 requested_num_of_buffers,
- const gfx::Size& dimensions,
- VideoDecodeAccelerator::MemoryType type);
+ const gfx::Size& dimensions);
virtual void DismissPictureBuffer(int32 picture_buffer_id);
virtual void PictureReady(const media::Picture& picture);
// Simple state changes.
@@ -512,11 +511,9 @@ void EglRenderingVDAClient::CreateDecoder() {
void EglRenderingVDAClient::ProvidePictureBuffers(
uint32 requested_num_of_buffers,
- const gfx::Size& dimensions,
- VideoDecodeAccelerator::MemoryType type) {
+ const gfx::Size& dimensions) {
if (decoder_deleted())
return;
- CHECK_EQ(type, VideoDecodeAccelerator::PICTUREBUFFER_MEMORYTYPE_GL_TEXTURE);
std::vector<media::GLESBuffer> buffers;
CHECK_EQ(dimensions.width(), kFrameWidth);
CHECK_EQ(dimensions.height(), kFrameHeight);

Powered by Google App Engine
This is Rietveld 408576698