|
Olive
|
#include "cacher.h"#include "project/clip.h"#include "project/sequence.h"#include "project/transition.h"#include "project/footage.h"#include "playback/audio.h"#include "playback/playback.h"#include "project/effect.h"#include "panels/timeline.h"#include "panels/project.h"#include "panels/panels.h"#include "panels/viewer.h"#include "project/media.h"#include "io/config.h"#include "debug.h"#include <libavformat/avformat.h>#include <libavcodec/avcodec.h>#include <libswscale/swscale.h>#include <libswresample/swresample.h>#include <libavfilter/avfilter.h>#include <libavfilter/buffersrc.h>#include <libavfilter/buffersink.h>#include <libavutil/opt.h>#include <libavutil/pixdesc.h>#include <QOpenGLFramebufferObject>#include <QtMath>#include <QAudioOutput>#include <math.h>Macros | |
| #define | AUDIO_BUFFER_PADDING 2048 |
Functions | |
| double | bytes_to_seconds (int nb_bytes, int nb_channels, int sample_rate) |
| void | apply_audio_effects (ClipPtr c, double timecode_start, AVFrame *frame, int nb_bytes, QVector< ClipPtr > nests) |
| void | cache_audio_worker (ClipPtr c, bool scrubbing, QVector< ClipPtr > &nests, int playback_speed) |
| void | cache_video_worker (ClipPtr c, long playhead) |
| void | reset_cache (ClipPtr c, long target_frame, int playback_speed) |
| void | open_clip_worker (ClipPtr clip) |
| void | cache_clip_worker (ClipPtr clip, long playhead, bool reset, bool scrubbing, QVector< ClipPtr > nests, int playback_speed) |
| void | close_clip_worker (ClipPtr clip) |
Variables | |
| AVSampleFormat | sample_format = AV_SAMPLE_FMT_S16 |
| #define AUDIO_BUFFER_PADDING 2048 |
| void apply_audio_effects | ( | ClipPtr | c, |
| double | timecode_start, | ||
| AVFrame * | frame, | ||
| int | nb_bytes, | ||
| QVector< ClipPtr > | nests | ||
| ) |
| double bytes_to_seconds | ( | int | nb_bytes, |
| int | nb_channels, | ||
| int | sample_rate | ||
| ) |
| void cache_audio_worker | ( | ClipPtr | c, |
| bool | scrubbing, | ||
| QVector< ClipPtr > & | nests, | ||
| int | playback_speed | ||
| ) |
| void cache_clip_worker | ( | ClipPtr | clip, |
| long | playhead, | ||
| bool | reset, | ||
| bool | scrubbing, | ||
| QVector< ClipPtr > | nests, | ||
| int | playback_speed | ||
| ) |
| void cache_video_worker | ( | ClipPtr | c, |
| long | playhead | ||
| ) |
| void close_clip_worker | ( | ClipPtr | clip | ) |
| void open_clip_worker | ( | ClipPtr | clip | ) |
| void reset_cache | ( | ClipPtr | c, |
| long | target_frame, | ||
| int | playback_speed | ||
| ) |
| AVSampleFormat sample_format = AV_SAMPLE_FMT_S16 |
1.8.15