1
/***************************************************************************
5
copyright : (C) 2009 by gruntster
6
***************************************************************************/
8
/***************************************************************************
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. *
15
***************************************************************************/
17
#include "ADM_inttype.h"
18
#include "ffvhuffEncoder.h"
20
FFVHuffEncoder::FFVHuffEncoder(void)
22
init(CODEC_ID_FFVHUFF, ADM_CSP_YV12);
25
const char* FFVHuffEncoder::getEncoderType(void)
30
const char* FFVHuffEncoder::getEncoderDescription(void)
32
return "FFVHuff video encoder plugin for Avidemux (c) Mean/Gruntster";
35
const char* FFVHuffEncoder::getFourCC(void)
40
const char* FFVHuffEncoder::getEncoderGuid(void)
42
return "E5D8EAC6-71C1-4f3e-A975-B655232271FB";
45
int FFVHuffEncoder::getOptions(vidEncOptions *encodeOptions, char *pluginOptions, int bufferSize)
49
encodeOptions->encodeMode = ADM_VIDENC_MODE_CQP;
50
encodeOptions->encodeModeParameter = 1000;
56
int FFVHuffEncoder::setOptions(vidEncOptions *encodeOptions, char *pluginOptions)