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

Side by Side Diff: source/libvpx/video_writer.h

Issue 168343002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: libvpx: Pull from upstream Created 6 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/video_reader.c ('k') | source/libvpx/video_writer.c » ('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 /*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef VIDEO_WRITER_H_
12 #define VIDEO_WRITER_H_
13
14 #include "./video_common.h"
15
16 typedef enum {
17 kContainerIVF
18 } VpxContainer;
19
20 struct VpxVideoWriterStruct;
21 typedef struct VpxVideoWriterStruct VpxVideoWriter;
22
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26
27 // Finds and opens writer for specified container format.
28 // Returns an opaque VpxVideoWriter* upon success, or NULL upon failure.
29 // Right now only IVF format is supported.
30 VpxVideoWriter *vpx_video_writer_open(const char *filename,
31 VpxContainer container,
32 const VpxVideoInfo *info);
33
34 // Frees all resources associated with VpxVideoWriter* returned from
35 // vpx_video_writer_open() call.
36 void vpx_video_writer_close(VpxVideoWriter *writer);
37
38 // Writes frame bytes to the file.
39 int vpx_video_writer_write_frame(VpxVideoWriter *writer,
40 const uint8_t *buffer, size_t size,
41 int64_t pts);
42
43 #ifdef __cplusplus
44 } // extern "C"
45 #endif
46
47 #endif // VIDEO_WRITER_H_
OLDNEW
« no previous file with comments | « source/libvpx/video_reader.c ('k') | source/libvpx/video_writer.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698