/cts/tests/tests/media/libmediandkjni/ |
D | native_media_source.h | 38 Source(int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping) in Source() argument 41 mColorFormat(colorFormat), in Source() 69 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping,
|
D | native_media_decoder_source.cpp | 28 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping, bool regulate); 60 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping, in createDecoderSource() argument 63 DecoderSource *d = new DecoderSource(w, h, colorFormat, fps, looping, regulateFeedingRate); in createDecoderSource() 70 int32_t w, int32_t h, int32_t colorFormat, float fps, bool looping, bool regulate) in DecoderSource() argument 71 : Source(w, h, colorFormat, fps, looping), in DecoderSource()
|
D | native_media_encoder_jni.cpp | 262 int32_t w, int32_t h, int32_t colorFormat, in createMediaFormat() argument 274 AMediaFormat_setInt32(config.get(), AMEDIAFORMAT_KEY_COLOR_FORMAT, colorFormat); in createMediaFormat()
|
D | native-media-jni.cpp | 713 jint colorFormat, in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure() argument 743 jint values[] = {width, height, colorFormat, bitRate, frameRate, iFrameInterval}; in Java_android_media_cts_NdkMediaCodec_AMediaCodecConfigure()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | EncodeDecodeTest.java | 429 int colorFormat = selectColorFormat(encoder.getCodecInfo(), mMimeType); in encodeDecodeVideoFromBuffer() local 430 if (VERBOSE) Log.d(TAG, "found colorFormat: " + colorFormat); in encodeDecodeVideoFromBuffer() 434 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in encodeDecodeVideoFromBuffer() 448 doEncodeDecodeVideoFromBuffer(encoder, colorFormat, decoder, toSurface); in encodeDecodeVideoFromBuffer() 491 int colorFormat = MediaCodecInfo.CodecCapabilities.COLOR_FormatSurface; in encodeDecodeVideoFromSurfaceToSurface() local 495 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in encodeDecodeVideoFromSurfaceToSurface() 563 int colorFormat = capabilities.colorFormats[i]; in selectColorFormat() local 564 if (isRecognizedFormat(colorFormat)) { in selectColorFormat() 565 return colorFormat; in selectColorFormat() 576 private static boolean isRecognizedFormat(int colorFormat) { in isRecognizedFormat() argument [all …]
|
D | NdkMediaCodec.java | 62 int colorFormat, in AMediaCodecConfigure() argument 108 int colorFormat = format.getInteger(MediaFormat.KEY_COLOR_FORMAT, -1); in configure() local 126 colorFormat, in configure()
|
D | VpxCodecTestBase.java | 98 CodecProperties(String codecName, int colorFormat) { in CodecProperties() argument 100 this.colorFormat = colorFormat; in CodecProperties() 107 public final int colorFormat; // Color format supported by codec. field in VpxCodecTestBase.CodecProperties 158 for (int colorFormat: capabilities.colorFormats) { in getVpxCodecProperties() 159 Log.v(TAG, " Color: 0x" + Integer.toHexString(colorFormat)); in getVpxCodecProperties() 549 int frameColorFormat = properties.colorFormat; in decode() 550 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in decode() 772 if (mProperties.colorFormat != CodecCapabilities.COLOR_FormatYUV420Planar) { in getInputFrame() 1308 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, properties.colorFormat); in encode() 1316 ". Color format: 0x" + Integer.toHexString(properties.colorFormat)+ " : " + in encode() [all …]
|
D | ImageReaderDecoderTest.java | 238 int colorFormat = COLOR_FormatYUV420Flexible; in videoDecode() local 239 videoDecode(asset, imageFormat, colorFormat, mode, checkSwirl); in videoDecode() 246 MediaAsset asset, int imageFormat, int colorFormat, int mode, boolean checkSwirl) { in videoDecode() argument 286 mediaFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in videoDecode()
|
D | MediaCodecTest.java | 350 int colorFormat = findNonSurfaceColorFormat(codecInfo, MIME_TYPE); in testCreateInputSurfaceErrors() local 351 format.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in testCreateInputSurfaceErrors() 1697 int colorFormat = capabilities.colorFormats[i]; in findNonSurfaceColorFormat() local 1698 if (colorFormat != MediaCodecInfo.CodecCapabilities.COLOR_FormatSurface) { in findNonSurfaceColorFormat() 1699 return colorFormat; in findNonSurfaceColorFormat()
|
D | AdaptivePlaybackTest.java | 964 int colorFormat = format.getInteger(MediaFormat.KEY_COLOR_FORMAT); 965 mDoChecksum = isRecognizedFormat(colorFormat); 1161 private static boolean isRecognizedFormat(int colorFormat) { 1162 switch (colorFormat) {
|
D | DecoderTest.java | 2387 int colorFormat = oformat.getInteger(MediaFormat.KEY_COLOR_FORMAT); 2390 dochecksum = isRecognizedFormat(colorFormat); // only checksum known raw 2392 Log.d(TAG, "checksum fmt: " + colorFormat + " dim " + width + "x" + height); 2461 private static boolean isRecognizedFormat(int colorFormat) { 2463 switch (colorFormat) {
|
D | VideoEncoderTest.java | 245 int colorFormat) throws IOException { in initCodecsAndConfigureEncoder() argument 246 mDecFormat.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in initCodecsAndConfigureEncoder() 274 outFmt.setInteger(MediaFormat.KEY_COLOR_FORMAT, colorFormat); in initCodecsAndConfigureEncoder()
|
/cts/tests/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1141 int colorFormat = mDecOutputFormat.getInteger(MediaFormat.KEY_COLOR_FORMAT); in runDecoder() local 1142 if (colorFormat == CodecCapabilities.COLOR_FormatYUV420SemiPlanar in runDecoder() 1143 || colorFormat == CodecCapabilities.COLOR_FormatYUV420Planar) { in runDecoder() 1144 mDstColorFormat = colorFormat; in runDecoder() 1148 Integer.toHexString(colorFormat) + ", using FlexYUV"); in runDecoder()
|