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

Unified Diff: media/base/encoded_bitstream_buffer.h

Issue 21421002: Revert EVS revisions 209760, 298753, 213143. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased at 216225, prepare to land Created 7 years, 4 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 | « ipc/ipc_message_start.h ('k') | media/base/encoded_bitstream_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/encoded_bitstream_buffer.h
diff --git a/media/base/encoded_bitstream_buffer.h b/media/base/encoded_bitstream_buffer.h
deleted file mode 100644
index bfefbe5b79467e8850c3ae07eef2d9c6656930ae..0000000000000000000000000000000000000000
--- a/media/base/encoded_bitstream_buffer.h
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright 2013 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_BASE_ENCODED_BITSTREAM_BUFFER_H_
-#define MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_
-
-#include "base/callback_forward.h"
-#include "base/memory/ref_counted.h"
-#include "base/memory/shared_memory.h"
-#include "base/time/time.h"
-#include "media/base/media_export.h"
-#include "media/video/video_encode_types.h"
-
-namespace media {
-
-// General encoded video bitstream buffer.
-class MEDIA_EXPORT EncodedBitstreamBuffer :
- public base::RefCountedThreadSafe<EncodedBitstreamBuffer> {
- public:
- EncodedBitstreamBuffer(int buffer_id,
- uint8* buffer,
- uint32 size,
- base::SharedMemoryHandle handle,
- const media::BufferEncodingMetadata& metadata,
- const base::Closure& destroy_cb);
- // Accessors for properties.
- int buffer_id() const;
- const uint8* buffer() const;
- uint32 size() const;
- base::SharedMemoryHandle shared_memory_handle() const;
- const media::BufferEncodingMetadata& metadata() const;
-
- protected:
- // Destructor that deallocates the buffers.
- virtual ~EncodedBitstreamBuffer();
- friend class base::RefCountedThreadSafe<EncodedBitstreamBuffer>;
-
- private:
- int buffer_id_;
- uint8* buffer_;
- uint32 size_;
- const base::SharedMemoryHandle shared_memory_handle_;
- media::BufferEncodingMetadata metadata_;
- const base::Closure destroy_cb_;
-
- DISALLOW_COPY_AND_ASSIGN(EncodedBitstreamBuffer);
-};
-
-} // namespace media
-
-#endif // MEDIA_BASE_ENCODED_BITSTREAM_BUFFER_H_
« no previous file with comments | « ipc/ipc_message_start.h ('k') | media/base/encoded_bitstream_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698