~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/imbuf/intern/cineon/logmemfile.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Cineon image file format library routines.
 
3
 *
 
4
 * Copyright 2006 Joseph Eagar (joeedh@gmail.com)
 
5
 *
 
6
 * This program is free software; you can redistribute it and/or modify it
 
7
 * under the terms of the GNU General Public License as published by the Free
 
8
 * Software Foundation; either version 2 of the License, or (at your option)
 
9
 * any later version.
 
10
 *
 
11
 * This program is distributed in the hope that it will be useful, but
 
12
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
13
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
14
 * for more details.
 
15
 *
 
16
 * You should have received a copy of the GNU General Public License
 
17
 * along with this program; if not, write to the Free Software
 
18
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
19
 *
 
20
 * Contributor(s): Julien Enche.
 
21
 *
 
22
 */
 
23
 
1
24
/** \file blender/imbuf/intern/cineon/logmemfile.h
2
25
 *  \ingroup imbcineon
3
26
 */
4
 
/*
5
 
 *       Cineon image file format library routines.
6
 
 *
7
 
 *       Copyright 2006 Joseph Eagar (joeedh@gmail.com)
8
 
 *
9
 
 *       This program is free software; you can redistribute it and/or modify it
10
 
 *       under the terms of the GNU General Public License as published by the Free
11
 
 *       Software Foundation; either version 2 of the License, or (at your option)
12
 
 *       any later version.
13
 
 *
14
 
 *       This program is distributed in the hope that it will be useful, but
15
 
 *       WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
 
 *       or FITNESS FOR A PARTICULAR PURPOSE.    See the GNU General Public License
17
 
 *       for more details.
18
 
 *
19
 
 *       You should have received a copy of the GNU General Public License
20
 
 *       along with this program; if not, write to the Free Software
21
 
 *       Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22
 
 *
23
 
 */
24
 
 
 
27
 
 
28
 
25
29
#ifndef __LOGMEMFILE_H__
26
30
#define __LOGMEMFILE_H__
27
31
 
28
 
int logimage_fseek(void* logfile, intptr_t offsett, int origin);
29
 
int logimage_fwrite(void *buffer, unsigned int size, unsigned int count, void *logfile);
30
 
int logimage_fread(void *buffer, unsigned int size, unsigned int count, void *logfile);
31
 
 
32
 
#endif /* __LOGMEMFILE_H__ */
 
32
#include "logImageCore.h"
 
33
 
 
34
#include <stdlib.h>
 
35
 
 
36
int logimage_fseek(LogImageFile *logFile, intptr_t offset, int origin);
 
37
int logimage_fwrite(void *buffer, size_t size, unsigned int count, LogImageFile *logFile);
 
38
int logimage_fread(void *buffer, size_t size, unsigned int count, LogImageFile *logFile);
 
39
int logimage_read_uchar(unsigned char *x, LogImageFile *logFile);
 
40
int logimage_read_ushort(unsigned short *x, LogImageFile *logFile);
 
41
int logimage_read_uint(unsigned int *x, LogImageFile *logFile);
 
42
 
 
43
#endif  /* __LOGMEMFILE_H__ */