Searched defs:stream (Results 26 - 50 of 109) sorted by relevance

12345

/frameworks/support/renderscript/v8/rs_support/
H A DrsSampler.cpp71 void Sampler::serialize(Context *rsc, OStream *stream) const {
74 Sampler *Sampler::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsAdapter.cpp44 void Adapter1D::serialize(Context *rsc, OStream *stream) const {
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
117 void Adapter2D::serialize(Context *rsc, OStream *stream) const {
120 Adapter2D *Adapter2D::createFromStream(Context *rsc, IStream *stream) { argument
/frameworks/base/media/tests/omxjpegdecoder/
H A Djpeg_decoder_bench.cpp35 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode);
52 int testDecodeBounds(SkImageDecoder* decoder, SkStream* stream, argument
58 // Decode the input stream and then use the bitmap.
59 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
69 int testDecodePixels(SkImageDecoder* decoder, SkStream* stream, argument
75 // Decode the input stream and then use the bitmap.
76 if (!decoder->decode(stream, bitmap, prefConfig, decodeMode)) {
88 SkStream* stream = new SkFILEStream(filename); local
90 testDecodePixels(decoder, stream, bitmap);
94 stream
[all...]
/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 Dconceal.cpp34 BitstreamDecVideo *stream = video->bitstream; local
38 movePointerTo(stream, startFirstPartition);
48 PV_VlcDecMCBPC_com_intra(stream);
H A Dvop.cpp84 BitstreamDecVideo *stream; local
97 stream = currVol->bitstream;
101 status = BitstreamShowBits32HC(stream, &startCode);
107 (void) BitstreamReadBits32HC(stream);
108 tmpvar = (uint32) BitstreamReadBits16(stream, 8); /* profile */
138 status = BitstreamShowBits32HC(stream, &tmpvar);
142 status = DecodeUserData(stream);
146 BitstreamShowBits32HC(stream, &tmpvar);
152 status = PVSearchNextM4VFrame(stream); /* search 0x00 0x00 0x01 */
154 BitstreamShowBits32(stream, VOL_START_CODE_LENGT
738 DecodeGOVHeader(BitstreamDecVideo *stream, uint32 *time_base) argument
806 BitstreamDecVideo *stream = currVol->bitstream; local
1016 BitstreamDecVideo *stream = currVol->bitstream; local
[all...]
H A Dbitstream.cpp49 PV_STATUS BitstreamFillCache(BitstreamDecVideo *stream) argument
51 uint8 *bitstreamBuffer = stream->bitstreamBuffer;
55 stream->curr_word |= (stream->next_word >> stream->incnt); // stream->incnt cannot be 32
56 stream->next_word <<= (31 - stream->incnt);
57 stream->next_word <<= 1;
58 num_bits = stream
124 BitstreamReset(BitstreamDecVideo *stream, uint8 *buffer, int32 buffer_size) argument
140 BitstreamOpen(BitstreamDecVideo *stream, int) argument
175 BitstreamShowBits32HC(BitstreamDecVideo *stream, uint32 *code) argument
193 BitstreamShowBits32(BitstreamDecVideo *stream, int nbits, uint32 *code) argument
215 BitstreamShowBits16(BitstreamDecVideo *stream, int nbits, uint *code) argument
238 BitstreamShow15Bits(BitstreamDecVideo *stream, uint *code) argument
257 BitstreamShow13Bits(BitstreamDecVideo *stream, uint *code) argument
270 BitstreamReadBits16_INLINE(BitstreamDecVideo *stream, int nbits) argument
286 BitstreamRead1Bits_INLINE(BitstreamDecVideo *stream) argument
311 BitstreamReadBits16(BitstreamDecVideo *stream, int nbits) argument
333 BitstreamRead1Bits(BitstreamDecVideo *stream) argument
355 PV_BitstreamFlushBitsCheck(BitstreamDecVideo *stream, int nbits) argument
382 BitstreamReadBits32(BitstreamDecVideo *stream, int nbits) argument
396 BitstreamReadBits32HC(BitstreamDecVideo *stream) argument
415 BitstreamCheckEndBuffer(BitstreamDecVideo *stream) argument
422 PV_BitstreamShowBitsByteAlign(BitstreamDecVideo *stream, int nbits, uint32 *code) argument
441 PV_BitstreamShowBitsByteAlignNoForceStuffing(BitstreamDecVideo *stream, int nbits, uint32 *code) argument
460 PV_BitstreamByteAlign(BitstreamDecVideo *stream) argument
487 BitstreamByteAlignNoForceStuffing(BitstreamDecVideo *stream) argument
513 getPointer(BitstreamDecVideo *stream) argument
529 movePointerTo(BitstreamDecVideo *stream, int32 pos) argument
565 validStuffing(BitstreamDecVideo *stream) argument
577 validStuffing_h263(BitstreamDecVideo *stream) argument
603 PVSearchNextH263Frame(BitstreamDecVideo *stream) argument
632 PVSearchNextM4VFrame(BitstreamDecVideo *stream) argument
652 PVLocateM4VFrameBoundary(BitstreamDecVideo *stream) argument
663 PVLocateH263FrameBoundary(BitstreamDecVideo *stream) argument
682 quickSearchVideoPacketHeader(BitstreamDecVideo *stream, int marker_length) argument
706 quickSearchH263SliceHeader(BitstreamDecVideo *stream) argument
784 quickSearchMotionMarker(BitstreamDecVideo *stream) argument
875 quickSearchDCM(BitstreamDecVideo *stream) argument
950 quickSearchGOBHeader(BitstreamDecVideo *stream) argument
[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...]
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...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvop.cpp24 PV_STATUS EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop);
25 PV_STATUS EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop);
26 PV_STATUS EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds);
46 // BitstreamEncVideo *stream=video->bitstream1;
128 BitstreamEncVideo *stream = video->bitstream1; local
135 status = EncodeShortHeader(stream, currVop); /* Encode Short Header */
137 video->header_bits = BitstreamGetPos(stream); /* Header Bits */
147 status = EncodeGOVHeader(stream, time); /* Encode GOV Header */
149 status = EncodeVOPHeader(stream, currVol, currVop); /* Encode VOP Header */
151 video->header_bits = BitstreamGetPos(stream); /* Heade
197 BitstreamEncVideo *stream = video->bitstream1; /* different from frame-based */ local
276 EncodeGOVHeader(BitstreamEncVideo *stream, UInt seconds) argument
314 BitstreamEncVideo *stream = currVol->stream; local
353 EncodeVOPHeader(BitstreamEncVideo *stream, Vol *currVol, Vop *currVop) argument
412 EncodeShortHeader(BitstreamEncVideo *stream, Vop *currVop) argument
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp177 SkDynamicMemoryWStream stream; local
178 SkImageEncoder::EncodeStream(&stream, b,
180 SkData* streamData = stream.copyToData();
/frameworks/base/core/java/android/gesture/
H A DGestureStore.java221 public void save(OutputStream stream) throws IOException { argument
222 save(stream, false);
225 public void save(OutputStream stream, boolean closeStream) throws IOException { argument
236 out = new DataOutputStream((stream instanceof BufferedOutputStream) ? stream :
237 new BufferedOutputStream(stream, GestureConstants.IO_BUFFER_SIZE));
274 public void load(InputStream stream) throws IOException { argument
275 load(stream, false);
278 public void load(InputStream stream, boolean closeStream) throws IOException { argument
281 in = new DataInputStream((stream instanceo
[all...]
/frameworks/base/core/java/android/os/
H A DFileUtils.java65 * Perform an fsync on the given FileOutputStream. The stream at this
68 public static boolean sync(FileOutputStream stream) { argument
70 if (stream != null) {
71 stream.getFD().sync();
97 * Copy data from a source stream to destFile.
148 // input stream, bytes read not equal to buffer size is not necessarily the correct
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java118 * @param stream OutputStream to write the compressed data.
121 * 100]; or stream is null.
123 public boolean compressToJpeg(Rect rectangle, int quality, OutputStream stream) { argument
134 if (stream == null) {
135 throw new IllegalArgumentException("stream cannot be null");
142 rectangle.height(), offsets, mStrides, quality, stream,
239 int quality, OutputStream stream, byte[] tempStorage);
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
/frameworks/base/graphics/java/android/renderscript/
H A DFileA3D.java171 FileA3D(int id, RenderScript rs, InputStream stream) { argument
173 mInputStream = stream;
302 throw new RSRuntimeException("Unsupported asset stream");
/frameworks/base/keystore/java/android/security/
H A DAndroidKeyStore.java498 public void engineStore(OutputStream stream, char[] password) throws IOException, argument
504 public void engineLoad(InputStream stream, char[] password) throws IOException, argument
506 if (stream != null) {
/frameworks/base/voip/java/android/net/rtp/
H A DAudioGroup.java81 * encoded and sent back to each stream.
145 synchronized void add(AudioStream stream) { argument
146 if (!mStreams.containsKey(stream)) {
148 AudioCodec codec = stream.getCodec();
151 int id = nativeAdd(stream.getMode(), stream.getSocket(),
152 stream.getRemoteAddress().getHostAddress(),
153 stream.getRemotePort(), codecSpec, stream.getDtmfType());
154 mStreams.put(stream, i
165 remove(AudioStream stream) argument
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_eglapi.cpp40 * Task that monitors the control stream from the host and updates
45 TCPStream *stream = state->getStream(); local
47 // The control stream always receives an integer size of the
63 if (stream->receive(&cmdSize, sizeof(uint32_t)) < 0) {
78 if (stream->receive(cmdBuf, cmdSize) < 0) {
119 TCPStream *stream = new TCPStream(clientSocket); local
122 sGLTraceState = new GLTraceState(stream);
H A Dgltrace_transport.cpp131 ALOGE("Error receiving data from stream: %d", errno);
141 BufferedOutputStream::BufferedOutputStream(TCPStream *stream, size_t bufferSize) { argument
142 mStream = stream;
/frameworks/rs/
H A DrsAdapter.cpp44 void Adapter1D::serialize(Context *rsc, OStream *stream) const {
47 Adapter1D *Adapter1D::createFromStream(Context *rsc, IStream *stream) { argument
117 void Adapter2D::serialize(Context *rsc, OStream *stream) const {
120 Adapter2D *Adapter2D::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsProgramFragment.cpp79 void ProgramFragment::serialize(Context *rsc, OStream *stream) const {
82 ProgramFragment *ProgramFragment::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsProgramStore.cpp66 void ProgramStore::serialize(Context *rsc, OStream *stream) const {
69 ProgramStore *ProgramStore::createFromStream(Context *rsc, IStream *stream) { argument
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java43 int stream; field in class:AsyncPlayer.Command
47 return "{ code=" + code + " looping=" + looping + " stream=" + stream
61 player.setAudioStreamType(cmd.stream);
162 * @param stream the AudioStream to use.
165 public void play(Context context, Uri uri, boolean looping, int stream) { argument
172 cmd.stream = stream;
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
H A Dcod_main.h30 #include "stream.h"
93 FrameStream *stream; member in struct:__anon608

Completed in 225 milliseconds

12345