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

Unified Diff: media/filters/video_frame_generator.h

Issue 12320078: Delete old RTCVideoDecoder code path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make the line no longer than 80 chars Created 7 years, 10 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
« no previous file with comments | « media/filters/dummy_demuxer.cc ('k') | media/filters/video_frame_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/video_frame_generator.h
diff --git a/media/filters/video_frame_generator.h b/media/filters/video_frame_generator.h
deleted file mode 100644
index 2a4667f8364ff8a575b37bf2ea465317d75bc8cb..0000000000000000000000000000000000000000
--- a/media/filters/video_frame_generator.h
+++ /dev/null
@@ -1,63 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_FILTERS_VIDEO_FRAME_GENERATOR_H_
-#define MEDIA_FILTERS_VIDEO_FRAME_GENERATOR_H_
-
-#include "base/time.h"
-#include "media/base/video_decoder.h"
-#include "media/base/pipeline_status.h"
-
-namespace base {
-class MessageLoopProxy;
-}
-
-namespace media {
-
-class DemuxerStream;
-class VideoFrame;
-
-// A filter generates raw frames and passes them to media engine as a video
-// decoder filter.
-class MEDIA_EXPORT VideoFrameGenerator : public VideoDecoder {
- public:
- VideoFrameGenerator(
- const scoped_refptr<base::MessageLoopProxy>& message_loop_proxy,
- const gfx::Size& size,
- const base::TimeDelta& frame_duration);
-
- // VideoDecoder implementation.
- virtual void Initialize(
- const scoped_refptr<DemuxerStream>& stream,
- const PipelineStatusCB& status_cb,
- const StatisticsCB& statistics_cb) OVERRIDE;
- virtual void Read(const ReadCB& read_cb) OVERRIDE;
- virtual void Reset(const base::Closure& closure) OVERRIDE;
- virtual void Stop(const base::Closure& closure) OVERRIDE;
-
- protected:
- virtual ~VideoFrameGenerator();
-
- private:
- void InitializeOnDecoderThread(
- const scoped_refptr<DemuxerStream>& stream,
- const PipelineStatusCB& status_cb,
- const StatisticsCB& statistics_cb);
- void ReadOnDecoderThread(const ReadCB& read_cb);
- void ResetOnDecoderThread(const base::Closure& closure);
- void StopOnDecoderThread(const base::Closure& closure);
-
- scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
- gfx::Size size_;
- bool stopped_;
-
- base::TimeDelta current_time_;
- base::TimeDelta frame_duration_;
-
- DISALLOW_COPY_AND_ASSIGN(VideoFrameGenerator);
-};
-
-} // namespace media
-
-#endif // MEDIA_FILTERS_VIDEO_FRAME_GENERATOR_H_
« no previous file with comments | « media/filters/dummy_demuxer.cc ('k') | media/filters/video_frame_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698