~ubuntu-branches/ubuntu/intrepid/blender/intrepid-updates

« back to all changes in this revision

Viewing changes to source/blender/imbuf/intern/IMB_anim.h

  • Committer: Bazaar Package Importer
  • Author(s): Cyril Brulebois
  • Date: 2008-08-08 02:45:40 UTC
  • mfrom: (12.1.14 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080808024540-kkjp7ekfivzhuw3l
Tags: 2.46+dfsg-4
* Fix python syntax warning in import_dxf.py, which led to nasty output
  in installation/upgrade logs during byte-compilation, using a patch
  provided by the script author (Closes: #492280):
   - debian/patches/45_fix_python_syntax_warning

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
2
 * allocimbuf.h
3
3
 *
4
 
 * $Id: IMB_anim.h,v 1.7 2006/03/07 20:01:11 schlaile Exp $
 
4
 * $Id: IMB_anim.h 14444 2008-04-16 22:40:48Z hos $
5
5
 *
6
 
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
 
6
 * ***** BEGIN GPL LICENSE BLOCK *****
7
7
 *
8
8
 * This program is free software; you can redistribute it and/or
9
9
 * modify it under the terms of the GNU General Public License
10
10
 * as published by the Free Software Foundation; either version 2
11
 
 * of the License, or (at your option) any later version. The Blender
12
 
 * Foundation also sells licenses for use in proprietary software under
13
 
 * the Blender License.  See http://www.blender.org/BL/ for information
14
 
 * about this.
 
11
 * of the License, or (at your option) any later version.
15
12
 *
16
13
 * This program is distributed in the hope that it will be useful,
17
14
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29
26
 *
30
27
 * Contributor(s): none yet.
31
28
 *
32
 
 * ***** END GPL/BL DUAL LICENSE BLOCK *****
 
29
 * ***** END GPL LICENSE BLOCK *****
33
30
 */
34
31
 
35
32
#ifndef IMB_ANIM_H
81
78
#ifdef WITH_FFMPEG
82
79
#include <ffmpeg/avformat.h>
83
80
#include <ffmpeg/avcodec.h>
 
81
#include <ffmpeg/swscale.h>
84
82
#endif
85
83
 
86
84
#include "IMB_imbuf_types.h"
98
96
#define SWAP_S(x) (((x << 8) & 0xff00) | ((x >> 8) & 0xff))
99
97
 
100
98
/* more endianness... should move to a separate file... */
101
 
#if defined(__sgi) || defined (__sparc) || (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__BIG_ENDIAN__)
 
99
#if defined(__sgi) || defined (__sparc) || (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__)
102
100
#define GET_ID GET_BIG_LONG
103
101
#define LITTLE_LONG SWAP_LONG
104
102
#else
181
179
        AVCodecContext *pCodecCtx;
182
180
        AVCodec *pCodec;
183
181
        AVFrame *pFrameRGB;
184
 
        AVFrame *pFrame; 
 
182
        AVFrame *pFrame;
 
183
        struct SwsContext *img_convert_ctx;
185
184
        int videoStream;
186
185
#endif
187
186