Searched refs:stream (Results 26 - 50 of 260) sorted by relevance

1234567891011

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dvlc_encode.cpp106 AVCEnc_Status EncodeCBP(AVCMacroblock *currMB, AVCEncBitstream *stream) argument
120 status = ue_v(stream, codeNum);
125 AVCEnc_Status ce_TotalCoeffTrailingOnes(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff, int nC) argument
169 status = BitstreamWriteBits(stream, 6, code);
188 status = BitstreamWriteBits(stream, len, code);
194 AVCEnc_Status ce_TotalCoeffTrailingOnesChromaDC(AVCEncBitstream *stream, int TrailingOnes, int TotalCoeff) argument
209 status = BitstreamWriteBits(stream, len, code);
215 AVCEnc_Status ce_TotalZeros(AVCEncBitstream *stream, int total_zeros, int TotalCoeff) argument
260 status = BitstreamWriteBits(stream, len, code);
266 AVCEnc_Status ce_TotalZerosChromaDC(AVCEncBitstream *stream, in argument
294 ce_RunBefore(AVCEncBitstream *stream, int run_before, int zerosLeft) argument
[all...]
H A Dresidual.cpp25 AVCEncBitstream *stream = encvid->bitstream; local
35 ue_v(stream, 25);
37 i = stream->bit_left & 0x7;
40 BitstreamWriteBits(stream, 0, i);
58 status = BitstreamWriteBits(stream, 32, code);
67 status = BitstreamWriteBits(stream, 16, code);
91 status = BitstreamWriteBits(stream, 32, code);
100 status = BitstreamWriteBits(stream, 16, code);
124 status = BitstreamWriteBits(stream, 32, code);
133 status = BitstreamWriteBits(stream, 1
152 AVCEncBitstream *stream = encvid->bitstream; local
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddatapart_decode.cpp43 BitstreamDecVideo *stream = video->bitstream; local
100 if ((status = quickSearchVideoPacketHeader(stream, resync_marker_length)) != PV_SUCCESS)
142 BitstreamDecVideo *stream = video->bitstream; local
151 int32 startSecondPart, startFirstPart = getPointer(stream);
159 BitstreamShowBits16(stream, 9, &code);
162 PV_BitstreamFlushBits(stream, 9);
163 BitstreamShowBits16(stream, 9, &code);
169 MCBPC = PV_VlcDecMCBPC_com_intra(stream);
183 movePointerTo(stream, startFirstPart);
191 BitstreamShowBits16(stream,
307 BitstreamDecVideo *stream = video->bitstream; local
519 BitstreamDecVideo *stream = video->bitstream; local
576 BitstreamDecVideo *stream = video->bitstream; local
[all...]
H A Dcombined_decode.cpp47 BitstreamDecVideo *stream = video->bitstream; local
124 startPacket = getPointer(stream);
137 BitstreamShowBits16(stream, stuffing_length, &code);
140 PV_BitstreamFlushBits(stream, stuffing_length);
141 BitstreamShowBits16(stream, stuffing_length, &code);
161 movePointerTo(stream, (startPacket & -8));
176 movePointerTo(stream, (startPacket & -8));
188 BitstreamShowBits16(stream, stuffing_length, &code);
191 PV_BitstreamFlushBits(stream, stuffing_length);
192 BitstreamShowBits16(stream, stuffing_lengt
347 BitstreamDecVideo *stream = video->bitstream; local
528 BitstreamDecVideo *stream = video->bitstream; local
[all...]
/frameworks/wilhelm/src/desktop/
H A DSDL.c24 static void SDLCALL SDL_callback(void *context, Uint8 *stream, int len) argument
36 IOutputMixExt_FillBuffer(OutputMixExt, stream, (SLuint32) len);
38 memset(stream, 0, (size_t) len);
/frameworks/base/core/java/android/webkit/
H A DPluginData.java26 * HTTP response. For this, it needs a stream with the response body,
38 * The content stream.
61 * @param stream The stream that supplies content for the plugin.
73 InputStream stream,
77 mStream = stream;
84 * Returns the input stream that contains the plugin content.
72 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
/frameworks/base/core/jni/android/graphics/
H A DPicture.h48 static Picture* CreateFromStream(SkStream* stream);
50 void serialize(SkWStream* stream) const;
H A DUtils.cpp112 SkMemoryStream* stream = new SkMemoryStream(size); local
113 void* data = const_cast<void*>(stream->getMemoryBase());
117 delete stream;
118 stream = NULL;
120 return stream;
H A DPicture.cpp77 Picture* Picture::CreateFromStream(SkStream* stream) { argument
80 newPict->mPicture.reset(SkPicture::CreateFromStream(stream));
89 void Picture::serialize(SkWStream* stream) const {
92 tempPict->serialize(stream);
94 mPicture->serialize(stream);
97 empty.serialize(stream);
/frameworks/ex/framesequence/jni/
H A DRegistry.cpp35 const RegistryEntry* Registry::Find(Stream* stream) { argument
39 headerSize = stream->peek(header, headerSize);
/frameworks/rs/
H A DrsAnimation.cpp24 void Animation::serialize(Context *rsc, OStream *stream) const {
27 Animation *Animation::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsComponent.cpp259 void Component::serialize(OStream *stream) const {
260 stream->addU8((uint8_t)mType);
261 stream->addU8((uint8_t)mKind);
262 stream->addU8((uint8_t)(mNormalized ? 1 : 0));
263 stream->addU32(mVectorSize);
266 void Component::loadFromStream(IStream *stream) { argument
267 mType = (RsDataType)stream->loadU8();
268 mKind = (RsDataKind)stream->loadU8();
269 uint8_t temp = stream->loadU8();
271 mVectorSize = stream
[all...]
H A DrsAnimation.h39 virtual void serialize(Context *rsc, OStream *stream) const;
41 static Animation *createFromStream(Context *rsc, IStream *stream);
H A DrsComponent.h48 void serialize(OStream *stream) const;
49 void loadFromStream(IStream *stream);
/frameworks/support/v4/java/android/support/v4/util/
H A DAtomicFile.java116 * Call when you have successfully finished writing to the stream
119 * will return the new file stream.
134 * Call when you have failed for some reason at writing to the stream
136 * write stream, and roll back to the previous state of the file.
176 FileInputStream stream = openRead();
179 int avail = stream.available();
182 int amt = stream.read(data, pos, data.length-pos);
191 avail = stream.available();
199 stream.close();
203 static boolean sync(FileOutputStream stream) { argument
[all...]
/frameworks/av/services/audiopolicy/
H A DAudioPolicyInterfaceImplLegacy.cpp130 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream, argument
142 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate,
147 audio_stream_type_t stream,
154 // create audio processors according to stream
161 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session);
168 return mpAudioPolicy->start_output(mpAudioPolicy, output, stream, session);
172 audio_stream_type_t stream,
179 mOutputCommandThread->stopOutputCommand(output, stream, session);
184 audio_stream_type_t stream,
188 // release audio processors from the stream
146 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
171 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
183 doStopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
306 initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) argument
324 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
348 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
369 getStrategyForStream(audio_stream_type_t stream) argument
379 getDevicesForStream(audio_stream_type_t stream) argument
425 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument
434 isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const argument
536 audio_stream_type_t stream = audio_attributes_to_stream_type(attr); local
[all...]
H A DAudioPolicyInterfaceImpl.cpp125 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream, argument
137 return mAudioPolicyManager->getOutput(stream, samplingRate,
158 audio_stream_type_t stream,
171 // create audio processors according to stream
172 status_t status = audioPolicyEffects->addOutputSessionEffects(output, stream, session);
178 return mAudioPolicyManager->startOutput(output, stream, session);
182 audio_stream_type_t stream,
189 mOutputCommandThread->stopOutputCommand(output, stream, session);
194 audio_stream_type_t stream,
204 // release audio processors from the stream
157 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
181 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
193 doStopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument
314 initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) argument
332 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument
351 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument
367 getStrategyForStream(audio_stream_type_t stream) argument
377 getDevicesForStream(audio_stream_type_t stream) argument
423 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument
432 isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const argument
[all...]
H A DAudioPolicyInterface.h46 // - process volume control requests: the stream volume is converted from an index value (received from UI) to a float value
86 // request an output appropriate for playback of the supplied stream type and parameters
87 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
99 // indicates to the audio policy manager that the output starts being used by corresponding stream.
101 audio_stream_type_t stream,
103 // indicates to the audio policy manager that the output stops being used by corresponding stream.
105 audio_stream_type_t stream,
131 // initialises stream volume conversion parameters by specifying volume index range.
132 virtual void initStreamVolume(audio_stream_type_t stream,
136 // sets the new stream volum
[all...]
/frameworks/av/media/libmedia/
H A DIAudioFlingerClient.cpp49 uint32_t stream = *(const uint32_t *)param2; local
50 ALOGV("ioConfigChanged stream %d", stream);
51 data.writeInt32(stream);
79 uint32_t stream; local
81 stream = data.readInt32();
82 param2 = &stream;
83 ALOGV("STREAM_CONFIG_CHANGED stream %d", stream);
/frameworks/av/include/media/
H A DIAudioPolicyService.h53 virtual audio_io_handle_t getOutput(audio_stream_type_t stream,
66 audio_stream_type_t stream,
69 audio_stream_type_t stream,
84 virtual status_t initStreamVolume(audio_stream_type_t stream,
87 virtual status_t setStreamVolumeIndex(audio_stream_type_t stream,
90 virtual status_t getStreamVolumeIndex(audio_stream_type_t stream,
93 virtual uint32_t getStrategyForStream(audio_stream_type_t stream) = 0;
94 virtual audio_devices_t getDevicesForStream(audio_stream_type_t stream) = 0;
103 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
104 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_
[all...]
H A DAudioSystem.h56 // set/get stream volume on specified output
57 static status_t setStreamVolume(audio_stream_type_t stream, float value,
59 static status_t getStreamVolume(audio_stream_type_t stream, float* volume,
62 // mute/unmute stream
63 static status_t setStreamMute(audio_stream_type_t stream, bool mute);
64 static status_t getStreamMute(audio_stream_type_t stream, bool* mute);
69 // returns true in *state if tracks are active on the specified stream or have been active
71 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
73 // on the specified stream or have been active in the past inPastMs milliseconds. Remote
75 static status_t isStreamActiveRemotely(audio_stream_type_t stream, boo
[all...]
/frameworks/base/drm/java/android/drm/
H A DDrmUtils.java82 private static void quietlyDispose(InputStream stream) { argument
84 if (null != stream) {
85 stream.close();
92 private static void quietlyDispose(OutputStream stream) { argument
94 if (null != stream) {
95 stream.close();
/frameworks/av/include/media/nbaio/
H A DAudioStreamInSource.h29 AudioStreamInSource(audio_stream_in *stream);
53 audio_stream_in *stream() const { return mStream; }
H A DAudioStreamOutSink.h29 AudioStreamOutSink(audio_stream_out *stream);
50 // AudioStreamOutSink wraps a HAL's output stream. Its
60 audio_stream_out *stream() const { return mStream; }
/frameworks/base/tools/aapt/
H A DIndentPrinter.h6 IndentPrinter(FILE* stream, int indentSize=2) argument
7 : mStream(stream)

Completed in 644 milliseconds

1234567891011