Searched refs:offset (Results 451 - 475 of 637) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dmotion_comp.cpp52 int block_x, block_y, offset_x, offset_y, offsetP, offset; local
63 offset = (tmp_word >> 2) + (x_position >> 1);
64 curCb = currPic->Scb + offset;
65 curCr = currPic->Scr + offset;
96 //offset = offset_y * currPic->width;
97 //offsetC = (offset >> 2) + (offset_x >> 1);
100 /*comp_Sl + offset + offset_x,*/
194 int offset, out_offset; local
204 offset = picpitch - blkwidth - 3;
222 ref += offset;
1703 int offset, j; local
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG2TSWriter.cpp937 size_t offset = copy; local
938 while (offset < accessUnit->size()) {
939 bool lastAccessUnit = ((accessUnit->size() - offset) < 184);
965 uint8_t paddingSize = (uint8_t)184 - (accessUnit->size() - offset);
974 size_t copy = accessUnit->size() - offset;
979 memcpy(ptr, accessUnit->data() + offset, copy);
983 offset += copy;
1009 * Compute CRC32 checksum for buffer starting at offset start and for length
H A DStagefrightMediaScanner.cpp77 file.offset = 0;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp143 int k, offset; local
161 offset = (k & 1) + (k >> 1) * doubleWidth;
183 mot_x[pos+offset] = (MOT) mvx;
184 mot_y[pos+offset] = (MOT) mvy;
229 offset = (k & 1) + (k >> 1) * doubleWidth;
232 mot_x[pos+offset] = (MOT) mvx;
233 mot_y[pos+offset] = (MOT) mvy;
888 /* first escape mode. level is offset */
941 /* second escape mode. run is offset */
1069 /* first escape mode. level is offset */
[all...]
H A Didct.cpp133 int offset = width - 8; local
264 comp += offset;
332 comp += offset;
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp727 if (!itemMeta->findInt64("range-offset", &range_offset)
893 size_t offset = 0; local
894 while (offset < 16) {
896 offset, key->data() + offset, 16 - offset);
902 offset += n;
971 buffer->setRange(buffer->offset(), n);
/frameworks/av/services/camera/libcameraservice/
H A DCameraClient.cpp793 ssize_t offset; local
795 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
824 copyFrameAndPostCopiedFrame(msgType, c, heap, offset, size, metadata);
850 ssize_t offset; local
852 sp<IMemoryHeap> heap = mem->getMemory(&offset, &size);
902 const sp<IMemoryHeap>& heap, size_t offset, size_t size,
925 memcpy(previewBuffer->base(), (uint8_t *)heap->base() + offset, size);
900 copyFrameAndPostCopiedFrame( int32_t msgType, const sp<ICameraClient>& client, const sp<IMemoryHeap>& heap, size_t offset, size_t size, camera_frame_metadata_t *metadata) argument
H A DCameraClient.h109 size_t offset, size_t size,
/frameworks/base/core/java/android/widget/
H A DGallery.java453 * @param offset the number of pixels to offset
455 private void offsetChildrenLeftAndRight(int offset) { argument
457 getChildAt(i).offsetLeftAndRight(offset);
662 * on. The 0 for x will be offset in a couple lines down.
835 * @param offset Offset from the selected position
843 private View makeAndAddView(int position, int offset, int x, boolean fromLeft) { argument
858 setUpChild(child, offset, x, fromLeft);
868 setUpChild(child, offset, x, fromLeft);
878 * @param offset Offse
885 setUpChild(View child, int offset, int x, boolean fromLeft) argument
[all...]
H A DAutoCompleteTextView.java369 * <p>Sets the vertical offset used for the auto-complete drop-down list.</p>
371 * @param offset the vertical offset
373 public void setDropDownVerticalOffset(int offset) { argument
374 mPopup.setVerticalOffset(offset);
378 * <p>Gets the vertical offset used for the auto-complete drop-down list.</p>
380 * @return the vertical offset
387 * <p>Sets the horizontal offset used for the auto-complete drop-down list.</p>
389 * @param offset the horizontal offset
391 setDropDownHorizontalOffset(int offset) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp69 offset(0),
956 int offset,
970 attrib.offset = offset;
982 int offset,
995 attrib.values = data + offset;
1090 reinterpret_cast<const void*>(attrib.offset));
951 SetAttributeValues(ProgramVar var, const VertexFrame* vbo, GLenum type, int components, int stride, int offset, bool normalize) argument
977 SetAttributeValues(ProgramVar var, const uint8_t* data, GLenum type, int components, int stride, int offset, bool normalize) argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderSessionImpl.java1358 private List<ViewInfo> startVisitingViews(View view, int offset, boolean setExtendedInfo) { argument
1363 // adjust the offset to this view.
1364 offset += view.getTop();
1367 return visitAllChildren(mContentRoot, offset, setExtendedInfo);
1375 List<ViewInfo> list = startVisitingViews(group.getChildAt(i), offset,
1390 * @param offset an offset for the view bounds.
1393 private ViewInfo visit(View view, int offset, boolean setExtendedInfo) { argument
1400 view.getLeft(), view.getTop() + offset, view.getRight(), view.getBottom() + offset,
1431 visitAllChildren(ViewGroup viewGroup, int offset, boolean setExtendedInfo) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmServiceStateTracker.java952 // If the offset is (0, false) and the timezone property
968 // local time w/ 0 offset.
974 // For wrong NITZ reporting local time w/ 0 offset,
1079 private TimeZone getNitzTimeZone(int offset, boolean dst, long when) { argument
1080 TimeZone guess = findTimeZone(offset, dst, when);
1083 guess = findTimeZone(offset, !dst, when);
1089 private TimeZone findTimeZone(int offset, boolean dst, long when) { argument
1090 int rawOffset = offset;
1099 if (tz.getOffset(when) == offset &&
1289 private static int twoDigitsAt(String s, int offset) { argument
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DFwdLockFile.c313 off64_t FwdLockFile_lseek(int fileDesc, off64_t offset, int whence) { argument
322 newFilePos = lseek64(pSession->fileDesc, pSession->dataOffset + offset, whence);
326 newFilePos = lseek64(pSession->fileDesc, offset, whence);
/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp287 status_t MediaRecorder::setOutputFile(int fd, int64_t offset, int64_t length) argument
289 ALOGV("setOutputFile(%d, %lld, %lld)", fd, offset, length);
314 status_t ret = mMediaRecorder->setOutputFile(fd, offset, length);
H A DIMediaPlayer.cpp98 status_t setDataSource(int fd, int64_t offset, int64_t length) { argument
102 data.writeInt64(offset);
372 int64_t offset = data.readInt64(); local
374 reply->writeInt32(setDataSource(fd, offset, length));
/frameworks/av/services/audioflinger/
H A DAudioResamplerSinc.cpp654 const size_t offset = c.halfNumCoefs; local
655 indexP *= offset;
656 indexN *= offset;
663 size_t count = offset;
669 interpolate<CHANNELS>(l, r, coefsP++, offset, lerpP, sP);
671 interpolate<CHANNELS>(l, r, coefsN++, offset, lerpN, sN);
677 int32_t const* coefsP1 = coefsP + offset;
678 int32_t const* coefsN1 = coefsN + offset;
743 int32_t const* coefsP1 = coefsP + offset;
744 int32_t const* coefsN1 = coefsN + offset;
822 interpolate( int32_t& l, int32_t& r, const int32_t* coefs, size_t offset, int32_t lerp, const int16_t* samples) argument
[all...]
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java53 public StringBlock(byte[] data, int offset, int size, boolean useSparse) { argument
54 mNative = nativeCreate(data, offset, size);
427 int offset,
426 nativeCreate(byte[] data, int offset, int size) argument
H A DXmlBlock.java43 public XmlBlock(byte[] data, int offset, int size) { argument
45 mNative = nativeCreate(data, offset, size);
492 int offset,
491 nativeCreate(byte[] data, int offset, int size) argument
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java478 long offset = a.getStartOffset();
479 a.setStartOffset(offset + startOffset);
480 storedOffsets[i] = offset;
/frameworks/base/core/java/android/view/
H A DView.java351 * Padding can be used to offset the content of the view by a specific amount of
537 * offset as well as mechanisms for drawing scrollbars. See
2782 * The offset, in pixels, by which the content of this view is scrolled
2789 * The offset, in pixels, by which the content of this view is scrolled
4439 position.offset(child.mLeft, child.mTop);
4447 position.offset(-parentView.getScrollX(), -parentView.getScrollY());
4933 position.offset(mLeft, mTop);
4939 position.offset(-parentView.mScrollX, -parentView.mScrollY);
4945 position.offset(parentView.mLeft, parentView.mTop);
4952 position.offset(
9897 offsetTopAndBottom(int offset) argument
9948 offsetLeftAndRight(int offset) argument
[all...]
H A DFocusFinder.java209 mBestCandidateRect.offset(focusedRect.width() + 1, 0);
212 mBestCandidateRect.offset(-(focusedRect.width() + 1), 0);
215 mBestCandidateRect.offset(0, focusedRect.height() + 1);
218 mBestCandidateRect.offset(0, -(focusedRect.height() + 1));
/frameworks/av/include/media/
H A Dmediarecorder.h217 status_t setOutputFile(int fd, int64_t offset, int64_t length);
/frameworks/av/libvideoeditor/osal/src/
H A DLVOSA_FileReader_optim.c195 M4OSA_FilePosition offset; local
205 offset = pos - apContext->buffer[i].filepos;
207 copysize = apContext->buffer[i].size - offset;
210 memcpy((void *)pData, (void *)(apContext->buffer[i].data + offset), copysize);
830 * From the current position (signed offset) : end position = current position + position.
/frameworks/av/media/libstagefright/codecs/avc/common/src/
H A Ddpb.cpp268 int offset = 0; local
296 offset = ((video->PicWidthInSamplesL + 32) << 4) + 16; // offset to the origin
297 offsetc = (offset >> 2) + 4;
304 video->currPic->Sl = video->currFS->base_dpb + offset;

Completed in 4391 milliseconds

<<11121314151617181920>>