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

Unified Diff: content/common/gpu/media/mac_video_decode_accelerator.h

Issue 11225045: Move a bunch of content\common code into the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 8 years, 2 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/mac_video_decode_accelerator.h
===================================================================
--- content/common/gpu/media/mac_video_decode_accelerator.h (revision 163460)
+++ content/common/gpu/media/mac_video_decode_accelerator.h (working copy)
@@ -25,6 +25,8 @@
class VideoDecodeAccelerationSupport;
}
+namespace content {
+
class GpuCommandBufferStub;
class CONTENT_EXPORT MacVideoDecodeAccelerator
@@ -64,8 +66,7 @@
bool CreateDecoder(const std::vector<uint8_t>& extra_data);
// Send the given NALU to the decoder.
- void DecodeNALU(const content::H264NALU& nalu,
- int32 bitstream_buffer_id);
+ void DecodeNALU(const H264NALU& nalu, int32 bitstream_buffer_id);
// Calls the client's initialize completed callback.
void NotifyInitializeDone();
@@ -120,10 +121,10 @@
bool did_build_config_record_;
// Parser for the H264 stream.
- content::H264Parser h264_parser_;
+ H264Parser h264_parser_;
// Utility to build the AVC configuration record.
- content::AVCConfigRecordBuilder config_record_builder_;
+ AVCConfigRecordBuilder config_record_builder_;
// Maps a bitstream ID to the number of NALUs that are being decoded for
// that bitstream. This is used to ensure that NotifyEndOfBitstreamBuffer()
@@ -131,4 +132,6 @@
std::map<int32, int> bitstream_nalu_count_;
};
+} // namespace content
+
#endif // CONTENT_COMMON_GPU_MEDIA_VIDEO_DECODE_ACCELERATOR_MAC_H_

Powered by Google App Engine
This is Rietveld 408576698