Home
last modified time | relevance | path

Searched refs:bs1 (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/codecs/m4v_h263/enc/src/
Ddatapart_encode.cpp51 BitstreamEncVideo *bs1 = video->bitstream1; in EncodeFrameDataPartMode() local
63 numHeaderBits = BitstreamGetPos(bs1); /* Number of bits in VOP Header */ in EncodeFrameDataPartMode()
117 video->header_bits -= BitstreamGetPos(bs1); /* Header Bits */ in EncodeFrameDataPartMode()
120 video->header_bits += BitstreamGetPos(bs1); /* Header Bits */ in EncodeFrameDataPartMode()
121 numHeaderBits = BitstreamGetPos(bs1); in EncodeFrameDataPartMode()
144 num_bits = BitstreamGetPos(bs1) + BitstreamGetPos(bs2) + in EncodeFrameDataPartMode()
152 BitstreamPutGT16Bits(bs1, 19, DC_MARKER); /* Add dc_marker */ in EncodeFrameDataPartMode()
154 BitstreamPutGT16Bits(bs1, 17, MOTION_MARKER_COMB); /*Add motion_marker*/ in EncodeFrameDataPartMode()
155 BitstreamAppendEnc(bs1, bs2); /* Combine bs1 and bs2 */ in EncodeFrameDataPartMode()
156 BitstreamAppendEnc(bs1, bs3); /* Combine bs1 and bs3 */ in EncodeFrameDataPartMode()
[all …]
Dcombined_encode.cpp53 BitstreamEncVideo *bs1 = video->bitstream1; in EncodeFrameCombinedMode() local
66 numHeaderBits = BitstreamGetPos(bs1); in EncodeFrameCombinedMode()
146 video->header_bits -= BitstreamGetPos(bs1); /* Header Bits */ in EncodeFrameCombinedMode()
149 video->header_bits += BitstreamGetPos(bs1); /* Header Bits */ in EncodeFrameCombinedMode()
150 numHeaderBits = BitstreamGetPos(bs1); in EncodeFrameCombinedMode()
177 num_bits = BitstreamGetPos(bs1) - numHeaderBits; in EncodeFrameCombinedMode()
180 … video->header_bits += BitstreamMpeg4ByteAlignStuffing(bs1); /* Byte align Packet */ in EncodeFrameCombinedMode()
182 … status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ in EncodeFrameCombinedMode()
185 BitstreamEncReset(bs1); in EncodeFrameCombinedMode()
192 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ in EncodeFrameCombinedMode()
[all …]
Dvlc_encode.cpp887 BitstreamEncVideo *bs1 = video->bitstream1; in MBVlcEncodeDataPar_I_VOP() local
925 PutMCBPC_Intra(CBP, Mode, bs1); /* MCBPC */ in MBVlcEncodeDataPar_I_VOP()
929 BitstreamPutBits(bs1, 2, dquant); /* dquant*/ in MBVlcEncodeDataPar_I_VOP()
940 /*temp =*/ IntraDC_dpcm(DC, 1, bs1); /* dct_dc_size_luminance, */ in MBVlcEncodeDataPar_I_VOP()
942 /*temp =*/ IntraDC_dpcm(DC, 0, bs1); /* marker bit */ in MBVlcEncodeDataPar_I_VOP()
975 BitstreamEncVideo *bs1 = video->bitstream1; in MBVlcEncodeDataPar_P_VOP() local
1040 BitstreamPut1Bits(bs1, 1); /* not_coded = 1 */ in MBVlcEncodeDataPar_P_VOP()
1044 BitstreamPut1Bits(bs1, 0); /* not_coded =0 */ in MBVlcEncodeDataPar_P_VOP()
1049 PutMCBPC_Inter(CBP, Mode, bs1); /* MCBPC */ in MBVlcEncodeDataPar_P_VOP()
1051 video->header_bits -= BitstreamGetPos(bs1); /* Header Bits */ in MBVlcEncodeDataPar_P_VOP()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java506 BatterySaverPolicyConfig bs1 = new BatterySaverPolicyConfig.Builder() in testBatterySaverPolicyConfigNativeToJava() local
520 unparcelBatterySaverPolicyFromNativeAndVerify(bs1); in testBatterySaverPolicyConfigNativeToJava()
531 BatterySaverPolicyConfig bs1 = new BatterySaverPolicyConfig.Builder() in testBatterySaverPolicyConfigFromJavaToNative() local
541 parcelBatterySaverPolicyConfigToNativeAndVerify(bs1); in testBatterySaverPolicyConfigFromJavaToNative()