/frameworks/av/media/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/base/core/java/android/hardware/camera2/params/ |
D | StreamConfigurationMap.java | 411 public Size[] getInputSizes(final int format) { in getInputSizes() argument 412 return getPublicFormatSizes(format, /*output*/false, /*highRes*/false); in getInputSizes() 439 public boolean isOutputSupportedFor(int format) { in isOutputSupportedFor() argument 440 checkArgumentFormat(format); in isOutputSupportedFor() 442 int internalFormat = imageFormatToInternal(format); in isOutputSupportedFor() 443 int dataspace = imageFormatToDataspace(format); in isOutputSupportedFor() 592 public boolean isOutputSupportedFor(Size size, int format) { in isOutputSupportedFor() argument 593 int internalFormat = imageFormatToInternal(format); in isOutputSupportedFor() 594 int dataspace = imageFormatToDataspace(format); in isOutputSupportedFor() 670 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 | 90 TABLE_LOG_DATE_FORMAT.format(3000L) + in boolean_logsInitialWhenCollected() 124 TABLE_LOG_DATE_FORMAT.format(100L) + SEPARATOR + FULL_NAME + SEPARATOR + "false" in boolean_logsUpdates() 128 TABLE_LOG_DATE_FORMAT.format(200L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_logsUpdates() 132 TABLE_LOG_DATE_FORMAT.format(300L) + SEPARATOR + FULL_NAME + SEPARATOR + "false" in boolean_logsUpdates() 136 TABLE_LOG_DATE_FORMAT.format(400L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_logsUpdates() 167 TABLE_LOG_DATE_FORMAT.format(100L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_doesNotLogIfSameValue() 169 TABLE_LOG_DATE_FORMAT.format(400L) + SEPARATOR + FULL_NAME + SEPARATOR + "false" in boolean_doesNotLogIfSameValue() 171 TABLE_LOG_DATE_FORMAT.format(600L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_doesNotLogIfSameValue() 177 TABLE_LOG_DATE_FORMAT.format(200L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_doesNotLogIfSameValue() 179 TABLE_LOG_DATE_FORMAT.format(300L) + SEPARATOR + FULL_NAME + SEPARATOR + "true" in boolean_doesNotLogIfSameValue() [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/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/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 | BufferImpl.cpp | 34 SharedMemoryBuffer::SharedMemoryBuffer(const sp<AMessage> &format, const sp<IMemory> &mem) in SharedMemoryBuffer() argument 39 : MediaCodecBuffer(format, new ABuffer(mem->unsecurePointer(), mem->size())), in SharedMemoryBuffer() 43 SharedMemoryBuffer::SharedMemoryBuffer(const sp<AMessage> &format, const sp<TMemory> &mem) in SharedMemoryBuffer() argument 44 : MediaCodecBuffer(format, new ABuffer(mem->getPointer(), mem->getSize())), in SharedMemoryBuffer() 50 SecureBuffer::SecureBuffer(const sp<AMessage> &format, const void *ptr, size_t size) in SecureBuffer() argument 51 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), in SecureBuffer() 56 const sp<AMessage> &format, const sp<NativeHandle> &handle, size_t size) in SecureBuffer() argument 57 : MediaCodecBuffer(format, new ABuffer(nullptr, size)), in SecureBuffer()
|
/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/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/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 | 92 public static void d(String prefix, String format, Object... args) { in d() argument 95 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in d() 97 android.util.Slog.d(TAG, buildMessage(prefix, format, args)); in d() 101 public static void d(Object objectPrefix, String format, Object... args) { in d() argument 104 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 106 android.util.Slog.d(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in d() 111 public static void i(String prefix, String format, Object... args) { in i() argument 113 android.util.Slog.i(TAG, buildMessage(prefix, format, args)); in i() 117 public static void i(Object objectPrefix, String format, Object... args) { in i() argument 119 android.util.Slog.i(TAG, buildMessage(getPrefixFromObject(objectPrefix), format, args)); in i() [all …]
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | Slogf.java | 158 public static void v(String tag, String format, @Nullable Object... args) { in v() argument 161 v(tag, getMessage(format, args)); in v() 173 public static void d(String tag, String format, @Nullable Object... args) { in d() argument 176 d(tag, getMessage(format, args)); in d() 188 public static void i(String tag, String format, @Nullable Object... args) { in i() argument 191 i(tag, getMessage(format, args)); in i() 203 public static void w(String tag, String format, @Nullable Object... args) { in w() argument 206 w(tag, getMessage(format, args)); in w() 218 public static void w(String tag, Exception exception, String format, @Nullable Object... args) { in w() argument 221 w(tag, getMessage(format, args), exception); in w() [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 return format->mFormat->findInt32(name, out); in AMediaFormat_getInt32() 154 bool AMediaFormat_getInt64(AMediaFormat* format, const char *name, int64_t *out) { in AMediaFormat_getInt64() argument 155 return format->mFormat->findInt64(name, out); in AMediaFormat_getInt64() 159 bool AMediaFormat_getFloat(AMediaFormat* format, const char *name, float *out) { in AMediaFormat_getFloat() argument 160 return format->mFormat->findFloat(name, out); in AMediaFormat_getFloat() 164 bool AMediaFormat_getDouble(AMediaFormat* format, const char *name, double *out) { in AMediaFormat_getDouble() argument 165 return format->mFormat->findDouble(name, out); in AMediaFormat_getDouble() [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/av/camera/ndk/impl/ |
D | ACameraMetadata.cpp | 182 int64_t format = entry.data.i64[i + STREAM_FORMAT_OFFSET]; in filterDurations() local 189 filteredDurations.push_back(format); in filterDurations() 198 if (format == HAL_PIXEL_FORMAT_BLOB) { in filterDurations() 199 format = AIMAGE_FORMAT_JPEG; in filterDurations() 200 filteredDurations.push_back(format); in filterDurations() 208 if (format == HAL_PIXEL_FORMAT_BLOB) { in filterDurations() 209 format = AIMAGE_FORMAT_DEPTH_POINT_CLOUD; in filterDurations() 210 filteredDurations.push_back(format); in filterDurations() 214 } else if (format == HAL_PIXEL_FORMAT_Y16) { in filterDurations() 215 format = AIMAGE_FORMAT_DEPTH16; in filterDurations() [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 …]
|