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}
431 * <p>Some of the supported classes may support additional formats beyond
467 * <p>The {@code format} should be a supported format (one of the formats returned by
474 * 20fps rate. This means that for some supported formats, this method will return an empty
497 * subset of the sizes reported by {@link #getOutputSizes} for processed non-stalling formats
729 * For user-defined formats, use {@link #getOutputMinFrameDuration(int, Size)}.</p>
827 * <p>The following formats may always have a stall duration:
835 * <p>The following formats will never have a stall duration:
842 * All other formats may or may not have an allowed stall duration on a per-capability basis;
874 * For user-defined formats, use {@link #getOutputMinFrameDuration(int, Size)}.</p>
985 * <p>Any invalid/undefined formats will raise an exception.</p>
1017 * <p>Any invalid/undefined formats will raise an exception, including implementation-defined.
1020 * <p>Note that {@code @hide} and deprecated formats will not pass this check.</p>
1040 * <p>In particular these formats are converted:
1050 * <p>All other formats are returned as-is, no further invalid check is performed.</p>
1056 * @return the converted image formats
1082 * <p>In particular these formats are converted:
1093 * <p>All other formats are returned as-is, no further invalid check is performed.</p>
1095 * <p>This function is the dual of {@link #imageFormatToInternal} for formats associated with
1099 * @return the converted image formats
1128 * Convert image formats from internal to public formats (in-place).
1130 * @param formats an array of image formats
1131 * @return {@code formats}
1135 static int[] imageFormatToPublic(int[] formats) {
1136 if (formats == null) {
1140 for (int i = 0; i < formats.length; ++i) {
1141 formats[i] = imageFormatToPublic(formats[i]);
1144 return formats;
1151 * <p>In particular these formats are converted:
1162 * <p>All other formats are returned as-is, no invalid check is performed.</p>
1167 * @return the converted image formats
1191 * <p>In particular these formats are converted:
1204 * <p>All other formats are returned as-is, no invalid check is performed.</p>
1209 * @return the converted image formats
1230 * Convert image formats from public to internal formats (in-place).
1232 * @param formats an array of image formats
1233 * @return {@code formats}
1239 public static int[] imageFormatToInternal(int[] formats) {
1240 if (formats == null) {
1244 for (int i = 0; i < formats.length; ++i) {
1245 formats[i] = imageFormatToInternal(formats[i]);
1248 return formats;
1266 // All depth formats are non-high-res.
1296 // Filter slow high-res output formats; include for
1325 /** Get the list of publically visible output formats; does not include IMPL_DEFINED */
1327 int[] formats = new int[getPublicFormatCount(output)];
1334 formats[i++] = imageFormatToPublic(format);
1338 formats[i++] = depthFormatToPublic(mDepthOutputFormats.keyAt(j));
1341 if (formats.length != i) {
1342 throw new AssertionError("Too few formats " + i + ", expected " + formats.length);
1345 return formats;
1348 /** Get the format -> size count map for either output or input formats */
1392 /** Count the number of publicly-visible output formats */
1453 * represents an input fomat and its valid output formats.</p>
1481 int[] formats = getOutputFormats();
1482 for (int format : formats) {
1501 int[] formats = getOutputFormats();
1502 for (int format : formats) {
1522 int[] formats = getInputFormats();
1523 for (int format : formats) {
1670 /** internal format -> num input sizes mapping, for input reprocessing formats */