Searched refs:shift (Results 26 - 50 of 64) sorted by relevance

123

/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dtns.c100 Word32 temp, shift; local
103 shift = norm_l(fs);
104 lineNumber = (extract_l(fixmul((bandStartOffset[numOfBands] << 2),Div_32(freq << shift,fs << shift))) + 1) >> 1;
516 Word32 i, sfb, shift; local
533 shift = norm_l(tmp);
534 tmp = Div_32( INT_BITS_SCAL << shift, tmp << shift );
692 Word32 i, j, shift; local
714 shift
[all...]
H A Dpsy_configuration.c291 Word16 pbVal0, pbVal1, shift; local
322 shift = norm_l(snr);
323 snr = Div_32(0x00008000 << shift, snr << shift);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java61 * Using a non-default language locking shift table OR single shift table
67 * Using a non-default language locking shift table AND single shift table
115 * The GSM national language shift table to use, or 0 for the default 7-bit extension table.
291 * @param languageShiftTable the 7 bit single shift language table, or 0 for the default
348 * @param languageShiftTable the 7 bit single shift language table, or 0 for the default
374 * @param languageShiftTable the 7 bit single shift language table, or 0 for the default
434 int shift = bitOffset % 8;
436 packedChars[++byteOffset] |= value << shift;
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dfastquant_inline.h41 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
46 q_value >>= shift; //q_value = (((coeff - QPdiv2)*q_scale)>>LSL ); local
187 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
194 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/
282 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
289 mov coeff, q_value, asr shift /*smull tmp, coeff, q_scale, coeff*/
449 __inline int32 coeff_quant(int32 coeff, int32 q_scale, int32 shift) argument
455 register int32 ss = shift;
H A Dfastquant.cpp128 changed the division into LUT multiplication/shift and other
161 Int shift = 15 + (QPx2 >> 4); local
225 q_value = coeff_quant(coeff, q_scale, shift);
280 Int shift = 15 + (QPx2 >> 4); local
388 q_value >>= shift; local
449 Int shift = 15 + (QP >> 3); local
473 scale_q = coeff_quant(coeff, scale_q, shift);
555 Int shift = 15 + (QP >> 3); local
608 q_value = coeff_quant(coeff, q_scale, shift);
684 Int shift local
783 q_value >>= shift; local
858 Int shift = 15 + (QP >> 3); local
[all...]
H A Dsad_mb_offset.h252 int32 shift = SHIFT; local
261 : "r"(blk), "r"(shift), "r"(shift2));
283 : "r"(blk), "r"(shift), "r"(shift2));
H A Dbitstream_io.cpp260 UInt word, shift; local
293 shift = ((WORD_SIZE - 1) << 3);
296 *ptr++ = (UChar)((word >> shift) & 0xFF);
303 // *ptr = (UChar)((word>>shift)&0xFF); /* need to do it for the last fractional byte */
700 /* shift bitstream1 to the right by movebyte */
709 /* now shift back previous bitstream1 buffer to the end */
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DTimerRecordingAction.java153 int shift = (3 - i) * 8;
154 result |= ((data[i] & 0xFF) << shift);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/src/
H A DarmCOMM.c375 * Description: Divides a float value by 2^shift and
383 * [in] shift Divides the input "v" by "2^shift"
390 OMX_U32 armShiftSat_F32(OMX_F32 v, OMX_INT shift, OMX_INT satBits) argument
394 OMX_F32 vShifted, vRounded, shiftDiv = (OMX_F32)(1 << shift);
731 * Returns the result of rounded right shift operation of input by the scalefactor
733 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
737 * [in] shift The shift number
745 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/src/
H A DarmCOMM.c375 * Description: Divides a float value by 2^shift and
383 * [in] shift Divides the input "v" by "2^shift"
390 OMX_U32 armShiftSat_F32(OMX_F32 v, OMX_INT shift, OMX_INT satBits) argument
394 OMX_F32 vShifted, vRounded, shiftDiv = (OMX_F32)(1 << shift);
731 * Returns the result of rounded right shift operation of input by the scalefactor
733 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
737 * [in] shift The shift number
745 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/src/
H A DarmCOMM.c375 * Description: Divides a float value by 2^shift and
383 * [in] shift Divides the input "v" by "2^shift"
390 OMX_U32 armShiftSat_F32(OMX_F32 v, OMX_INT shift, OMX_INT satBits) argument
394 OMX_F32 vShifted, vRounded, shiftDiv = (OMX_F32)(1 << shift);
731 * Returns the result of rounded right shift operation of input by the scalefactor
733 * output = Saturate_in_16Bits( ( Right/LeftShift( (Round(input) , shift ) )
737 * [in] shift The shift number
745 OMX_S16 armSatRoundRightShift_S32_S16(OMX_S32 input, OMX_INT shift) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java535 int shift;
537 shift = 0;
539 shift = 1;
541 shift = 2;
546 long bufferSize = (long)elements << shift;
557 position += pixelSize >> shift;
578 int shift;
580 shift = 0;
582 shift = 1;
584 shift
[all...]
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
H A DIconCompat.java259 Matrix shift = new Matrix();
260 shift.setTranslate(-(adaptiveIconBitmap.getWidth() - size) / 2,
262 shader.setLocalMatrix(shift);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DResourceHelper.java652 int shift;
657 shift = 23;
661 shift = 0;
665 shift = 8;
669 shift = 16;
673 shift = 23;
676 (bits>>shift) & TypedValue.COMPLEX_MANTISSA_MASK);
/frameworks/minikin/tools/
H A Dmk_hyb_file.py382 shift = 0
383 while shift < len(pat) and pat[len(pat) - shift - 1] == 0:
384 shift += 1
385 rawpat = pat_str[:len(pat) - shift]
390 data = (len(rawpat) << 26) | (shift << 20) | raw_patmap[rawpat]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/
H A DomxVCM4P10_DequantTransformResidualFromPairAndAdd_s.s98 shift RN 14 label
248 LDRSB shift,[pQPdiv,QP] ;// Shift = QP / 6
255 VDUP dShift,shift
300 VMOV dZero,#0 ;// Used to right shift by 1
/frameworks/rs/driver/runtime/
H A Drs_structs.h75 uint32_t shift; member in struct:Allocation::__anon1998::DrvState::YuvState
H A Drs_allocation.c383 const size_t shift = alloc->mHal.drvState.yuv.shift; local
388 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)];
397 const size_t shift = alloc->mHal.drvState.yuv.shift; local
402 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)];
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dbitstream.cpp953 int byte0, byte1, byte2, shift, tmpvar; local
983 shift = 9 - firstOne[tmpvar];
987 shift = 5 - firstOne[byte2];
990 if ((byte0 & msk[shift]) == 0)
992 PV_BitstreamFlushBits(stream, 8 - shift);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/api/
H A DarmCOMM.h242 * Description: Divides a float value by 2^shift and
250 * [in] shift Divides the input "v" by "2^shift"
259 OMX_INT shift,
429 * Returns the result of rounded right shift operation of input by the scalefactor
435 * [in] scaleFactor The shift number
451 * Returns the result of saturating left-shift operation on input
452 * Or rounded Right shift if the input Shift is negative.
456 * [in] shift Operand for shift operatio
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/api/
H A DarmCOMM.h242 * Description: Divides a float value by 2^shift and
250 * [in] shift Divides the input "v" by "2^shift"
259 OMX_INT shift,
429 * Returns the result of rounded right shift operation of input by the scalefactor
435 * [in] scaleFactor The shift number
451 * Returns the result of saturating left-shift operation on input
452 * Or rounded Right shift if the input Shift is negative.
456 * [in] shift Operand for shift operatio
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/api/
H A DarmCOMM.h242 * Description: Divides a float value by 2^shift and
250 * [in] shift Divides the input "v" by "2^shift"
259 OMX_INT shift,
429 * Returns the result of rounded right shift operation of input by the scalefactor
435 * [in] scaleFactor The shift number
451 * Returns the result of saturating left-shift operation on input
452 * Or rounded Right shift if the input Shift is negative.
456 * [in] shift Operand for shift operatio
[all...]
/frameworks/av/services/audioflinger/
H A DPatchPanel.cpp455 int shift = __builtin_ctz(recordFramecount); local
456 if (playbackShift < shift) {
457 shift = playbackShift;
459 size_t frameCount = (playbackFrameCount * recordFramecount) >> shift;
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduComposer.java270 int shift = (size -1) * 8;
273 append((int)((longInt >>> shift) & 0xff));
274 shift = shift - 8;
/frameworks/minikin/libs/minikin/
H A DHyphenator.cpp78 static uint32_t shift(uint32_t entry) { return (entry >> 20) & 0x3f; } function in struct:minikin::Pattern
409 // pat_ix contains a 3-tuple of length, shift (number of trailing zeros), and an offset
415 int pat_shift = Pattern::shift(pat_entry);

Completed in 550 milliseconds

123