1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #include "media/filters/mock_gpu_video_accelerator_factories.h" 6 7 namespace media { 8 MockGpuVideoAcceleratorFactories()9MockGpuVideoAcceleratorFactories::MockGpuVideoAcceleratorFactories() {} 10 ~MockGpuVideoAcceleratorFactories()11MockGpuVideoAcceleratorFactories::~MockGpuVideoAcceleratorFactories() {} 12 13 scoped_ptr<VideoDecodeAccelerator> CreateVideoDecodeAccelerator(VideoCodecProfile profile,VideoDecodeAccelerator::Client * client)14MockGpuVideoAcceleratorFactories::CreateVideoDecodeAccelerator( 15 VideoCodecProfile profile, 16 VideoDecodeAccelerator::Client* client) { 17 return scoped_ptr<VideoDecodeAccelerator>( 18 DoCreateVideoDecodeAccelerator(profile, client)); 19 } 20 21 scoped_ptr<VideoEncodeAccelerator> CreateVideoEncodeAccelerator(VideoEncodeAccelerator::Client * client)22MockGpuVideoAcceleratorFactories::CreateVideoEncodeAccelerator( 23 VideoEncodeAccelerator::Client* client) { 24 return scoped_ptr<VideoEncodeAccelerator>( 25 DoCreateVideoEncodeAccelerator(client)); 26 } 27 28 } // namespace media 29