Lines Matching defs:output

49  * <p>This is the authoritative list for all <!-- input/ -->output formats (and sizes respectively
85 * and thus needs a separate list of slow high-resolution output sizes
198 * Get the image {@code format} output formats in this stream configuration.
212 return getPublicFormats(/*output*/true);
216 * Get the image {@code format} output formats for a reprocessing input format.
220 * listed in the return value of this method. Including any other output Surface as a target
221 * will throw an IllegalArgumentException. If no output format is supported given the input
254 return getPublicFormats(/*output*/false);
267 return getPublicFormatSizes(format, /*output*/false, /*highRes*/false);
271 * Determine whether or not output surfaces with a particular user-defined format can be passed
274 * <p>This method determines that the output {@code format} is supported by the camera device;
275 * each output {@code surface} target may or may not itself support that {@code format}.
302 return getFormatsMap(/*output*/true).indexOfKey(internalFormat) >= 0;
307 * Determine whether or not output streams can be configured with a particular class
333 * <p>Since not all of the above classes support output of all format and size combinations,
337 * @return {@code true} if this class is supported as an output, {@code false} otherwise
366 * in a {@link CameraDevice#createCaptureSession capture session} as an output.
429 * Get a list of sizes compatible with {@code klass} to use as an output.
441 * <p>The {@code klass} should be a supported output, that querying
448 * or {@code null} iff the {@code klass} is not a supported output.
461 HAL_DATASPACE_UNKNOWN,/*output*/true, /*highRes*/false);
473 * capability to get a list of high-resolution output sizes that cannot operate at the preferred
476 * support the BURST_CAPTURE capability, all output resolutions are listed through this method.
481 * or {@code null} if the {@code format} is not a supported output
488 return getPublicFormatSizes(format, /*output*/true, /*highRes*/ false);
510 * capture session. Note that for the use case of multiple output streams, application must
589 * sizes to create a high speed capture session. Note that for the use case of multiple output
654 * <p>This includes all output sizes that cannot meet the 20 fps frame rate requirements for the
656 * capability. This does not include the stall duration, so for example, a JPEG or RAW16 output
673 return getPublicFormatSizes(format, /*output*/true, /*highRes*/ true);
698 * regardless of whether the stream is input or output.</p>
702 * @param size an output-compatible size
716 checkArgumentFormatSupported(format, /*output*/true);
751 * regardless of whether the stream is input or output.</p>
757 * @param size an output-compatible size
851 * @param size an output-compatible size
862 checkArgumentFormatSupported(format, /*output*/true);
888 * @param size an output-compatible size
949 private int checkArgumentFormatSupported(int format, boolean output) {
955 if (output) {
1251 private Size[] getPublicFormatSizes(int format, boolean output, boolean highRes) {
1253 checkArgumentFormatSupported(format, output);
1261 return getInternalFormatSizes(internalFormat, dataspace, output, highRes);
1265 boolean output, boolean highRes) {
1272 !output ? mInputFormats :
1278 if ( ((!output || dataspace == HAL_DATASPACE_DEPTH) && sizesCount == 0) ||
1279 (output && dataspace != HAL_DATASPACE_DEPTH && mAllOutputFormats.get(format) == 0)) {
1294 if (fmt == format && config.isOutput() == output) {
1295 if (output && mListHighResolution) {
1296 // Filter slow high-res output formats; include for
1325 /** Get the list of publically visible output formats; does not include IMPL_DEFINED */
1326 private int[] getPublicFormats(boolean output) {
1327 int[] formats = new int[getPublicFormatCount(output)];
1331 SparseIntArray map = getFormatsMap(output);
1336 if (output) {
1348 /** Get the format -> size count map for either output or input formats */
1349 private SparseIntArray getFormatsMap(boolean output) {
1350 return output ? mAllOutputFormats : mInputFormats;
1392 /** Count the number of publicly-visible output formats */
1393 private int getPublicFormatCount(boolean output) {
1394 SparseIntArray formatsMap = getFormatsMap(output);
1396 if (output) {
1443 * {@code [w:%d, h:%d, format:%s(%d), min_duration:%d, stall:%d]} represents an output
1453 * represents an input fomat and its valid output formats.</p>
1457 * {@code [w:%d, h:%d, min_fps:%d, max_fps:%d]} represents a high speed video output
1662 /** internal format -> num output sizes mapping, not including slow high-res sizes, for
1665 /** internal format -> num output sizes mapping for slow high-res sizes, for non-depth
1668 /** internal format -> num output sizes mapping for all non-depth dataspaces */
1672 /** internal format -> num depth output sizes mapping, for HAL_DATASPACE_DEPTH */