Lines Matching refs:formats

49  * <p>This is the authoritative list for all <!-- input/ -->output formats (and sizes respectively
198 * Get the image {@code format} output formats in this stream configuration.
200 * <p>All image formats returned by this function will be defined in either {@link ImageFormat}
216 * Get the image {@code format} output formats for a reprocessing input format.
224 * <p>All image formats returned by this function will be defined in either {@link ImageFormat}
243 * Get the image {@code format} input formats in this stream configuration.
245 * <p>All image formats returned by this function will be defined in either {@link ImageFormat}
411 // Override RGB formats to IMPLEMENTATION_DEFINED, b/9487482
437 * <p>Some of the supported classes may support additional formats beyond
473 * <p>The {@code format} should be a supported format (one of the formats returned by
480 * 20fps rate. This means that for some supported formats, this method will return an empty
503 * subset of the sizes reported by {@link #getOutputSizes} for processed non-stalling formats
735 * For user-defined formats, use {@link #getOutputMinFrameDuration(int, Size)}.</p>
833 * <p>The following formats may always have a stall duration:
841 * <p>The following formats will never have a stall duration:
848 * All other formats may or may not have an allowed stall duration on a per-capability basis;
880 * For user-defined formats, use {@link #getOutputMinFrameDuration(int, Size)}.</p>
991 * <p>Any invalid/undefined formats will raise an exception.</p>
1023 * <p>Any invalid/undefined formats will raise an exception, including implementation-defined.
1026 * <p>Note that {@code @hide} and deprecated formats will not pass this check.</p>
1046 * <p>In particular these formats are converted:
1056 * <p>All other formats are returned as-is, no further invalid check is performed.</p>
1062 * @return the converted image formats
1088 * <p>In particular these formats are converted:
1099 * <p>All other formats are returned as-is, no further invalid check is performed.</p>
1101 * <p>This function is the dual of {@link #imageFormatToInternal} for formats associated with
1105 * @return the converted image formats
1134 * Convert image formats from internal to public formats (in-place).
1136 * @param formats an array of image formats
1137 * @return {@code formats}
1141 static int[] imageFormatToPublic(int[] formats) {
1142 if (formats == null) {
1146 for (int i = 0; i < formats.length; ++i) {
1147 formats[i] = imageFormatToPublic(formats[i]);
1150 return formats;
1157 * <p>In particular these formats are converted:
1168 * <p>All other formats are returned as-is, no invalid check is performed.</p>
1173 * @return the converted image formats
1197 * <p>In particular these formats are converted:
1210 * <p>All other formats are returned as-is, no invalid check is performed.</p>
1215 * @return the converted image formats
1236 * Convert image formats from public to internal formats (in-place).
1238 * @param formats an array of image formats
1239 * @return {@code formats}
1245 public static int[] imageFormatToInternal(int[] formats) {
1246 if (formats == null) {
1250 for (int i = 0; i < formats.length; ++i) {
1251 formats[i] = imageFormatToInternal(formats[i]);
1254 return formats;
1272 // All depth formats are non-high-res.
1302 // Filter slow high-res output formats; include for
1331 /** Get the list of publically visible output formats; does not include IMPL_DEFINED */
1333 int[] formats = new int[getPublicFormatCount(output)];
1340 formats[i++] = imageFormatToPublic(format);
1344 formats[i++] = depthFormatToPublic(mDepthOutputFormats.keyAt(j));
1347 if (formats.length != i) {
1348 throw new AssertionError("Too few formats " + i + ", expected " + formats.length);
1351 return formats;
1354 /** Get the format -> size count map for either output or input formats */
1398 /** Count the number of publicly-visible output formats */
1459 * represents an input fomat and its valid output formats.</p>
1487 int[] formats = getOutputFormats();
1488 for (int format : formats) {
1507 int[] formats = getOutputFormats();
1508 for (int format : formats) {
1528 int[] formats = getInputFormats();
1529 for (int format : formats) {
1676 /** internal format -> num input sizes mapping, for input reprocessing formats */