Searched refs:newSurface (Results 1 – 1 of 1) sorted by relevance
2764 status_t CCodecBufferChannel::setSurface(const sp<Surface> &newSurface) { in setSurface() argument2771 if (newSurface) { in setSurface()2772 newSurface->setScalingMode(NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in setSurface()2773 newSurface->setMaxDequeuedBufferCount(kMinOutputBufferArraySize); in setSurface()2774 producer = newSurface->getIGraphicBufferProducer(); in setSurface()2801 output->surface = newSurface; in setSurface()