Home
last modified time | relevance | path

Searched refs:imageIndex (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaMetadataRetriever.java566 public Bitmap getImageAtIndex(int imageIndex, @NonNull BitmapParams params) { in getImageAtIndex() argument
567 return getImageAtIndexInternal(imageIndex, params); in getImageAtIndex()
587 int imageIndex, @NonNull BitmapParams params, int targetSize, int maxPixels); in getThumbnailImageAtIndex() argument
604 public Bitmap getImageAtIndex(int imageIndex) { in getImageAtIndex() argument
605 return getImageAtIndexInternal(imageIndex, null); in getImageAtIndex()
646 private Bitmap getImageAtIndexInternal(int imageIndex, @Nullable BitmapParams params) { in getImageAtIndexInternal() argument
652 if (imageIndex >= Integer.parseInt(imageCount)) { in getImageAtIndexInternal()
656 return _getImageAtIndex(imageIndex, params); in getImageAtIndexInternal()
659 private native Bitmap _getImageAtIndex(int imageIndex, @Nullable BitmapParams params); in _getImageAtIndex() argument
/frameworks/av/media/extractors/mp4/
DItemTable.h56 AMediaFormat *getImageMeta(const uint32_t imageIndex);
57 status_t findImageItem(const uint32_t imageIndex, uint32_t *itemIndex);
58 status_t findThumbnailItem(const uint32_t imageIndex, uint32_t *itemIndex);
DItemTable.cpp1486 AMediaFormat *ItemTable::getImageMeta(const uint32_t imageIndex) { in getImageMeta() argument
1491 if (imageIndex >= mDisplayables.size()) { in getImageMeta()
1492 ALOGE("%s: invalid image index %u", __FUNCTION__, imageIndex); in getImageMeta()
1495 const uint32_t itemIndex = mDisplayables[imageIndex]; in getImageMeta()
1496 ALOGV("image[%u]: item index %u", imageIndex, itemIndex); in getImageMeta()
1518 ALOGV("image[%u]: size %dx%d", imageIndex, image->width, image->height); in getImageMeta()
1552 imageIndex, thumbnail.width, thumbnail.height, thumbItemIndex); in getImageMeta()
1554 ALOGW("%s: thumbnail data is missing for image[%u]!", __FUNCTION__, imageIndex); in getImageMeta()
1578 ALOGE("%s: hvcc is missing for image[%u]!", __FUNCTION__, imageIndex); in getImageMeta()
1591 status_t ItemTable::findImageItem(const uint32_t imageIndex, uint32_t *itemIndex) { in findImageItem() argument
[all …]
DMPEG4Extractor.cpp662 for (uint32_t imageIndex = 0; in readMetaData() local
663 imageIndex < mItemTable->countImages(); imageIndex++) { in readMetaData()
664 AMediaFormat *meta = mItemTable->getImageMeta(imageIndex); in readMetaData()
666 ALOGE("heif image %u has no meta!", imageIndex); in readMetaData()
679 ALOGV("adding HEIF image track %u", imageIndex); in readMetaData()
689 AMediaFormat_setInt32(track->meta, AMEDIAFORMAT_KEY_TRACK_ID, imageIndex); in readMetaData()
5666 int32_t imageIndex; in read() local
5667 if (!AMediaFormat_getInt32(mFormat, AMEDIAFORMAT_KEY_TRACK_ID, &imageIndex)) { in read()
5673 err = mItemTable->findImageItem(imageIndex, &mCurrentSampleIndex); in read()
5675 err = mItemTable->findThumbnailItem(imageIndex, &mCurrentSampleIndex); in read()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp1915 info->imageIndex < swapchain->num_images, in InterceptBindImageMemory2()
1919 swapchain->images[info->imageIndex].buffer.get(); in InterceptBindImageMemory2()
/frameworks/native/vulkan/api/
Dvulkan.api5279 u32 imageIndex
10363 imageIndex := ?
10364 pImageIndex[0] = imageIndex