Searched refs:shift (Results 26 - 50 of 57) 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;
546 Word32 i, sfb, shift; local
563 shift = norm_l(tmp);
564 tmp = Div_32( INT_BITS_SCAL << shift, tmp << shift );
722 Word32 i, j, shift; local
744 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.java154 int shift = (3 - i) * 8;
155 result |= ((data[i] & 0xFF) << shift);
/frameworks/rs/driver/runtime/
H A Drs_allocation.c314 const size_t shift = alloc->mHal.drvState.yuv.shift; local
319 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)];
328 const size_t shift = alloc->mHal.drvState.yuv.shift; local
333 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)];
H A Drs_structs.h63 uint32_t shift; member in struct:Allocation::__anon1498::DrvState::YuvState
/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/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/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/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/av/services/audioflinger/
H A DPatchPanel.cpp439 int shift = __builtin_ctz(recordFramecount); local
440 if (playbackShift < shift) {
441 shift = playbackShift;
443 size_t frameCount = (playbackFrameCount * recordFramecount) >> shift;
/frameworks/base/core/java/android/net/
H A DNetworkStatsHistory.java686 int shift = 0;
688 while (shift < 64) {
690 result |= (long) (b & 0x7F) << shift;
693 shift += 7;
/frameworks/rs/
H A DrsAllocation.h88 uint32_t shift; member in struct:android::renderscript::Allocation::Hal::DrvState::YuvState
H A DrsGrallocConsumer.cpp157 mAlloc->mHal.drvState.yuv.shift = 1;
/frameworks/native/opengl/libagl/
H A Dprimitives.cpp271 // Then compute the minimum left-shift to not overflow the muls
276 // to shift everything left an extra 15 bits.
706 const int shift = 16 + (16 - TRI_FRACTION_BITS); local
707 int32_t texelArea = abs( gglMulx(s1-s0, t2-t0, shift) -
708 gglMulx(s2-s0, t1-t0, shift) )*w*h;
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1001 public final int shift; field in class:BatteryStats.BitDescription
1009 this.shift = -1;
1016 public BitDescription(int mask, int shift, String name, String shortName, argument
1019 this.shift = shift;
3428 if (bd.shift < 0) {
3446 int val = (newval&bd.mask)>>bd.shift;

Completed in 2088 milliseconds

123