wrap direct ffmpeg reference
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
set(OLIVE_SOURCES
|
||||
${OLIVE_SOURCES}
|
||||
common/channellayout.h
|
||||
common/clamp.h
|
||||
common/lerp.h
|
||||
common/rational.h
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef CHANNELLAYOUT_H
|
||||
#define CHANNELLAYOUT_H
|
||||
|
||||
extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
}
|
||||
|
||||
#endif // CHANNELLAYOUT_H
|
||||
@@ -1,6 +1,11 @@
|
||||
#include "decibel.h"
|
||||
|
||||
decibel::decibel()
|
||||
{
|
||||
#include <QtMath>
|
||||
|
||||
double amplitude_to_db(double amplitude) {
|
||||
return (20.0*(qLn(amplitude)/qLn(10.0)));
|
||||
}
|
||||
|
||||
double db_to_amplitude(double db) {
|
||||
return qPow(M_E, (db*qLn(10.0))/20.0);
|
||||
}
|
||||
|
||||
@@ -20,10 +20,6 @@
|
||||
|
||||
#include "sequence.h"
|
||||
|
||||
extern "C" {
|
||||
#include <libavformat/avformat.h>
|
||||
}
|
||||
|
||||
#include <QDialogButtonBox>
|
||||
#include <QGroupBox>
|
||||
#include <QLabel>
|
||||
@@ -31,6 +27,7 @@ extern "C" {
|
||||
#include <QMessageBox>
|
||||
#include <QVBoxLayout>
|
||||
|
||||
#include "common/channellayout.h"
|
||||
#include "common/rational.h"
|
||||
#include "undo/undostack.h"
|
||||
|
||||
|
||||
@@ -21,10 +21,6 @@
|
||||
#ifndef AUDIOSTREAM_H
|
||||
#define AUDIOSTREAM_H
|
||||
|
||||
extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
}
|
||||
|
||||
#include "common/rational.h"
|
||||
#include "stream.h"
|
||||
|
||||
|
||||
@@ -20,10 +20,7 @@
|
||||
|
||||
#include "sequence.h"
|
||||
|
||||
extern "C" {
|
||||
#include <libavcodec/avcodec.h>
|
||||
}
|
||||
|
||||
#include "common/channellayout.h"
|
||||
#include "ui/icons/icons.h"
|
||||
|
||||
Sequence::Sequence()
|
||||
|
||||
Reference in New Issue
Block a user