MSVC: add missing source files.
[L-SMASH.git] / core / file.h
blobda3316aa494684a593db62837059fe49e3a70762
1 /*****************************************************************************
2 * file.h
3 *****************************************************************************
4 * Copyright (C) 2014-2015 L-SMASH project
6 * Authors: Yusuke Nakamura <muken.the.vfrmaniac@gmail.com>
8 * Permission to use, copy, modify, and/or distribute this software for any
9 * purpose with or without fee is hereby granted, provided that the above
10 * copyright notice and this permission notice appear in all copies.
12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19 *****************************************************************************/
21 /* This file is available under an ISC license. */
23 int isom_check_compatibility
25 lsmash_file_t *file
28 int isom_check_mandatory_boxes
30 lsmash_file_t *file
33 int isom_rearrange_data
35 lsmash_file_t *file,
36 lsmash_adhoc_remux_t *remux,
37 uint8_t *buf[2],
38 size_t read_num,
39 size_t size,
40 uint64_t read_pos,
41 uint64_t write_pos,
42 uint64_t file_size