Home
last modified time | relevance | path

Searched refs:gridCols (Results 1 – 5 of 5) 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()
611 int32_t tileWidth, tileHeight, gridRows, gridCols; in onGetFormatAndSeekOptions() local
612 if (findGridInfo(trackMeta(), &tileWidth, &tileHeight, &gridRows, &gridCols)) { in onGetFormatAndSeekOptions()
613 if (mWidth <= tileWidth * gridCols && mHeight <= tileHeight * gridRows) { in onGetFormatAndSeekOptions()
615 gridCols, gridRows, tileWidth, tileHeight, mWidth, mHeight); in onGetFormatAndSeekOptions()
622 mGridCols = gridCols; in onGetFormatAndSeekOptions()
626 gridCols, gridRows, tileWidth, tileHeight, mWidth, mHeight); in onGetFormatAndSeekOptions()
DUtils.cpp931 int32_t tileWidth, tileHeight, gridRows, gridCols; in convertMetaDataToMessage() local
935 && meta->findInt32(kKeyGridCols, &gridCols)) { in convertMetaDataToMessage()
939 msg->setInt32("grid-cols", gridCols); in convertMetaDataToMessage()
1675 int32_t tileWidth, tileHeight, gridRows, gridCols; in convertMessageToMetaData() local
1685 if (msg->findInt32("grid-cols", &gridCols)) { in convertMessageToMetaData()
1686 meta->setInt32(kKeyGridCols, gridCols); in convertMessageToMetaData()
DMPEG4Writer.cpp1849 int32_t tileWidth, tileHeight, gridRows, gridCols; in Track() local
1853 mMeta->findInt32(kKeyGridCols, &gridCols) && (gridCols > 0)) { in Track()
1857 mGridCols = gridCols; in Track()
1858 mNumTiles = gridRows * gridCols; in Track()
DACodec.cpp4515 int32_t tileWidth, tileHeight, gridRows, gridCols; in configureImageGrid() local
4520 msg->findInt32("grid-cols", &gridCols)) { in configureImageGrid()
4525 tileWidth = tileHeight = gridRows = gridCols = 0; in configureImageGrid()
4539 gridType.nGridCols = gridCols; in configureImageGrid()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp413 int32_t gridRows, gridCols; in onHeicFormatChanged() local
415 newFormat->findInt32(KEY_GRID_COLUMNS, &gridCols)) { in onHeicFormatChanged()
416 mNumOutputTiles = gridRows * gridCols; in onHeicFormatChanged()
1237 int32_t gridWidth, gridHeight, gridRows, gridCols; in initializeCodec() local
1242 gridCols = (width + gridWidth - 1)/gridWidth; in initializeCodec()
1247 outputFormat->setInt32(KEY_GRID_COLUMNS, gridCols); in initializeCodec()
1255 gridCols = 1; in initializeCodec()
1263 outputFormat->setInt32(KEY_FRAME_RATE, gridRows * gridCols); in initializeCodec()
1278 mGridCols = gridCols; in initializeCodec()