/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_dequant.cpp | 23 typedef PV_STATUS(*VlcDecFuncP)(BitstreamDecVideo *stream, Tcoef *pTcoef); 55 BitstreamDecVideo *stream = video->bitstream; local 114 return_status = (*vlcDecCoeff)(stream, &run_level); 387 BitstreamDecVideo *stream = video->bitstream; local 419 return_status = (*vlcDecCoeff)(stream, &run_level); 505 BitstreamDecVideo *stream = video->bitstream; local 560 return_status = (*vlcDecCoeff)(stream, &run_level); 807 BitstreamDecVideo *stream = video->bitstream; local 872 return_status = (*vlcDecCoeff)(stream, &run_level); 945 return_status = (*vlcDecCoeff)(stream, 1069 BitstreamDecVideo *stream = video->bitstream; local [all...] |
H A D | vlc_decode.cpp | 103 PV_STATUS DecodeUserData(BitstreamDecVideo *stream) argument 108 BitstreamReadBits32HC(stream); 109 BitstreamShowBits32(stream, 24, &code); 114 BitstreamReadBits16(stream, 8); 115 BitstreamShowBits32(stream, 24, &code); 116 status = BitstreamCheckEndBuffer(stream); 135 BitstreamDecVideo *stream = video->bitstream; local 164 status = PV_VlcDecMV(stream, &vlc_code_mag); 174 status = PV_VlcDecMV(stream, &vlc_code_mag); 191 status = PV_VlcDecMV(stream, 267 PV_DecodeMBVec(BitstreamDecVideo *stream, MOT *mv_x, MOT *mv_y, int f_code_f) argument 452 PV_VlcDecMV(BitstreamDecVideo *stream, int *mv) argument 503 PV_VlcDecMCBPC_com_intra(BitstreamDecVideo *stream) argument 536 PV_VlcDecMCBPC_com_inter(BitstreamDecVideo *stream) argument 557 PV_VlcDecMCBPC_com_inter_H263(BitstreamDecVideo *stream) argument 590 PV_VlcDecCBPY(BitstreamDecVideo *stream, int intra) argument 628 PV_VlcDecIntraDCPredSize(BitstreamDecVideo *stream, int compnum, uint *DC_size) argument 839 VlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1022 VlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1201 VlcDecTCOEFShortHeader(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1261 VlcDecTCOEFShortHeader_AnnexI(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1316 VlcDecTCOEFShortHeader_AnnexT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1389 VlcDecTCOEFShortHeader_AnnexIT(BitstreamDecVideo *stream, Tcoef *pTcoef ) argument 1471 RvlcDecTCOEFInter(BitstreamDecVideo *stream, Tcoef *pTcoef) argument 1554 RvlcDecTCOEFIntra(BitstreamDecVideo *stream, Tcoef *pTcoef) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | bitstream_io.cpp | 54 BitstreamEncVideo *stream; local 55 stream = (BitstreamEncVideo *) M4VENC_MALLOC(sizeof(BitstreamEncVideo)); 56 if (stream == NULL) 60 stream->bufferSize = bufferSize; 61 stream->bitstreamBuffer = (UChar *) M4VENC_MALLOC(stream->bufferSize * sizeof(UChar)); 62 if (stream->bitstreamBuffer == NULL) 64 M4VENC_FREE(stream); 65 stream = NULL; 68 M4VENC_MEMSET(stream 93 BitstreamCloseEnc(BitstreamEncVideo *stream) argument 120 BitstreamPutBits(BitstreamEncVideo *stream, Int Length, UInt Value) argument 168 BitstreamPutGT16Bits(BitstreamEncVideo *stream, Int Length, ULong Value) argument 207 BitstreamSaveWord(BitstreamEncVideo *stream) argument 257 BitstreamSavePartial(BitstreamEncVideo *stream, Int *fraction) argument 326 BitstreamShortHeaderByteAlignStuffing(BitstreamEncVideo *stream) argument 355 BitstreamMpeg4ByteAlignStuffing(BitstreamEncVideo *stream) argument 760 BitstreamGetPos(BitstreamEncVideo *stream) argument 766 BitstreamEncReset(BitstreamEncVideo *stream) argument 776 BitstreamSetOverrunBuffer(BitstreamEncVideo* stream, UChar* overrunBuffer, Int oBSize, VideoEncData *video) argument 787 BitstreamUseOverrunBuffer(BitstreamEncVideo* stream, Int numExtraBytes) argument [all...] |
H A D | combined_encode.cpp | 118 video->header_bits -= BitstreamGetPos(currVol->stream); /* Header Bits */ 120 video->header_bits += BitstreamGetPos(currVol->stream); /* Header Bits */ 182 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ 192 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ 201 status = BitstreamAppendEnc(currVol->stream, bs1); /* Initialize to 0 */ 222 video->header_bits += BitstreamShortHeaderByteAlignStuffing(currVol->stream); /* Byte Align */ 234 status = BitstreamAppendPacket(currVol->stream, bs1); /* Put Packet to Buffer */ 242 video->header_bits += BitstreamMpeg4ByteAlignStuffing(currVol->stream); /* Byte Align */ 303 status = BitstreamAppendPacketNoOffset(currVol->stream, bs1); 473 status = BitstreamAppendPacketNoOffset(currVol->stream, bs 684 BitstreamEncVideo *stream = (bs1stream ? video->bitstream1 : video->vol[video->currLayer]->stream); local [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureUtils.java | 48 * Closes the specified stream. 50 * @param stream The stream to close. 52 static void closeStream(Closeable stream) { argument 53 if (stream != null) { 55 stream.close(); 57 Log.e(LOG_TAG, "Could not close stream", e);
|
/frameworks/base/core/java/android/webkit/ |
H A D | CacheManager.java | 192 * Gets the input stream to the content of this cache entry, to allow 196 * @return an input stream to the content of this cache entry 203 * Gets an output stream to the content of this cache entry, to allow 207 * @return an output stream to the content of this cache entry 216 * Sets an input stream to the content of this cache entry. 218 * @param stream an input stream to the content of this cache entry 220 public void setInputStream(InputStream stream) { argument 221 this.inStream = stream; 310 * The input stream o [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapRegionDecoder.cpp | 52 static SkMemoryStream* buildSkMemoryStream(SkStream *stream) { argument 58 while ((len = stream->read(data + streamLen, 73 static jobject doBuildTileIndex(JNIEnv* env, SkStream* stream) { argument 74 SkImageDecoder* decoder = SkImageDecoder::Factory(stream); 85 if (!decoder->buildTileIndex(stream, &width, &height)) { 93 SkBitmapRegionDecoder *bm = new SkBitmapRegionDecoder(decoder, stream, width, height); 105 SkStream* stream = new SkMemoryStream(ar.ptr() + offset, length, true); local 106 return doBuildTileIndex(env, stream); 114 SkStream *stream = NULL; local 130 stream 155 SkStream* stream = CreateJavaInputStreamAdaptor(env, is, storage, 1024); local 169 SkStream* stream, *assStream; local [all...] |
H A D | CreateJavaOutputStreamAdaptor.cpp | 145 SkStream* CreateJavaInputStreamAdaptor(JNIEnv* env, jobject stream, argument 174 env->CallVoidMethod(stream, gInputStream_markMethodID, markSize); 177 return new JavaInputStreamAdaptor(env, stream, storage); 187 SkJavaOutputStream(JNIEnv* env, jobject stream, jbyteArray storage) argument 188 : fEnv(env), fJavaOutputStream(stream), fJavaByteArray(storage) { 237 SkWStream* CreateJavaOutputStreamAdaptor(JNIEnv* env, jobject stream, argument 255 return new SkJavaOutputStream(env, stream, storage);
|
H A D | Typeface.cpp | 133 SkStream* stream = new AssetStream(asset, true); local 134 SkTypeface* face = SkTypeface::CreateFromStream(stream); 135 // SkTypeFace::CreateFromStream calls ref() on the stream, so we 137 stream->unref();
|
H A D | YuvToJpegEncoder.cpp | 24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument 28 skjpeg_destination_mgr sk_wstream(stream);
|
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 71 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument 74 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); 179 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument 181 return check_AudioSystem_Command(AudioSystem::initStreamVolume(static_cast <audio_stream_type_t>(stream), 189 jint stream, 194 AudioSystem::setStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), 202 jint stream, 206 if (AudioSystem::getStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), 248 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument 250 return (jint) AudioSystem::getDevicesForStream(static_cast <audio_stream_type_t>(stream)); 187 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument 200 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument [all...] |
H A D | android_net_LocalSocketImpl.cpp | 49 * create_native(boolean stream) 53 socket_create (JNIEnv *env, jobject object, jboolean stream) argument 57 ret = socket(PF_LOCAL, stream ? SOCK_STREAM : SOCK_DGRAM, 0); 545 // Treat this as an end of stream
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Picture.java | 25 * The picture's contents can also be written to a stream, and then later 107 * Create a new picture (already recorded) from the data in the stream. This 110 * <strong>Note:</strong> a picture created from an input stream cannot be 115 public static Picture createFromStream(InputStream stream) { argument 116 return new Picture(nativeCreateFromStream(stream, new byte[WORKING_STREAM_STORAGE]), true); 120 * Write the picture contents to a stream. The data can be used to recreate 123 * <strong>Note:</strong> a picture created from an input stream cannot be 128 public void writeToStream(OutputStream stream) { argument 130 if (stream == null) { 133 if (!nativeWriteToStream(mNativePicture, stream, 161 nativeCreateFromStream(InputStream stream, byte[] storage) argument 167 nativeWriteToStream(int nativePicture, OutputStream stream, byte[] storage) argument [all...] |
/frameworks/base/tests/BrowserTestPlugin/jni/ |
H A D | main.cpp | 41 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, 43 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason); 44 int32_t NPP_WriteReady(NPP instance, NPStream* stream); 45 int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, 47 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname); 191 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype) argument 197 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason) argument 202 int32_t NPP_WriteReady(NPP instance, NPStream* stream) argument 207 int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer) argument 212 void NPP_StreamAsFile(NPP instance, NPStream* stream, cons argument [all...] |
/frameworks/ml/bordeaux/learning/stochastic_linear_ranker/native/ |
H A D | sparse_weight_vector.h | 161 std::stringstream stream; local 162 stream << *this; 163 return stream.str(); 190 std::ostream& operator<<(std::ostream &stream, argument 193 stream << "[[ "; 197 stream << "<" << iter->first << ", " << iter->second << "> "; 199 return stream << " ]]";
|
/frameworks/rs/ |
H A D | rsMesh.cpp | 81 void Mesh::serialize(Context *rsc, OStream *stream) const { 83 stream->addU32((uint32_t)getClassId()); 86 stream->addString(&name); 89 stream->addU32(mHal.state.vertexBuffersCount); 91 mHal.state.vertexBuffers[vCount]->serialize(rsc, stream); 94 stream->addU32(mHal.state.primitivesCount); 97 stream->addU8((uint8_t)mHal.state.primitives[pCount]); 100 stream->addU32(1); 101 mHal.state.indexBuffers[pCount]->serialize(rsc, stream); 103 stream 108 createFromStream(Context *rsc, IStream *stream) argument [all...] |
H A D | rsProgramVertex.cpp | 151 void ProgramVertex::serialize(Context *rsc, OStream *stream) const { 154 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { argument
|
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | SimplePlayer.java | 65 int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session) 67 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session); 72 int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) { 73 set(context, playPausebuttonId, playPausebutton, stopButtonId, stopButton, sessionText, stream, session); 79 int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) { 92 mStreamType = stream; 64 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, String fileName, int stream, int session) argument 71 SimplePlayer(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int fileResId, int stream, int session) argument 78 set(Context context, int playPausebuttonId, ImageView playPausebutton, int stopButtonId, ImageView stopButton, TextView sessionText, int stream, int session) argument
|
/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | omx_jpeg_decoder.cpp | 99 bool OmxJpegImageDecoder::onDecode(SkStream* stream, argument 101 sp<MediaSource> source = prepareMediaSource(stream); 124 JPEGSource* OmxJpegImageDecoder::prepareMediaSource(SkStream* stream) { argument 126 sp<DataSource> dataSource = new StreamSource(stream);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
H A D | NotificationPlayer.java | 53 int stream; field in class:NotificationPlayer.Command 57 return "{ code=" + code + " looping=" + looping + " stream=" + stream 87 player.setAudioStreamType(mCmd.stream); 94 audioManager.requestAudioFocus(null, mCmd.stream, 97 audioManager.requestAudioFocus(null, mCmd.stream, 261 * @param stream the AudioStream to use. 264 public void play(Context context, Uri uri, boolean looping, int stream) { argument 271 cmd.stream = stream; [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | slice.cpp | 28 AVCEncBitstream *stream = encvid->bitstream; local 140 ue_v(stream, video->mb_skip_run); 161 AVCEncBitstream *stream = encvid->bitstream; local 419 ue_v(stream, video->mb_skip_run); 555 AVCEncBitstream *stream = encvid->bitstream; local 564 status = ue_v(stream, mb_type); 568 status = sub_mb_pred(video, currMB, stream); 572 status = mb_pred(video, currMB, stream) ; 578 status = EncodeCBP(currMB, stream); 584 status = se_v(stream, currM 686 mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument 772 sub_mb_pred(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument 920 EncodeIntra4x4Mode(AVCCommonObj *video, AVCMacroblock *currMB, AVCEncBitstream *stream) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | DecTestBench.c | 44 /* Global variables for stream handling */ 136 DEBUG(("\t-U NAL unit stream mode\n")); 181 /* check size of the input file -> length of the stream in bytes */ 186 /* allocate memory for stream buffer. if unsuccessful -> exit */ 194 /* read input stream from file to buffer and close input file */ 233 * -> stream information is available for query now */ 271 * "consumed" is computed as difference between the new stream 272 * pointer and old stream pointer */ 286 * "consumed" is computed as difference between the new stream 287 * pointer and old stream pointe 492 u8 *stream; local [all...] |
/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 46 * An input stream for local sockets. Needed because we may 100 * An output stream for local sockets. Needed because we may 154 private native FileDescriptor create_native(boolean stream) argument 205 * @param stream true if this should be a stream socket, false for 209 public void create (boolean stream) throws IOException { argument 213 fd = create_native(stream); 283 * Retrieves the input stream for this instance. 285 * @return input stream 304 * Retrieves the output stream fo [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Bitmap_Delegate.java | 102 * Creates and returns a {@link Bitmap} initialized with the given stream content. 104 * @param input the stream from which to read the bitmap content 113 // create a delegate with the content of the stream. 211 // create a delegate with the content of the stream. 239 // create a delegate with the content of the stream. 257 OutputStream stream, byte[] tempStorage) { 256 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_context.cpp | 59 GLTraceState::GLTraceState(TCPStream *stream) { argument 61 mStream = stream; 121 BufferedOutputStream *stream = new BufferedOutputStream(mStream, DEFAULT_BUFFER_SIZE); local 122 GLTraceContext *traceContext = new GLTraceContext(id, version, this, stream); 133 BufferedOutputStream *stream) : 137 mBufferedOutputStream(stream), 132 GLTraceContext(int id, int version, GLTraceState *state, BufferedOutputStream *stream) argument
|