Home
last modified time | relevance | path

Searched refs:gridRows (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
113 && trackMeta->findInt32(kKeyGridRows, gridRows) && (*gridRows > 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()
606 mGridRows = gridRows; in onGetFormatAndSeekOptions()
609 gridCols, gridRows, tileWidth, tileHeight, mWidth, mHeight); in onGetFormatAndSeekOptions()
DUtils.cpp672 int32_t tileWidth, tileHeight, gridRows, gridCols; in convertMetaDataToMessage() local
675 && meta->findInt32(kKeyGridRows, &gridRows) in convertMetaDataToMessage()
679 msg->setInt32("grid-rows", gridRows); in convertMetaDataToMessage()
1348 int32_t tileWidth, tileHeight, gridRows, gridCols; in convertMessageToMetaData() local
1355 if (msg->findInt32("grid-rows", &gridRows)) { in convertMessageToMetaData()
1356 meta->setInt32(kKeyGridRows, gridRows); in convertMessageToMetaData()
DMPEG4Writer.cpp1826 int32_t tileWidth, tileHeight, gridRows, gridCols; in Track() local
1829 mMeta->findInt32(kKeyGridRows, &gridRows) && (gridRows > 0) && in Track()
1833 mGridRows = gridRows; in Track()
1835 mNumTiles = gridRows * gridCols; in Track()
DACodec.cpp4427 int32_t tileWidth, tileHeight, gridRows, gridCols; in configureImageGrid() local
4430 !msg->findInt32("grid-rows", &gridRows) || in configureImageGrid()
4441 gridType.nGridRows = gridRows; in configureImageGrid()
/frameworks/support/heifwriter/src/main/java/androidx/heifwriter/
DHeifEncoder.java228 int gridWidth, gridHeight, gridRows, gridCols; in HeifEncoder() local
233 gridRows = (height + GRID_HEIGHT - 1) / GRID_HEIGHT; in HeifEncoder()
238 gridRows = 1; in HeifEncoder()
255 codecFormat.setInteger(MediaFormat.KEY_GRID_ROWS, gridRows); in HeifEncoder()
266 mGridRows = gridRows; in HeifEncoder()
DHeifWriter.java509 int gridRows = format.getInteger(MediaFormat.KEY_GRID_ROWS); in onOutputFormatChanged() local
511 mNumTiles = gridRows * gridCols; in onOutputFormatChanged()
/frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/
DHeifWriterTest.java577 int gridRows = format.getInteger(MediaFormat.KEY_GRID_ROWS); in verifyResult() local
582 ((height + gridHeight - 1) / gridHeight) == gridRows); in verifyResult()