Go to the source code of this file.
 | 
| enum   | ws_interval_type { WS_SINE = MKTAG('S','I','N','E'), 
WS_NOISE = MKTAG('N','O','I','S'), 
WS_SINE = MKTAG('S','I','N','E'), 
WS_NOISE = MKTAG('N','O','I','S')
 } | 
|   | 
 | 
| static uint32_t  | lcg_next (uint32_t *s) | 
|   | 
| static void  | lcg_seek (uint32_t *s, int64_t dt) | 
|   | 
| static void  | pink_fill (struct wavesynth_context *ws) | 
|   | 
| static uint64_t  | frac64 (uint64_t a, uint64_t b) | 
|   | 
| static uint64_t  | phi_at (struct ws_interval *in, int64_t ts) | 
|   | 
| static void  | wavesynth_seek (struct wavesynth_context *ws, int64_t ts) | 
|   | 
| static int  | wavesynth_parse_extradata (AVCodecContext *avc) | 
|   | 
| static av_cold int  | wavesynth_init (AVCodecContext *avc) | 
|   | 
| static void  | wavesynth_synth_sample (struct wavesynth_context *ws, int64_t ts, int32_t *channels) | 
|   | 
| static void  | wavesynth_enter_intervals (struct wavesynth_context *ws, int64_t ts) | 
|   | 
| static int  | wavesynth_decode (AVCodecContext *avc, void *rframe, int *rgot_frame, AVPacket *packet) | 
|   | 
| static av_cold int  | wavesynth_close (AVCodecContext *avc) | 
|   | 
      
        
          | #define WS_MAX_CHANNELS   32 | 
        
      
 
 
      
        
          | #define INF_TS   0x7FFFFFFFFFFFFFFF | 
        
      
 
 
      
        
          | #define LCG_AI   849225893 /* A*AI = 1 [mod 1<<32] */ | 
        
      
 
 
| Enumerator | 
|---|
| WS_SINE  | 
 | 
| WS_NOISE  | 
 | 
| WS_SINE  | 
 | 
| WS_NOISE  | 
 | 
Definition at line 77 of file ffwavesynth.c.
 
 
  
  
      
        
          | static uint32_t lcg_next  | 
          ( | 
          uint32_t *  | 
          s | ) | 
           | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static void lcg_seek  | 
          ( | 
          uint32_t *  | 
          s,  | 
         
        
           | 
           | 
          int64_t  | 
          dt  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static uint64_t frac64  | 
          ( | 
          uint64_t  | 
          a,  | 
         
        
           | 
           | 
          uint64_t  | 
          b  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
  
  
      
        
          | static uint64_t phi_at  | 
          ( | 
          struct ws_interval *  | 
          in,  | 
         
        
           | 
           | 
          int64_t  | 
          ts  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
Initial value:= {
    .name           = "wavesynth",
}
static av_cold int init(AVCodecContext *avctx)
 
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
 
static av_cold int wavesynth_init(AVCodecContext *avc)
 
static int wavesynth_decode(AVCodecContext *avc, void *rframe, int *rgot_frame, AVPacket *packet)
 
static av_cold int wavesynth_close(AVCodecContext *avc)
 
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators. 
 
 
Definition at line 471 of file ffwavesynth.c.