Go to the source code of this file.
 | 
| static double  | get (uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f) | 
|   | 
| static void  | set (uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f, double v) | 
|   | 
| static void  | shift (uint8_t *a[], int index, int ch_count, enum AVSampleFormat f) | 
|   | 
| static void  | setup_array (uint8_t *out[SWR_CH_MAX], uint8_t *in, enum AVSampleFormat format, int samples) | 
|   | 
| static int  | cmp (const void *a, const void *b) | 
|   | 
| static void  | audiogen (void *data, enum AVSampleFormat sample_fmt, int channels, int sample_rate, int nb_samples) | 
|   | 
| int  | main (int argc, char **argv) | 
|   | 
◆ SAMPLES
◆ SWR_CH_MAX
◆ ASSERT_LEVEL
◆ PUT_SAMPLE
◆ uint_rand
      
        
          | #define uint_rand | 
          ( | 
            | 
          x | ) | 
             ((x) = (x) * 1664525 + 1013904223) | 
        
      
 
 
◆ dbl_rand
◆ get()
◆ set()
Definition at line 59 of file swresample.c.
Referenced by av_hwdevice_iterate_types(), decode_channel(), ff_hashtable_set(), ff_vk_shader_add_descriptor_set(), ff_vk_shader_free(), ff_vk_shader_register_exec(), ff_vk_shader_update_desc_buffer(), ff_vk_shader_update_img(), ff_vk_shader_update_img_array(), init_descriptors(), main(), output_mpd(), planar_rgb_to_uv_lasx(), planar_rgb_to_y_lasx(), update_set_descriptor(), and update_set_pool_write().
 
 
◆ shift()
  
  
      
        
          | static void shift  | 
          ( | 
          uint8_t *  | 
          a[],  | 
         
        
           | 
           | 
          int  | 
          index,  | 
         
        
           | 
           | 
          int  | 
          ch_count,  | 
         
        
           | 
           | 
          enum AVSampleFormat  | 
          f  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ setup_array()
  
  
      
        
          | static void setup_array  | 
          ( | 
          uint8_t *  | 
          out[SWR_CH_MAX],  | 
         
        
           | 
           | 
          uint8_t *  | 
          in,  | 
         
        
           | 
           | 
          enum AVSampleFormat  | 
          format,  | 
         
        
           | 
           | 
          int  | 
          samples  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ cmp()
  
  
      
        
          | static int cmp  | 
          ( | 
          const void *  | 
          a,  | 
         
        
           | 
           | 
          const void *  | 
          b  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ audiogen()
  
  
      
        
          | static void audiogen  | 
          ( | 
          void *  | 
          data,  | 
         
        
           | 
           | 
          enum AVSampleFormat  | 
          sample_fmt,  | 
         
        
           | 
           | 
          int  | 
          channels,  | 
         
        
           | 
           | 
          int  | 
          sample_rate,  | 
         
        
           | 
           | 
          int  | 
          nb_samples  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
static   | 
  
 
 
◆ main()
      
        
          | int main  | 
          ( | 
          int  | 
          argc,  | 
        
        
           | 
           | 
          char **  | 
          argv  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ formats
◆ rates
◆ layouts