media/libvorbis/lib/lookup.h

Tue, 06 Jan 2015 21:39:09 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 06 Jan 2015 21:39:09 +0100
branch
TOR_BUG_9701
changeset 8
97036ab72558
permissions
-rw-r--r--

Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.

     1 /********************************************************************
     2  *                                                                  *
     3  * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE.   *
     4  * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS     *
     5  * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
     6  * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING.       *
     7  *                                                                  *
     8  * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009             *
     9  * by the Xiph.Org Foundation http://www.xiph.org/                  *
    10  *                                                                  *
    11  ********************************************************************
    13   function: lookup based functions
    14   last mod: $Id: lookup.h 16227 2009-07-08 06:58:46Z xiphmont $
    16  ********************************************************************/
    18 #ifndef _V_LOOKUP_H_
    20 #ifdef FLOAT_LOOKUP
    21 extern float vorbis_coslook(float a);
    22 extern float vorbis_invsqlook(float a);
    23 extern float vorbis_invsq2explook(int a);
    24 extern float vorbis_fromdBlook(float a);
    25 #endif
    26 #ifdef INT_LOOKUP
    27 extern long vorbis_invsqlook_i(long a,long e);
    28 extern long vorbis_coslook_i(long a);
    29 extern float vorbis_fromdBlook_i(long a);
    30 #endif
    32 #endif

mercurial