|
FFmpeg
|
#include <stdint.h>#include <stdio.h>#include "libavutil/avstring.h"#include "libavutil/common.h"#include "libavutil/lfg.h"#include "libavutil/libm.h"#include "libavutil/log.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/samplefmt.h"#include "libavresample/avresample.h"Go to the source code of this file.
Macros | |
| #define | PUT_FUNC(name, fmt, type, expr) |
| #define | PUT_SAMPLE put_sample(data, sample_fmt, channels, k, ch, v); |
Functions | |
| static double | dbl_rand (AVLFG *lfg) |
| PUT_FUNC (u8, AV_SAMPLE_FMT_U8, uint8_t, av_clip_uint8(lrint(v_dbl *(1<< 7))+128)) | |
| static void | audiogen (AVLFG *rnd, void **data, enum AVSampleFormat sample_fmt, int channels, int sample_rate, int nb_samples) |
| int | main (int argc, char **argv) |
Variables | |
| static enum AVSampleFormat | formats [] |
| static const int | rates [] |
| static const uint64_t | layouts [] |
Definition at line 41 of file avresample.c.
|
static |
Definition at line 36 of file avresample.c.
Referenced by audiogen().
| PUT_FUNC | ( | u8 | , |
| AV_SAMPLE_FMT_U8 | , | ||
| uint8_t | , | ||
| av_clip_uint8(lrint(v_dbl *(1<< 7))+128) | |||
| ) |
Definition at line 54 of file avresample.c.
|
static |
Definition at line 82 of file avresample.c.
Referenced by main().
Definition at line 189 of file avresample.c.
|
static |
Definition at line 163 of file avresample.c.
|
static |
Definition at line 176 of file avresample.c.
Referenced by get_wb_bitrate_mode(), main(), query_formats(), and test_av_parse_video_rate().
|
static |
Definition at line 182 of file avresample.c.
Referenced by main().
1.8.17