Searched defs:offset (Results 151 - 175 of 644) sorted by relevance

1234567891011>>

/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.cpp4 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
18 if (offset < 0) {
21 _exceptionMessage = "offset < 0";
24 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
27 attrib_list = attrib_list_base + offset;
77 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
97 if (offset < 0) {
100 _exceptionMessage = "offset < 0";
120 _remaining = _env->GetArrayLength(attrib_list_ref) - offset;
123 attrib_list = attrib_list_base + offset;
3 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
76 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
[all...]
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/utils/
H A DBmsgTokenizer.java66 public BmsgTokenizer(String str, int offset) { argument
68 mOffset = offset;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmSmsCbMessage.java204 int offset = SmsCbHeader.PDU_HEADER_LENGTH + 1 + (PDU_BODY_PAGE_LENGTH + 1) * i;
205 int length = pdu[offset + PDU_BODY_PAGE_LENGTH];
212 Pair<String, String> p = unpackBody(pdu, encoding, offset, length,
220 int offset = SmsCbHeader.PDU_HEADER_LENGTH;
221 int length = pdu.length - offset;
223 return unpackBody(pdu, encoding, offset, length, hasLanguageIndicator, language);
233 * @param offset Position of the first byte to unpack
241 private static Pair<String, String> unpackBody(byte[] pdu, int encoding, int offset, int length, argument
247 body = GsmAlphabet.gsm7BitPackedToString(pdu, offset, length * 8 / 7);
251 // The actual body text is offset b
[all...]
H A DSimTlv.java38 public SimTlv(byte[] record, int offset, int length) { argument
41 mTlvOffset = offset;
43 mCurOffset = offset;
/frameworks/rs/driver/
H A DrsdVertexArray.cpp45 offset = 0;
55 bool normalized, size_t offset,
60 this->offset = offset;
70 ALOGV("va %i: slot=%i name=%s buf=%i ptr=%p size=%i type=0x%x stride=0x%x norm=%i offset=0x%p",
79 (void*)mAttribs[idx].offset);
115 mAttribs[ct].ptr + mAttribs[ct].offset);
54 set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, size_t offset, const char *name) argument
/frameworks/support/v4/donut/android/support/v4/view/
H A DViewCompatBase.java113 static void offsetTopAndBottom(View view, int offset) { argument
115 view.offsetTopAndBottom(offset);
117 if (offset != 0) {
121 final int absOffset = Math.abs(offset);
133 static void offsetLeftAndRight(View view, int offset) { argument
135 view.offsetLeftAndRight(offset);
137 if (offset != 0) {
141 final int absOffset = Math.abs(offset);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerSavedStateTest.java97 return "scroll to position item count / 3 with positive offset";
111 return "scroll to position with negative offset";
239 public void scrollToPositionWithOffset(int position, int offset) throws Throwable { argument
240 mTest.scrollToPositionWithOffset(position, offset);
/frameworks/wilhelm/src/android/
H A DAacBqToPcmCbRenderer.cpp31 * Note that if the returned value + offset > size, it means that a partial frame starts at that
32 * offset, but this function will still return the size of the full frame.
34 * @param offset offset in bytes relative to data of where the frame is supposed to start
36 * @return the size in bytes of the AAC ADTS frame starting at the given offset of the given
39 static size_t getAdtsFrameSize(const uint8_t *data, off64_t offset, size_t size) { argument
42 if (!(offset + ADTS_HEADER_SIZE_UP_TO_FRAMESIZE < (off64_t) size)) {
48 const uint8_t *syncword = data + offset;
54 const uint8_t protectionAbsent = data[offset+1] & 0x1;
56 const uint8_t* header = data + offset
86 off64_t offset = 0; local
[all...]
H A DBufferQueueSource.cpp57 ssize_t BufferQueueSource::readAt(off64_t offset, void *data, size_t size) { argument
58 SL_LOGD("BufferQueueSource::readAt(offset=%lld, data=%p, size=%d)", offset, data, size);
96 //assert(mStreamToBqOffset <= offset);
97 CHECK_LE(mStreamToBqOffset, offset);
99 if (offset + (off64_t) size <= mStreamToBqOffset + oldFront->mDataSize) {
100 pSrc = ((char*)oldFront->mDataBuffer) + (offset - mStreamToBqOffset);
102 if (offset - mStreamToBqOffset + size == oldFront->mDataSize) {
/frameworks/av/include/media/stagefright/
H A DDataSource.h64 // this returns zero; it just means the given offset is equal to, or
66 virtual ssize_t readAt(off64_t offset, void *data, size_t size) = 0;
69 bool getUInt16(off64_t offset, uint16_t *x);
70 bool getUInt24(off64_t offset, uint32_t *x); // 3 byte int, returned as a 32-bit int
71 bool getUInt32(off64_t offset, uint32_t *x);
72 bool getUInt64(off64_t offset, uint64_t *x);
85 bool getVector(off64_t offset, Vector<T>* x, size_t count,
99 virtual status_t reconnectAtOffset(off64_t offset) { argument
145 bool DataSource::getVector(off64_t offset, Vector<T>* x, size_t count, argument
164 numBytesRead = this->readAt(offset, (voi
[all...]
/frameworks/av/media/libmedia/
H A DIDataSource.cpp52 virtual ssize_t readAt(off64_t offset, size_t size) { argument
55 data.writeInt64(offset);
144 off64_t offset = (off64_t) data.readInt64(); local
146 reply->writeInt64(readAt(offset, size));
H A DIMediaHTTPConnection.cpp90 virtual ssize_t readAt(off64_t offset, void *buffer, size_t size) { argument
95 data.writeInt64(offset);
H A Dmediametadataretriever.cpp117 status_t MediaMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument
119 ALOGV("setDataSource(%d, %" PRId64 ", %" PRId64 ")", fd, offset, length);
125 if (fd < 0 || offset < 0 || length < 0) {
129 return mRetriever->setDataSource(fd, offset, length);
/frameworks/av/media/libmediaplayerservice/
H A DHDCP.cpp131 size_t offset, size_t size, uint32_t streamCTR,
144 offset, size, streamCTR, outInputCTR, outData);
129 encryptNative( const sp<GraphicBuffer> &graphicBuffer, size_t offset, size_t size, uint32_t streamCTR, uint64_t *outInputCTR, void *outData) argument
H A DMediaPlayerFactory.cpp111 int64_t offset,
113 GET_PLAYER_TYPE_IMPL(client, fd, offset, length);
109 getPlayerType(const sp<IMediaPlayer>& client, int fd, int64_t offset, int64_t length) argument
H A DMetadataRetrieverClient.cpp135 status_t MetadataRetrieverClient::setDataSource(int fd, int64_t offset, int64_t length) argument
137 ALOGV("setDataSource fd=%d (%s), offset=%lld, length=%lld",
138 fd, nameForFd(fd).c_str(), (long long) offset, (long long) length);
152 if (offset >= sb.st_size) {
153 ALOGE("offset (%lld) bigger than file size (%llu)",
154 (long long)offset, (unsigned long long)sb.st_size);
157 if (offset + length > sb.st_size) {
158 length = sb.st_size - offset;
165 offset,
172 status_t status = p->setDataSource(fd, offset, lengt
[all...]
/frameworks/av/media/libstagefright/
H A DESDS.cpp72 size_t offset, size_t size,
78 *tag = mData[offset++];
88 uint8_t x = mData[offset++];
102 *data_offset = offset;
125 status_t ESDS::parseESDescriptor(size_t offset, size_t size) { argument
130 offset += 2; // skip ES_ID
133 unsigned streamDependenceFlag = mData[offset] & 0x80;
134 unsigned URL_Flag = mData[offset] & 0x40;
135 unsigned OCRstreamFlag = mData[offset] & 0x20;
137 ++offset;
71 skipDescriptorHeader( size_t offset, size_t size, uint8_t *tag, size_t *data_offset, size_t *data_size) const argument
210 parseDecoderConfigDescriptor(size_t offset, size_t size) argument
[all...]
H A DVBRISeeker.cpp107 off64_t offset = post_id3_pos; local
125 ALOGV("entry #%zu: %u offset %#016llx", i, numBytes, (long long)offset);
126 offset += numBytes;
H A DXINGSeeker.cpp86 int offset = first_frame_pos; local
87 if (source->readAt(offset, &buffer, 4) < 4) { // get header
90 offset += 4;
105 // determine offset of XING header
107 if (num_channels != 1) offset += 32;
108 else offset += 17;
110 if (num_channels != 1) offset += 17;
111 else offset += 9;
114 int xingbase = offset;
116 if (source->readAt(offset,
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dget_pred_adv_b_add.cpp90 int offset, offset2; local
94 /* initialize offset to adjust pixel counter */
96 offset = width - B_SIZE; /* offset for prev */
97 offset2 = (pred_width_rnd >> 1) - 4; /* offset for pred_block */
129 prev += offset;
152 prev += offset;
174 prev += offset;
190 int offset, offset2; local
196 /* initialize offset t
519 int offset, offset2; local
866 int offset, offset2; local
[all...]
H A Didct_vca.cpp48 /* preset the offset, such that we can take advantage pre-offset addressing mode */
104 /* preset the offset, such that we can take advantage pre-offset addressing mode */
192 /* preset the offset, such that we can take advantage pre-offset addressing mode */
301 /* preset the offset, such that we can take advantage pre-offset addressing mode */
424 int offset = width; local
427 comp -= offset;
452 int offset = width; local
509 int offset = width; local
582 int offset = width; local
[all...]
H A Dpost_filter.cpp190 int d, offset, nMBPerRow, nMBPerCol, width2 = (width << 1); local
399 offset = width * b_size - b_size;
472 rec_y -= offset;
489 offset = width * b_size - b_size;
570 rec_y -= offset;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp44 Int offset = 0; local
111 getMotionCompensatedMB(video, ind_x, ind_y, offset);
130 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
168 offset += 16;
171 offset += (lx << 4) - width;
224 Int offset = video->offset; /* get current MB location */ local
317 getMotionCompensatedMB(video, ind_x, ind_y, offset);
341 status = (*CodeMB)(video, &fastDCTfunction, (offset << 5) + QP, ncoefblck);
419 video->offset
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_framedecoder.cpp271 * offset in bytes from the first byte of the sync word
562 pMainData->pBuffer[module(pMainData->offset++, BUFSIZE)] = (uint8)val;
571 int32 offset = (pVars->inputStream.usedBits) >> INBUF_ARRAY_INDEX_SHIFT; local
576 if ((offset + temp) < BUFSIZE)
578 uint8 * ptr = pVars->inputStream.pBuffer + offset;
580 offset = pVars->mainDataStream.offset;
585 if ((offset + temp) < BUFSIZE)
587 pv_memcpy((pVars->mainDataStream.pBuffer + offset), ptr, temp*sizeof(uint8));
588 pVars->mainDataStream.offset
[all...]
/frameworks/av/media/libstagefright/http/
H A DMediaHTTP.cpp47 off64_t /* offset */) {
89 ssize_t MediaHTTP::readAt(off64_t offset, void *data, size_t size) { argument
107 offset + numBytesRead, (uint8_t *)data + numBytesRead, copy);
147 status_t MediaHTTP::reconnectAtOffset(off64_t offset) { argument
148 return connect(mLastURI.c_str(), &mLastHeaders, offset);

Completed in 260 milliseconds

1234567891011>>