Lines Matching refs:newFormat
383 void HeicCompositeStream::onHeicFormatChanged(sp<AMessage>& newFormat) { in onHeicFormatChanged() argument
384 if (newFormat == nullptr) { in onHeicFormatChanged()
393 newFormat->findString(KEY_MIME, &mime); in onHeicFormatChanged()
397 newFormat->setString(KEY_MIME, mimeHeic); in onHeicFormatChanged()
398 newFormat->setInt32(KEY_WIDTH, mOutputWidth); in onHeicFormatChanged()
399 newFormat->setInt32(KEY_HEIGHT, mOutputHeight); in onHeicFormatChanged()
401 newFormat->setInt32(KEY_TILE_WIDTH, mGridWidth); in onHeicFormatChanged()
402 newFormat->setInt32(KEY_TILE_HEIGHT, mGridHeight); in onHeicFormatChanged()
403 newFormat->setInt32(KEY_GRID_ROWS, mGridRows); in onHeicFormatChanged()
404 newFormat->setInt32(KEY_GRID_COLUMNS, mGridCols); in onHeicFormatChanged()
407 newFormat->setInt32(KEY_IS_DEFAULT, 1 /*isPrimary*/); in onHeicFormatChanged()
410 if (newFormat->findInt32(KEY_GRID_ROWS, &gridRows) && in onHeicFormatChanged()
411 newFormat->findInt32(KEY_GRID_COLUMNS, &gridCols)) { in onHeicFormatChanged()
418 mFormat = newFormat; in onHeicFormatChanged()