/frameworks/av/media/module/libmediaformatshaper/ |
D | VQApply.cpp | 217 bool hasQpMaxPerFrameType(AMediaFormat *format) { in hasQpMaxPerFrameType() argument 220 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_I_MAX, &value) in hasQpMaxPerFrameType() 221 || AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_I_MIN, &value)) { in hasQpMaxPerFrameType() 224 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_P_MAX, &value) in hasQpMaxPerFrameType() 225 || AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_P_MIN, &value)) { in hasQpMaxPerFrameType() 228 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_B_MAX, &value) in hasQpMaxPerFrameType() 229 || AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_B_MIN, &value)) { in hasQpMaxPerFrameType() 235 bool hasQpMaxGlobal(AMediaFormat *format) { in hasQpMaxGlobal() argument 237 if (AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_MAX, &value) in hasQpMaxGlobal() 238 || AMediaFormat_getInt32(format, AMEDIAFORMAT_VIDEO_QP_MIN, &value)) { in hasQpMaxGlobal() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | SoftVideoEncoderOMXComponent.cpp | 101 def.format.video.pNativeRender = NULL; in initPorts() 102 def.format.video.nFrameWidth = mWidth; in initPorts() 103 def.format.video.nFrameHeight = mHeight; in initPorts() 104 def.format.video.nStride = def.format.video.nFrameWidth; in initPorts() 105 def.format.video.nSliceHeight = def.format.video.nFrameHeight; in initPorts() 106 def.format.video.nBitrate = 0; in initPorts() 108 def.format.video.xFramerate = mFramerate; in initPorts() 109 def.format.video.bFlagErrorConcealment = OMX_FALSE; in initPorts() 111 def.format.video.cMIMEType = const_cast<char *>("video/raw"); in initPorts() 112 def.format.video.eCompressionFormat = OMX_VIDEO_CodingUnused; in initPorts() [all …]
|
/frameworks/av/media/ndk/ |
D | NdkMediaFormat.cpp | 52 void AMediaFormat_clear(AMediaFormat *format) { in AMediaFormat_clear() argument 53 format->mFormat->clear(); in AMediaFormat_clear() 149 bool AMediaFormat_getInt32(AMediaFormat* format, const char *name, int32_t *out) { in AMediaFormat_getInt32() argument 150 if (format == nullptr) { in AMediaFormat_getInt32() 156 return format->mFormat->findInt32(name, out); in AMediaFormat_getInt32() 160 bool AMediaFormat_getInt64(AMediaFormat* format, const char *name, int64_t *out) { in AMediaFormat_getInt64() argument 161 if (format == nullptr) { in AMediaFormat_getInt64() 167 return format->mFormat->findInt64(name, out); in AMediaFormat_getInt64() 171 bool AMediaFormat_getFloat(AMediaFormat* format, const char *name, float *out) { in AMediaFormat_getFloat() argument 172 if (format == nullptr) { in AMediaFormat_getFloat() [all …]
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | Log.java | 30 public void debug(String format, Object... args) { in debug() argument 32 info(format, args); in debug() 37 public void debugNoln(String format, Object... args) { in debugNoln() argument 39 String s = String.format(format, args); in debugNoln() 44 public void info(String format, Object... args) { in info() argument 45 String s = String.format(format, args); in info() 49 public void error(String format, Object... args) { in error() argument 50 String s = String.format(format, args); in error() 54 public void exception(Throwable t, String format, Object... args) { in exception() argument 59 error(format + "\n" + sw.toString(), args); in exception()
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 453 public Size[] getInputSizes(final int format) { in getInputSizes() argument 454 return getPublicFormatSizes(format, /*output*/false, /*highRes*/false); in getInputSizes() 481 public boolean isOutputSupportedFor(int format) { in isOutputSupportedFor() argument 482 checkArgumentFormat(format); in isOutputSupportedFor() 484 int internalFormat = imageFormatToInternal(format); in isOutputSupportedFor() 485 int dataspace = imageFormatToDataspace(format); in isOutputSupportedFor() 639 public boolean isOutputSupportedFor(Size size, int format) { in isOutputSupportedFor() argument 640 int internalFormat = imageFormatToInternal(format); in isOutputSupportedFor() 641 int dataspace = imageFormatToDataspace(format); in isOutputSupportedFor() 718 public Size[] getOutputSizes(int format) { in getOutputSizes() argument [all …]
|
D | ReprocessFormatsMap.java | 86 String.format("Input %x had no output format length listed", inputFormat)); in ReprocessFormatsMap() 101 String.format( in ReprocessFormatsMap() 134 final int format = mEntry[i]; in getInputs() local 141 String.format("Input %x had no output format length listed", format)); in getInputs() 151 String.format( in getInputs() 153 "expected: %d)", format, left, length)); in getInputs() 160 inputs[j] = format; in getInputs() 178 public int[] getOutputs(final int format) { in getOutputs() argument 189 String.format("Input %x had no output format length listed", format)); in getOutputs() 199 String.format( in getOutputs() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | LogDiffsForTableTest.kt | 101 TABLE_LOG_DATE_FORMAT.format(3000L) + in boolean_logsInitialWhenCollected() 136 TABLE_LOG_DATE_FORMAT.format(100L) + in boolean_logsUpdates() 145 TABLE_LOG_DATE_FORMAT.format(200L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_logsUpdates() 149 TABLE_LOG_DATE_FORMAT.format(300L) + SEPARATOR + FULL_NAME + SEPARATOR + "false" in boolean_logsUpdates() 153 TABLE_LOG_DATE_FORMAT.format(400L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_logsUpdates() 184 TABLE_LOG_DATE_FORMAT.format(100L) + in boolean_doesNotLogIfSameValue() 191 TABLE_LOG_DATE_FORMAT.format(400L) + SEPARATOR + FULL_NAME + SEPARATOR + "false" in boolean_doesNotLogIfSameValue() 193 TABLE_LOG_DATE_FORMAT.format(600L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_doesNotLogIfSameValue() 199 TABLE_LOG_DATE_FORMAT.format(200L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_doesNotLogIfSameValue() 201 TABLE_LOG_DATE_FORMAT.format(300L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_doesNotLogIfSameValue() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | Slogf.java | 147 public static void v(String tag, String format, @Nullable Object... args) { in v() argument 148 v(tag, getMessage(format, args)); in v() 152 public static void v(String tag, Throwable throwable, String format, @Nullable Object... args) { in v() argument 153 v(tag, getMessage(format, args), throwable); in v() 157 public static void d(String tag, String format, @Nullable Object... args) { in d() argument 158 d(tag, getMessage(format, args)); in d() 162 public static void d(String tag, Throwable throwable, String format, @Nullable Object... args) { in d() argument 163 d(tag, getMessage(format, args), throwable); in d() 167 public static void i(String tag, String format, @Nullable Object... args) { in i() argument 168 i(tag, getMessage(format, args)); in i() [all …]
|
/frameworks/rs/tests/java_api/RSUnitTests/ |
D | RSUnitTests.py | 224 gen_file.write(' $(call all-java-files-under,{})\\\n'.format(src_dir)) 227 ' $(my_rs_unit_tests_path)/UnitTest.java\\\n'.format(src_dir) 232 ' $(my_rs_unit_tests_path)/{}\\\n'.format(JavaFileForUnitTest(test)) 235 gen_file.write(' $(my_rs_unit_tests_path)/{}\\\n'.format(rs_file)) 267 return 'UT_{}.java'.format(test) 276 return ['{}.rs'.format(test)] 380 .format(SupportLibGenTestDir())) 424 .format(SupportLib19MakefileLocation())) 432 make_target_name = 'RSTestForward_{}'.format(build_tool_version_name) 502 '</manifest>\n'.format(package, package) [all …]
|
/frameworks/base/tools/bit/ |
D | print.cpp | 60 print_status(const char* format, ...) in print_status() argument 65 va_start(args, format); in print_status() 66 vfprintf(stdout, format, args); in print_status() 92 print_error(const char* format, ...) in print_error() argument 97 va_start(args, format); in print_error() 98 vfprintf(stderr, format, args); in print_error() 106 print_warning(const char* format, ...) in print_warning() argument 111 va_start(args, format); in print_warning() 112 vfprintf(stderr, format, args); in print_warning() 120 print_info(const char* format, ...) in print_info() argument [all …]
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | SimpleFrame.java | 23 import android.filterfw.format.ObjectFormat; 35 SimpleFrame(FrameFormat format, FrameManager frameManager) { in SimpleFrame() argument 36 super(format, frameManager); in SimpleFrame() 37 initWithFormat(format); in SimpleFrame() 42 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE); in wrapObject() local 43 SimpleFrame result = new SimpleFrame(format, frameManager); in wrapObject() 48 private void initWithFormat(FrameFormat format) { in initWithFormat() argument 49 final int count = format.getLength(); in initWithFormat() 50 final int baseType = format.getBaseType(); in initWithFormat() 132 MutableFrameFormat format = getFormat().mutableCopy(); in setFormatObjectClass() local [all …]
|
D | SimpleFrameManager.java | 37 public Frame newFrame(FrameFormat format) { in newFrame() argument 38 return createNewFrame(format); in newFrame() 42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { in newBoundFrame() argument 44 switch(format.getTarget()) { in newBoundFrame() 46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId); in newBoundFrame() 54 + FrameFormat.targetToString(format.getTarget()) + "!"); in newBoundFrame() 59 private Frame createNewFrame(FrameFormat format) { in createNewFrame() argument 61 switch(format.getTarget()) { in createNewFrame() 63 result = new SimpleFrame(format, this); in createNewFrame() 67 result = new NativeFrame(format, this); in createNewFrame() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | ImtConflictPerfTestGen.py | 86 print(" C{0} c{0} = new C{0}();".format(i)) 88 print(" callF{}(c{});".format(imt_size * j, i)) 94 print(" public void timeConflictDepth{:02d}() {{".format(i+1)) 95 print(" C{0} c{0} = new C{0}();".format(i)) 101 print(" callF{}(c{});".format(imt_size * (j % (i + 1)), i)) 107 print(" public void callF{0}(I{1} i) {{ i.f{0}(); }}".format(imt_size*i, i)) 111 interfaces = ", ".join(["I{}".format(j) for j in range(i+1)]) 112 print(" static class C{} implements {} {{}}".format(i, interfaces)) 116 print(" interface I{} {{".format(i)) 118 print(" default void f{}() {{}}".format(i*imt_size + j))
|
/frameworks/av/media/libstagefright/ |
D | MediaTrack.cpp | 92 status_t MediaTrackCUnwrapper::getFormat(MetaDataBase& format) { in getFormat() argument 99 format = *newMeta; in getFormat() 122 AMediaFormat *format = buf->meta_data(buf->handle); in read() local 127 if (format->mFormat->findInt64("timeUs", &val64)) { in read() 130 if (format->mFormat->findInt64("durationUs", &val64)) { in read() 133 if (format->mFormat->findInt64("target-time", &val64)) { in read() 136 if (format->mFormat->findInt64("sample-file-offset", &val64)) { in read() 139 if (format->mFormat->findInt64( in read() 145 if (format->mFormat->findInt32("is-sync-frame", &val32)) { in read() 148 if (format->mFormat->findInt32("temporal-layer-id", &val32)) { in read() [all …]
|
D | MediaMuxer.cpp | 43 static bool isMp4Format(MediaMuxer::OutputFormat format) { in isMp4Format() argument 44 return format == MediaMuxer::OUTPUT_FORMAT_MPEG_4 || in isMp4Format() 45 format == MediaMuxer::OUTPUT_FORMAT_THREE_GPP || in isMp4Format() 46 format == MediaMuxer::OUTPUT_FORMAT_HEIF; in isMp4Format() 49 MediaMuxer* MediaMuxer::create(int fd, OutputFormat format) { in create() argument 51 if (isMp4Format(format)) { in create() 53 } else if (format == OUTPUT_FORMAT_WEBM) { in create() 55 } else if (format == OUTPUT_FORMAT_OGG) { in create() 58 ALOGE("MediaMuxer does not support output format %d", format); in create() 62 ALOGE("File descriptor is not suitable for format %d", format); in create() [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | DecimalFormatPerfTest.java | 63 DF.format(obj); in formatWithGrouping() 67 public void format(String pattern, Object obj) { in format() method in DecimalFormatPerfTest 71 PATTERN_INSTANCE.format(obj); in format() 75 public void format(Object obj) { in format() method in DecimalFormatPerfTest 78 DF.format(obj); in format() 93 DF_CURRENCY_US.format(obj); in formatCurrencyUS() 100 DF_CURRENCY_FR.format(obj); in formatCurrencyFR() 126 format(BD10E3); in time_formatBigDecimal10e3() 131 format(BD10E9); in time_formatBigDecimal10e9() 136 format(BD10E100); in time_formatBigDecimal10e100() [all …]
|
/frameworks/av/media/libnbaio/ |
D | NBAIO.cpp | 25 size_t Format_frameSize(const NBAIO_Format& format) in Format_frameSize() argument 27 return format.mFrameSize; in Format_frameSize() 32 unsigned Format_sampleRate(const NBAIO_Format& format) in Format_sampleRate() argument 34 if (!Format_isValid(format)) { in Format_sampleRate() 37 return format.mSampleRate; in Format_sampleRate() 40 unsigned Format_channelCount(const NBAIO_Format& format) in Format_channelCount() argument 42 if (!Format_isValid(format)) { in Format_channelCount() 45 return format.mChannelCount; in Format_channelCount() 49 audio_format_t format) in Format_from_SR_C() argument 51 if (sampleRate == 0 || channelCount == 0 || !audio_is_valid_format(format)) { in Format_from_SR_C() [all …]
|
/frameworks/wilhelm/tests/sandbox/ |
D | configbq.c | 95 PCM *format; in main() local 98 for (format = formats; format->numChannels; ++format) { in main() 100 printf("Channels: %d, sample rate: %u, bits: %u\n", format->numChannels, in main() 101 format->milliHz / 1000, format->bitsPerSample); in main() 109 format_pcm.numChannels = format->numChannels; in main() 110 format_pcm.samplesPerSec = format->milliHz; in main() 111 format_pcm.bitsPerSample = format->bitsPerSample; in main() 112 format_pcm.containerSize = format->bitsPerSample; in main() 150 float seconds = (((i * 8) / (format->bitsPerSample * format->numChannels)) * 1000.0) / in main() 151 format->milliHz; in main() [all …]
|
/frameworks/native/opengl/tests/hwc/ |
D | hwcCommit.cpp | 169 uint32_t format; member in Rectangle 242 uint32_t format; member 278 uint32_t maxOverlays(uint32_t format, bool allowOverlap); 279 list<uint32_t> supportedTransforms(uint32_t format); 280 list<uint32_t> supportedBlends(uint32_t format); 281 uint32_t dfMinWidth(uint32_t format); 282 uint32_t dfMinHeight(uint32_t format); 283 uint32_t dfMaxWidth(uint32_t format); 284 uint32_t dfMaxHeight(uint32_t format); 285 HwcTestDim dfMinDim(uint32_t format); [all …]
|
/frameworks/proto_logging/stats/enums/stats/mediametrics/ |
D | mediametrics.proto | 159 // Invalid audio data format 161 // Default audio data format 163 // Audio data format PCM 166 // Audio data format: single-precision floating-point per sample 168 // Audio data format: AC-3 compressed, also known as Dolby Digital 170 // Audio data format: E-AC-3 compressed, also known as Dolby Digital Plus or DD+ 172 // Audio data format: DTS compressed 174 // Audio data format: DTS HD compressed 176 // Audio data format: MP3 compressed 178 // Audio data format: AAC LC compressed [all …]
|
/frameworks/base/telecomm/java/android/telecom/ |
D | Log.java | 93 public static void d(String prefix, String format, Object... args) { in d() argument 96 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d() 98 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d() 102 public static void d(Object objectPrefix, String format, Object... args) { in d() argument 105 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 107 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 112 public static void i(String prefix, String format, Object... args) { in i() argument 114 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i() 118 public static void i(Object objectPrefix, String format, Object... args) { in i() argument 120 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i() [all …]
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | NBAIO.h | 71 size_t Format_frameSize(const NBAIO_Format& format); 75 NBAIO_Format Format_from_SR_C(unsigned sampleRate, unsigned channelCount, audio_format_t format); 78 unsigned Format_sampleRate(const NBAIO_Format& format); 81 unsigned Format_channelCount(const NBAIO_Format& format); 88 bool Format_isValid(const NBAIO_Format& format); 128 virtual NBAIO_Format format() const { return mNegotiated ? mFormat : Format_Invalid; } in format() function 131 NBAIO_Port(const NBAIO_Format& format) : mNegotiated(false), mFormat(format), in NBAIO_Port() argument 132 mFrameSize(Format_frameSize(format)) { } in NBAIO_Port() 226 NBAIO_Sink(const NBAIO_Format& format = Format_Invalid) : NBAIO_Port(format), mFramesWritten(0) in NBAIO_Port() argument 324 NBAIO_Source(const NBAIO_Format& format = Format_Invalid) : NBAIO_Port(format), mFramesRead(0) in NBAIO_Port() argument
|
/frameworks/av/services/audiopolicy/engineconfigurable/tools/ |
D | buildPolicyCriterionTypes.py | 73 format. Mandatory.", 93 logging.info("Importing criterionTypesFile {}".format(criterionTypesFile)) 147 logging.info("Checking Audio Policy Configuration file {}".format(audiopolicyconfigurationfile)) 177 logging.info("{}: <{}>".format(key, device.get('address'))) 182 logging.info("{}: <{}>".format(criteria, values)) 219 logging.info("Checking Android Header file {}".format(androidaudiobaseheaderFile)) 224 logging.debug("The following line is VALID: {}:{}\n{}".format( 246 … .format(criterion_numerical_value, criterion_literal, criterion_name, bin(string_int), num_bits)) 248 … logging.info("new val assigned is {} {}" .format(string_int, bin(string_int))) 255 .format(criterion_numerical_value, criterion_literal, criterion_name)) [all …]
|
/frameworks/base/location/java/android/location/ |
D | GnssMeasurementCorrections.java | 248 final String format = " %-29s = %s\n"; in toString() local 250 builder.append(String.format(format, "LatitudeDegrees = ", mLatitudeDegrees)); in toString() 251 builder.append(String.format(format, "LongitudeDegrees = ", mLongitudeDegrees)); in toString() 252 builder.append(String.format(format, "AltitudeMeters = ", mAltitudeMeters)); in toString() 253 builder.append(String.format(format, "HorizontalPositionUncertaintyMeters = ", in toString() 255 builder.append(String.format(format, "VerticalPositionUncertaintyMeters = ", in toString() 258 String.format(format, "ToaGpsNanosecondsOfWeek = ", mToaGpsNanosecondsOfWeek)); in toString() 260 String.format(format, "mSingleSatCorrectionList = ", mSingleSatCorrectionList)); in toString() 262 String.format(format, "HasEnvironmentBearing = ", mHasEnvironmentBearing)); in toString() 264 String.format(format, "EnvironmentBearingDegrees = ", in toString() [all …]
|
/frameworks/native/libs/vr/libbufferhub/ |
D | ion_buffer.cpp | 20 IonBuffer::IonBuffer(uint32_t width, uint32_t height, uint32_t format, in IonBuffer() argument 23 Alloc(width, height, kDefaultGraphicBufferLayerCount, format, usage); in IonBuffer() 27 uint32_t stride, uint32_t format, uint64_t usage) in IonBuffer() argument 29 format, usage) {} in IonBuffer() 32 uint32_t layer_count, uint32_t stride, uint32_t format, in IonBuffer() argument 38 handle, width, height, layer_count, stride, format, usage); in IonBuffer() 40 Import(handle, width, height, layer_count, stride, format, usage); in IonBuffer() 48 handle(), width(), height(), stride(), format(), usage()); in ~IonBuffer() 75 uint32_t format, uint64_t usage) { in Alloc() argument 78 "usage=%" PRIx64, width, height, layer_count, format, usage); in Alloc() [all …]
|