Home
last modified time | relevance | path

Searched refs:gridCols (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/media/libstagefright/
DFrameDecoder.cpp110 int32_t *tileWidth, int32_t *tileHeight, int32_t *gridRows, int32_t *gridCols) { in findGridInfo() argument
114 && trackMeta->findInt32(kKeyGridCols, gridCols) && (*gridCols > 0); in findGridInfo()
168 int32_t gridRows, gridCols; in getMetadataOnly() local
169 if (!findGridInfo(trackMeta, &tileWidth, &tileHeight, &gridRows, &gridCols)) { in getMetadataOnly()
594 int32_t tileWidth, tileHeight, gridRows, gridCols; in onGetFormatAndSeekOptions() local
595 if (findGridInfo(trackMeta(), &tileWidth, &tileHeight, &gridRows, &gridCols)) { in onGetFormatAndSeekOptions()
596 if (mWidth <= tileWidth * gridCols && mHeight <= tileHeight * gridRows) { in onGetFormatAndSeekOptions()
598 gridCols, gridRows, tileWidth, tileHeight, mWidth, mHeight); in onGetFormatAndSeekOptions()
605 mGridCols = gridCols; in onGetFormatAndSeekOptions()
609 gridCols, gridRows, tileWidth, tileHeight, mWidth, mHeight); in onGetFormatAndSeekOptions()
DUtils.cpp672 int32_t tileWidth, tileHeight, gridRows, gridCols; in convertMetaDataToMessage() local
676 && meta->findInt32(kKeyGridCols, &gridCols)) { in convertMetaDataToMessage()
680 msg->setInt32("grid-cols", gridCols); in convertMetaDataToMessage()
1348 int32_t tileWidth, tileHeight, gridRows, gridCols; in convertMessageToMetaData() local
1358 if (msg->findInt32("grid-cols", &gridCols)) { in convertMessageToMetaData()
1359 meta->setInt32(kKeyGridCols, gridCols); in convertMessageToMetaData()
DMPEG4Writer.cpp1826 int32_t tileWidth, tileHeight, gridRows, gridCols; in Track() local
1830 mMeta->findInt32(kKeyGridCols, &gridCols) && (gridCols > 0)) { in Track()
1834 mGridCols = gridCols; in Track()
1835 mNumTiles = gridRows * gridCols; in Track()
DACodec.cpp4427 int32_t tileWidth, tileHeight, gridRows, gridCols; in configureImageGrid() local
4431 !msg->findInt32("grid-cols", &gridCols)) { in configureImageGrid()
4442 gridType.nGridCols = gridCols; in configureImageGrid()
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
DHeifEncoder.java228 int gridWidth, gridHeight, gridRows, gridCols; in HeifEncoder() local
234 gridCols = (width + GRID_WIDTH - 1) / GRID_WIDTH; in HeifEncoder()
239 gridCols = 1; in HeifEncoder()
254 codecFormat.setInteger(MediaFormat.KEY_GRID_COLUMNS, gridCols); in HeifEncoder()
267 mGridCols = gridCols; in HeifEncoder()
DHeifWriter.java510 int gridCols = format.getInteger(MediaFormat.KEY_GRID_COLUMNS); in onOutputFormatChanged() local
511 mNumTiles = gridRows * gridCols; in onOutputFormatChanged()
/frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/
DHeifWriterTest.java578 int gridCols = format.getInteger(MediaFormat.KEY_GRID_COLUMNS); in verifyResult() local
580 ((width + gridWidth - 1) / gridWidth) == gridCols); in verifyResult()