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

« back to all changes in this revision

Viewing changes to plugins/ADM_videoEncoder/ADM_vidEnc_avcodec/ffvhuffEncoder.cpp

  • 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
/***************************************************************************
 
2
                             ffvhuffEncoder.cpp
 
3
 
 
4
    begin                : Thu Jul 2 2009
 
5
    copyright            : (C) 2009 by gruntster
 
6
 ***************************************************************************/
 
7
 
 
8
/***************************************************************************
 
9
 *                                                                         *
 
10
 *   This program 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
 ***************************************************************************/
 
16
 
 
17
#include "ADM_inttype.h"
 
18
#include "ffvhuffEncoder.h"
 
19
 
 
20
FFVHuffEncoder::FFVHuffEncoder(void)
 
21
{
 
22
        init(CODEC_ID_FFVHUFF, ADM_CSP_YV12);
 
23
}
 
24
 
 
25
const char* FFVHuffEncoder::getEncoderType(void)
 
26
{
 
27
        return "FFVHuff";
 
28
}
 
29
 
 
30
const char* FFVHuffEncoder::getEncoderDescription(void)
 
31
{
 
32
        return "FFVHuff video encoder plugin for Avidemux (c) Mean/Gruntster";
 
33
}
 
34
 
 
35
const char* FFVHuffEncoder::getFourCC(void)
 
36
{
 
37
        return "FFVH";
 
38
}
 
39
 
 
40
const char* FFVHuffEncoder::getEncoderGuid(void)
 
41
{
 
42
        return "E5D8EAC6-71C1-4f3e-A975-B655232271FB";
 
43
}
 
44
 
 
45
int FFVHuffEncoder::getOptions(vidEncOptions *encodeOptions, char *pluginOptions, int bufferSize)
 
46
{
 
47
        if (encodeOptions)
 
48
        {
 
49
                encodeOptions->encodeMode = ADM_VIDENC_MODE_CQP;
 
50
                encodeOptions->encodeModeParameter = 1000;
 
51
        }
 
52
 
 
53
        return 0;
 
54
}
 
55
 
 
56
int FFVHuffEncoder::setOptions(vidEncOptions *encodeOptions, char *pluginOptions)
 
57
{
 
58
        return 0;
 
59
}