~ubuntu-branches/ubuntu/oneiric/avidemux/oneiric-proposed

« back to all changes in this revision

Viewing changes to plugins/ADM_videoFilters/Ass/ADM_libass/mputils.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2009-08-20 08:42:44 UTC
  • mfrom: (1.1.14 upstream)
  • Revision ID: james.westby@ubuntu.com-20090820084244-bhh15xxd7x2vbcuh
Tags: 1:2.5.1+repack-0ubuntu1
* New upstream bugfix release (LP: #416066):
  - Re-enabled several video and audio encoders (regression introduced
    in 2.5.0)
  - Updated the FFmpeg libraries
  - More video encoders are now plugins
  - DV video encoder now supports more profiles
  - Fixed loading and saving issues with LAME, x264 and Xvid options
    (regression introduced in 2.5.0)
  - Fraps video decoding support
  - Lowpass-5 mode added to libavcodec deinterlacer filter plugin
  - Fixed formatting of parameters for various filters on 64-bit platforms
  - Updated libass
  - Fixed sizing of the bitrate control on various video encoder configure
    windows (regression introduced in 2.5.0)
  - Improved filter dialog for GTK+ interface
  - New navigation icons for GTK+ interface
  - Fixed the behaviour of several GTK+ open/save dialogs (regression
    introduced in 2.5.0)
  - asharp filter's Block Adaptive mode can now be disabled using the Qt
    interface
  - Re-enabled the colour chooser dialog using the Qt interface (regression
    introduced in 2.5.0)
  - GCC 4.4 support
  - Fixed issues with CMake build scripts when using multiple make jobs
    (regression introduced in 2.5.0)
* Remove debian/patches dir and drop all patches, now applied by upstream.
* Drop quilt support.
* debian/libavidemux0.install: Also install missing libraries.
* Move debian/install to debian/avidemux.install.
* debian/rules:
  - Build the internal ffmpeg version properly (thanks to Christian Marillat).
  - A bit of cleanup.
* debian/control:
  - Bump Standards-Version.
  - Update Homepage field.
  - Adjust libavidemux0 short description.
  - gtk -> GTK, qt -> QT.
  - Set myself as Maintainer.
* Repack the tarball to remove the debian/ dir provided by upstream:
  - Create debian/README.source.
  - Update debian/watch.
  - Add get-orig-source target to debian/rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __MPUTILS_H__
2
 
#define __MPUTILS_H__
3
 
 
4
 
#include "help_mp.h"
5
 
 
6
 
unsigned utf8_get_char(char **str);
7
 
 
8
 
void my_mp_msg(int lvl, char *lvl_str, char *fmt, ...);
9
 
 
10
 
#ifdef __VISUALC__
11
 
static void mp_msg(int mod, int level, const char *fmt, ...) {
12
 
        // MSVC doesn't like the # used all around for mp_msg, so it breaks va_arg
13
 
}
14
 
#else
15
 
#define mp_msg(mod, level, args...) my_mp_msg(level, #level, args)
16
 
#endif
17
 
 
18
 
#define MSGT_ASS 43
19
 
 
20
 
#define MSGL_FATAL 0
21
 
#define MSGL_ERR 1
22
 
#define MSGL_WARN 2
23
 
#define MSGL_INFO 4
24
 
#define MSGL_V 6
25
 
#define MSGL_DBG2 7
26
 
 
27
 
void blur(unsigned char *buffer, unsigned short *tmp2, int width, int height,
28
 
          int stride, int *m2, int r, int mwidth);
29
 
 
30
 
void* guess_buffer_cp(unsigned char* buffer, int buflen, char *preferred_language, char *fallback);
31
 
 
32
 
#define FFMAX(a,b) ((a) > (b) ? (a) : (b))
33
 
#define FFMIN(a,b) ((a) > (b) ? (b) : (a))
34
 
 
35
 
#endif