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

Side by Side Diff: chrome/browser/chromeos/ebml_writer.cc

Issue 10784037: [cros] Implement WebM encoder/muxer for animated avatar capture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes 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
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 "chrome/browser/chromeos/ebml_writer.h"
6
7 extern "C" {
8 #include "third_party/libvpx/source/libvpx/libmkv/EbmlWriter.h"
9
10 // These functions must be in the global namespace and visible to libmkv.
11
12 __attribute__((__visibility__("default")))
13 void Ebml_Write(EbmlGlobal *glob, const void *buffer, unsigned long len) {
14 glob->write_cb.Run(buffer, len);
15 }
16
17 __attribute__((__visibility__("default")))
18 void Ebml_Serialize(EbmlGlobal *glob,
19 const void *buffer,
20 int buffer_size,
21 unsigned long len) {
22 glob->serialize_cb.Run(buffer, buffer_size, len);
23 }
24
25 } // extern "C"
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698