FFmpeg
|
avisynth.c
Go to the documentation of this file.
391 static void avisynth_next_stream(AVFormatContext *s, AVStream **st, AVPacket *pkt, int *discard) {
596 static int avisynth_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags) {
void * av_mallocz(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
Definition: mem.c:205
Definition: avisynth_c.h:92
Definition: avisynth_c.h:142
AVSC_INLINE int avs_get_height_p(const AVS_VideoFrame *p, int plane)
Definition: avisynth_c.h:429
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
Definition: avisynth_c.h:141
AVSC_INLINE int avs_get_row_size_p(const AVS_VideoFrame *p, int plane)
Definition: avisynth_c.h:404
Definition: avisynth_c.h:503
Definition: avformat.h:456
Definition: avisynth_c.h:87
void av_freep(void *arg)
Free a memory block which has been allocated with av_malloc(z)() or av_realloc() and set the pointer ...
Definition: mem.c:198
initialize output if(nPeaks >3)%at least 3 peaks in spectrum for trying to find f0 nf0peaks
Definition: avisynth_c.h:89
static int avisynth_read_packet_audio(AVFormatContext *s, AVPacket *pkt, int discard)
Definition: avisynth.c:479
Definition: avisynth_c.h:148
Definition: avisynth_c.h:85
AVStream * avformat_new_stream(AVFormatContext *s, const AVCodec *c)
Add a new stream to a media file.
Definition: libavformat/utils.c:3362
PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: old_pix_fmts.h:31
AVSC_INLINE const BYTE * avs_get_read_ptr_p(const AVS_VideoFrame *p, int plane)
Definition: avisynth_c.h:440
int duration
Duration of this packet in AVStream->time_base units, 0 if unknown.
Definition: libavcodec/avcodec.h:1073
Definition: avisynth_c.h:385
Definition: avisynth_c.h:88
static av_cold int avisynth_read_close(AVFormatContext *s)
Definition: avisynth.c:587
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq)
Rescale a 64-bit integer by 2 rational numbers.
Definition: mathematics.c:130
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: avutil.h:144
Definition: avisynth.c:62
static int avisynth_read_packet_video(AVFormatContext *s, AVPacket *pkt, int discard)
Definition: avisynth.c:407
static int avisynth_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: avisynth.c:557
AVSC_INLINE AVS_Value avs_new_value_string(const char *v0)
Definition: avisynth_c.h:561
Definition: avisynth_c.h:201
static int avisynth_create_stream_video(AVFormatContext *s, AVStream *st)
Definition: avisynth.c:224
AVSC_INLINE int avs_get_pitch_p(const AVS_VideoFrame *p, int plane)
Definition: avisynth_c.h:396
Definition: avisynth_c.h:143
static int avisynth_create_stream_audio(AVFormatContext *s, AVStream *st)
Definition: avisynth.c:297
Definition: avisynth_c.h:86
Definition: avisynth_c.h:150
PIX_FMT_YUV444P
planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples)
Definition: old_pix_fmts.h:31
#define LOAD_AVS_FUNC(name, continue_on_fail)
void * av_malloc(size_t size)
Allocate a block of size bytes with alignment suitable for all memory accesses (including vectors if ...
Definition: mem.c:73
Definition: avisynth_c.h:151
AVSC_INLINE int avs_bytes_per_channel_sample(const AVS_VideoInfo *p)
Definition: avisynth_c.h:300
static int avisynth_create_stream(AVFormatContext *s)
Definition: avisynth.c:329
Main libavformat public API header.
Definition: avisynth_c.h:93
static int avisynth_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: avisynth.c:596
common internal api header.
int64_t start_time
Decoding: pts of the first frame of the stream in presentation order, in stream time base...
Definition: avformat.h:689
AVSC_INLINE int avs_bits_per_pixel(const AVS_VideoInfo *p)
Definition: avisynth_c.h:276
PIX_FMT_YUV411P
planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples)
Definition: old_pix_fmts.h:31
Definition: avisynth_c.h:155
Definition: avisynth.c:81
int64_t dts
Decompression timestamp in AVStream->time_base units; the time at which the packet is decompressed...
Definition: libavcodec/avcodec.h:1050
static av_cold int avisynth_context_create(AVFormatContext *s)
Definition: avisynth.c:158
Filter the word “frame” indicates either a video frame or a group of audio samples
Definition: filter_design.txt:2
Definition: avutil.h:143
Definition: avisynth_c.h:91
static av_cold void avisynth_context_destroy(AviSynthContext *avs)
Definition: avisynth.c:186
AVRational time_base
This is the fundamental unit of time (in seconds) in terms of which frame timestamps are represented...
Definition: avformat.h:679
PIX_FMT_YUV422P
planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples)
Definition: old_pix_fmts.h:31
static av_cold int avisynth_read_header(AVFormatContext *s)
Definition: avisynth.c:541
Definition: avisynth_c.h:153
static void avisynth_next_stream(AVFormatContext *s, AVStream **st, AVPacket *pkt, int *discard)
Definition: avisynth.c:391
Definition: avisynth_c.h:149
int64_t pts
Presentation timestamp in AVStream->time_base units; the time at which the decompressed packet will b...
Definition: libavcodec/avcodec.h:1044
Generated on Mon Nov 18 2024 06:51:52 for FFmpeg by 1.8.11