PageRenderTime 26ms CodeModel.GetById 19ms app.highlight 4ms RepoModel.GetById 2ms app.codeStats 0ms

/src/dump.h

https://code.google.com/
C++ Header | 55 lines | 20 code | 8 blank | 27 comment | 0 complexity | 9588609265f1d30d3fb99c1c2cc7015b MD5 | raw file
 1/*
 2    $Id: dump.h 231 2011-06-27 13:46:19Z marc.noirot $
 3
 4    FLV Metadata updater
 5
 6    Copyright (C) 2007-2012 Marc Noirot <marc.noirot AT gmail.com>
 7
 8    This file is part of FLVMeta.
 9
10    FLVMeta is free software; you can redistribute it and/or modify
11    it under the terms of the GNU General Public License as published by
12    the Free Software Foundation; either version 2 of the License, or
13    (at your option) any later version.
14
15    FLVMeta is distributed in the hope that it will be useful,
16    but WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18    GNU General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with FLVMeta; if not, write to the Free Software
22    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
23*/
24#ifndef __DUMP_H__
25#define __DUMP_H__
26
27#include "flvmeta.h"
28
29#ifdef __cplusplus
30extern "C" {
31#endif /* __cplusplus */
32
33/* common FLV strings */
34const char * dump_string_get_tag_type(flv_tag * tag);
35const char * dump_string_get_video_codec(flv_video_tag tag);
36const char * dump_string_get_video_frame_type(flv_video_tag tag);
37const char * dump_string_get_sound_type(flv_audio_tag tag);
38const char * dump_string_get_sound_size(flv_audio_tag tag);
39const char * dump_string_get_sound_rate(flv_audio_tag tag);
40const char * dump_string_get_sound_format(flv_audio_tag tag);
41
42/* dump metadata from a FLV file */
43int dump_metadata(const flvmeta_opts * options);
44
45/* dump the full contents of an FLV file */
46int dump_flv_file(const flvmeta_opts * options);
47
48/* dump AMF data directly */
49int dump_amf_data(const amf_data * data, const flvmeta_opts * options);
50
51#ifdef __cplusplus
52}
53#endif /* __cplusplus */
54
55#endif /* __DUMP_H__ */