/system/media/opensles/libopensles/ |
IPitch.c | 17 /* Pitch implementation */ 22 static SLresult IPitch_SetPitch(SLPitchItf self, SLpermille pitch) 28 if (!(this->mMinPitch <= pitch && pitch <= this->mMaxPitch)) { 32 this->mPitch = pitch; 50 SLpermille pitch = this->mPitch; local 52 *pPitch = pitch;
|
/frameworks/base/media/libstagefright/codecs/avc/dec/src/ |
pred_intra.cpp | 40 int pitch = currPic->pitch; local 43 offset = (video->mb_y << 4) * pitch + (video->mb_x << 4); 52 video->pred_pitch = pitch; 63 comp = curL;// + (block_x<<2) + (block_y<<2)*currPic->pitch; 82 itrans(dataBlock, comp, comp, pitch); 94 comp += ((pitch << 2) - 4); 113 curL += (pitch << 3) - 8; 135 pitch = 1; 137 video->pintra_pred_top = curL - pitch; 367 int pitch; local 513 int pitch = video->currPic->pitch; local [all...] |
/external/freetype/src/base/ |
ftbitmap.c | 47 FT_Int pitch = source->pitch; local 61 if ( pitch < 0 ) 62 pitch = -pitch; 63 size = (FT_ULong)( pitch * source->rows ); 67 FT_Int target_pitch = target->pitch; 104 int pitch; local 113 pitch = bitmap->pitch; 221 FT_Int i, x, y, pitch; local [all...] |
ftlcdfil.c | 47 for ( ; height > 0; height--, line += bitmap->pitch ) 102 FT_Int pitch = bitmap->pitch; local 118 col += pitch; 125 col += pitch; 141 col[-2 * pitch] = (FT_Byte)pix; 142 col += pitch; 151 col[-2 * pitch] = (FT_Byte)pix; 155 col[-pitch] = (FT_Byte)pix; 172 FT_Int pitch = bitmap->pitch local [all...] |
/external/libvpx/vp8/common/ppc/ |
systemdependent.c | 19 void (*vp8_short_idct4x4)(short *input, short *output, int pitch); 20 void (*vp8_short_idct4x4_1)(short *input, short *output, int pitch); 21 void (*vp8_dc_only_idct)(short input_dc, short *output, int pitch); 33 extern void (*vp8_mbpost_proc_down)(unsigned char *dst, int pitch, int rows, int cols, int flimit); 34 extern void vp8_mbpost_proc_down_c(unsigned char *dst, int pitch, int rows, int cols, int flimit); 35 extern void (*vp8_mbpost_proc_across_ip)(unsigned char *src, int pitch, int rows, int cols, int flimit); 36 extern void vp8_mbpost_proc_across_ip_c(unsigned char *src, int pitch, int rows, int cols, int flimit); 48 void vp8_plane_add_noise_c(unsigned char *Start, unsigned int Width, unsigned int Height, int Pitch, int q, int a); 70 extern void short_idct4x4llm_ppc(short *input, short *output, int pitch); 90 extern void vp8_short_idct4x4llm_1_c(short *input, short *output, int pitch); [all...] |
/external/libvpx/vp8/decoder/ |
dequantize.c | 18 extern void vp8_short_idct4x4llm_c(short *input, short *output, int pitch) ; 19 extern void vp8_short_idct4x4llm_1_c(short *input, short *output, int pitch); 36 unsigned char *dest, int pitch, int stride) 48 /* the idct halves ( >> 1) the pitch */ 70 pred += pitch; 75 unsigned char *dest, int pitch, int stride, 90 /* the idct halves ( >> 1) the pitch */ 112 pred += pitch;
|
/external/speex/libspeex/ |
ltp.h | 54 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack); 57 /** Finds the best quantized 3-tap pitch predictor by analysis by synthesis */ 66 int start, /* Smallest pitch value allowed */ 67 int end, /* Largest pitch value allowed */ 68 spx_word16_t pitch_coef, /* Voicing (pitch) coefficient */ 81 /*Unquantize adaptive codebook and update pitch contribution*/ 85 int start, /* Smallest pitch value allowed */ 86 int end, /* Largest pitch value allowed */ 87 spx_word16_t pitch_coef, /* Voicing (pitch) coefficient */ 100 /** Forced pitch delay and gain * [all...] |
ltp.c | 173 void open_loop_nbest_pitch(spx_word16_t *sw, int start, int end, int len, int *pitch, spx_word16_t *gain, int N, char *stack) 209 pitch[i]=start; 234 /* Update energy for next pitch*/ 260 /* Search for the best pitch prediction gain */ 270 pitch[N-1]=i; 280 pitch[k]=pitch[k-1]; 284 pitch[j]=i; 297 i=pitch[j]; 347 /** Finds the best quantized 3-tap pitch predictor by analysis by synthesis * 552 int cdbk_index, pitch=0, best_gain_index=0; local 674 int pitch; local [all...] |
nb_celp.h | 58 int min_pitch; /**< Minimum pitch value allowed */ 59 int max_pitch; /**< Maximum pitch value allowed */ 61 spx_word32_t cumul_gain; /**< Product of previously used pitch gains (Q10) */ 62 int bounded_pitch; /**< Next frame should not rely on previous frames for pitch */ 63 int ol_pitch; /**< Open-loop pitch */ 65 int *pitch; member in struct:EncState 131 int min_pitch; /**< Minimum pitch value allowed */ 132 int max_pitch; /**< Maximum pitch value allowed */ 152 int last_pitch; /**< Pitch of last correctly decoded frame */ 153 spx_word16_t last_pitch_gain; /**< Pitch gain of last correctly decoded frame * [all...] |
/external/libvpx/vp8/common/arm/neon/ |
shortidct4x4llm_1_neon.asm | 20 ;void vp8_short_idct4x4llm_1_c(short *input, short *output, int pitch); 23 ; r2 int pitch; 44 ;void vp8_dc_only_idct_c(short input_dc, short *output, int pitch); 47 ; r2 int pitch;
|
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
gpclip.c | 21 * need to be limited(gain pitch < 1.0) when the following *
24 * a good pitch prediction (lp_gp > 0.95) *
38 Word16 mem[] /* (o) : memory of gain of pitch clipping algorithm */
47 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
60 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
90 Word16 gain_pit, /* (i) Q14 : gain of quantized pitch */
91 Word16 mem[] /* (i/o) : memory of gain of pitch clipping algorithm */
|
pit_shrp.c | 20 * Description: Performs Pitch sharpening routine *
29 Word16 pit_lag, /* input : pitch lag */
30 Word16 sharp, /* input : pitch sharpening factor (Q15) */
|
g_pitch.c | 20 * Description:Compute the gain of pitch. Result in Q12 *
29 Word16 G_pitch( /* (o) Q14 : Gain of pitch lag saturated to 1.2 */
30 Word16 xn[], /* (i) : Pitch target. */
|
/external/freetype/src/smooth/ |
ftsmooth.c | 108 FT_UInt width, height, height_org, width_org, pitch; local 159 pitch = width; 163 pitch = FT_PAD_CEIL( width, 4 ); 185 pitch = FT_PAD_CEIL( width, 4 ); 201 /* Required check is ( pitch * height < FT_ULONG_MAX ), */ 202 /* but we care realistic cases only. Always pitch <= width. */ 216 bitmap->pitch = pitch; 221 if ( FT_ALLOC( bitmap->buffer, (FT_ULong)pitch * height ) ) 283 for ( hh = height_org; hh > 0; hh--, line += pitch ) [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/inc/ |
cnst.h | 43 #define GP_CLIP 15565 /* Pitch gain clipping = 0.95 Q14 */
44 #define PIT_SHARP 27853 /* pitch sharpening factor = 0.85 Q15 */
46 #define PIT_MIN 34 /* Minimum pitch lag with resolution 1/4 */
47 #define PIT_FR2 128 /* Minimum pitch lag with resolution 1/2 */
48 #define PIT_FR1_9b 160 /* Minimum pitch lag with resolution 1 */
49 #define PIT_FR1_8b 92 /* Minimum pitch lag with resolution 1 */
50 #define PIT_MAX 231 /* Maximum pitch lag */
53 #define OPL_DECIM 2 /* Decimation in open-loop pitch analysis */
|
p_med_o.h | 26 Word16 Pitch_med_ol( /* output: open loop pitch lag */
27 Word16 wsp[], /* input : signal used to compute the open loop pitch */
29 Word16 L_min, /* input : minimum pitch lag */
30 Word16 L_max, /* input : maximum pitch lag */
31 Word16 L_frame, /* input : length of frame to compute pitch */
32 Word16 L_0, /* input : old_ open-loop pitch */
|
/external/libvpx/vp8/encoder/arm/ |
encodemb_arm.c | 21 extern void vp8_subtract_b_neon_func(short *diff, unsigned char *src, unsigned char *pred, int stride, int pitch); 23 void vp8_subtract_b_neon(BLOCK *be, BLOCKD *bd, int pitch) 30 vp8_subtract_b_neon_func(diff_ptr, src_ptr, pred_ptr, src_stride, pitch);
|
/external/libvpx/vp8/encoder/ppc/ |
csystemdependent.c | 40 void (*vp8_short_fdct4x4)(short *input, short *output, int pitch); 41 void (*vp8_short_fdct8x4)(short *input, short *output, int pitch); 42 void (*vp8_fast_fdct4x4)(short *input, short *output, int pitch); 43 void (*vp8_fast_fdct8x4)(short *input, short *output, int pitch); 44 void (*short_walsh4x4)(short *input, short *output, int pitch); 46 void (*vp8_subtract_b)(BLOCK *be, BLOCKD *bd, int pitch); 62 extern void short_fdct4x4_c(short *input, short *output, int pitch); 63 extern void short_fdct8x4_c(short *input, short *output, int pitch); 64 extern void vp8_short_walsh4x4_c(short *input, short *output, int pitch); 66 extern void vp8_subtract_b_c(BLOCK *be, BLOCKD *bd, int pitch); [all...] |
/external/libvpx/vp8/common/ |
textblit.c | 14 void vp8_blit_text(const char *msg, unsigned char *address, const int pitch) 47 output_pos[fontrow *pitch + fontcol] = 55 static void plot (const int x, const int y, unsigned char *image, const int pitch) 57 image [x+y*pitch] ^= 255; 61 void vp8_blit_line(int x0, int x1, int y0, int y1, unsigned char *image, const int pitch) 106 plot(y,x, image, pitch); 120 plot(x,y, image, pitch);
|
invtrans.c | 28 void vp8_inverse_transform_b(const vp8_idct_rtcd_vtable_t *rtcd, BLOCKD *b, int pitch) 31 IDCT_INVOKE(rtcd, idct16)(b->dqcoeff, b->diff, pitch); 33 IDCT_INVOKE(rtcd, idct1)(b->dqcoeff, b->diff, pitch);
|
g_common.h | 13 extern void (*vp8_plane_add_noise)(unsigned char *Start, unsigned int Width, unsigned int Height, int Pitch, int DPitch, int q);
|
/external/libvpx/vp8/encoder/ |
dct.c | 14 void vp8_short_fdct4x4_c(short *input, short *output, int pitch) 34 ip += pitch / 2; 58 void vp8_short_fdct8x4_c(short *input, short *output, int pitch) 60 vp8_short_fdct4x4_c(input, output, pitch); 61 vp8_short_fdct4x4_c(input + 4, output + 16, pitch); 64 void vp8_short_walsh4x4_c(short *input, short *output, int pitch) 84 ip += pitch / 2;
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgximage.c | 55 ULONG pitch; local 71 LBMI_BYTESPERROW,(ULONG)&pitch,TAG_DONE))) { 81 screen->pitch=pitch; 85 D(bug("Accel video image configured (%lx, pitch %ld).\n",screen->pixels,screen->pitch)); 89 screen->pixels = SDL_malloc(screen->h*screen->pitch); 215 Uint32 pitch; local 219 LBMI_BYTESPERROW,(ULONG)&pitch,TAG_DONE))) 222 // surface->pitch e' a 16bit [all...] |
/frameworks/base/media/libstagefright/codecs/avc/common/src/ |
deblock.cpp | 64 static void EdgeLoop_Luma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 65 static void EdgeLoop_Luma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 66 static void EdgeLoop_Chroma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 67 static void EdgeLoop_Chroma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 78 int pitch = video->currPic->pitch, pitch_c, width; local 84 pitch_c = pitch >> 1; 98 SrcY += ((pitch << 4) - width); 119 int pitch = currPic->pitch; local 296 int pitch = video->currPic->pitch; local [all...] |
/frameworks/base/include/media/ |
ToneGenerator.h | 100 TONE_CDMA_HIGH_L, // IS54 High Pitch Long 101 TONE_CDMA_MED_L, // IS54 Med Pitch Long 102 TONE_CDMA_LOW_L, // IS54 Low Pitch Long 103 TONE_CDMA_HIGH_SS, // IS54 High Pitch Short Short 104 TONE_CDMA_MED_SS, // IS54 Medium Pitch Short Short 105 TONE_CDMA_LOW_SS, // IS54 Low Pitch Short Short 106 TONE_CDMA_HIGH_SSL, // IS54 High Pitch Short Short Long 107 TONE_CDMA_MED_SSL, // IS54 Medium Pitch Short Short Long 108 TONE_CDMA_LOW_SSL, // IS54 Low Pitch Short Short Long 109 TONE_CDMA_HIGH_SS_2, // IS54 High Pitch Short Short [all...] |