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

Side by Side Diff: media/webm/chromeos/ebml_writer.cc

Issue 10809068: Revert 148024 - [cros] Implement WebM encoder/muxer for animated avatar capture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « media/webm/chromeos/ebml_writer.h ('k') | media/webm/chromeos/webm_encoder.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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/webm/chromeos/ebml_writer.h"
6
7 #include "media/base/media_export.h"
8
9 extern "C" {
10 #include "third_party/libvpx/source/libvpx/libmkv/EbmlWriter.h"
11
12 // These functions must be in the global namespace and visible to libmkv.
13
14 void MEDIA_EXPORT Ebml_Write(EbmlGlobal* glob,
15 const void* buffer,
16 unsigned long len) {
17 glob->write_cb.Run(buffer, len);
18 }
19
20 void MEDIA_EXPORT Ebml_Serialize(EbmlGlobal* glob,
21 const void* buffer,
22 int buffer_size,
23 unsigned long len) {
24 glob->serialize_cb.Run(buffer, buffer_size, len);
25 }
26
27 } // extern "C"
OLDNEW
« no previous file with comments | « media/webm/chromeos/ebml_writer.h ('k') | media/webm/chromeos/webm_encoder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698