Searched defs:format (Results 26 - 50 of 378) sorted by relevance

1234567891011>>

/frameworks/av/services/audioflinger/
H A DSpdifStreamOut.cpp37 audio_format_t format)
40 , mSpdifEncoder(this, format)
55 mApplicationFormat = config->format;
61 switch(config->format) {
71 ALOGE("ERROR SpdifStreamOut::open() unrecognized format 0x%08X\n",
72 config->format);
77 customConfig.format = AUDIO_FORMAT_PCM_16_BIT;
84 " sampleRate %d, format %#x, channelMask %#x",
86 config->format,
89 " sampleRate %d, format
35 SpdifStreamOut(AudioHwDevice *dev, audio_output_flags_t flags, audio_format_t format) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/params/
H A DInputConfiguration.java35 * Create an input configration with the width, height, and user-defined format.
37 * <p>Images of an user-defined format are accessible by applications. Use
43 * @param format Format of the input buffers. One of ImageFormat or PixelFormat constants.
49 public InputConfiguration(int width, int height, int format) { argument
52 mFormat = format;
74 * Get the format of this input configration.
76 * @return format of this input configuration.
119 * <p> {@code "InputConfiguration(w:%d, h:%d, format:%d)"}, where {@code %d} represents
120 * the width, height, and format, respectively.</p>
126 return String.format("InputConfiguratio
[all...]
/frameworks/base/media/java/android/media/
H A DAudioMixPort.java45 public AudioMixPortConfig buildConfig(int samplingRate, int channelMask, int format, argument
47 return new AudioMixPortConfig(this, samplingRate, channelMask, format, gain);
H A DAudioPortConfig.java48 AudioPortConfig(AudioPort port, int samplingRate, int channelMask, int format, argument
53 mFormat = format;
80 * Audio format configuration (e.g AudioFormat.ENCODING_PCM_16BIT).
82 public int format() { method in class:AudioPortConfig
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DCropFilter.java29 import android.filterfw.format.ImageFormat;
30 import android.filterfw.format.ObjectFormat;
87 protected void createProgram(FilterContext context, FrameFormat format) { argument
89 if (mLastFormat != null && mLastFormat.getTarget() == format.getTarget()) return;
90 mLastFormat = format;
92 switch (format.getTarget()) {
117 // Create output format
H A DToRGBAFilter.java27 import android.filterfw.format.ImageFormat;
56 public FrameFormat getConvertedFormat(FrameFormat format) { argument
57 MutableFrameFormat result = format.mutableCopy();
63 public void createProgram(FilterContext context, FrameFormat format) { argument
64 mInputBPP = format.getBytesPerSample();
66 mLastFormat = format;
H A DToRGBFilter.java27 import android.filterfw.format.ImageFormat;
56 public FrameFormat getConvertedFormat(FrameFormat format) { argument
57 MutableFrameFormat result = format.mutableCopy();
63 public void createProgram(FilterContext context, FrameFormat format) { argument
64 mInputBPP = format.getBytesPerSample();
66 mLastFormat = format;
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DVideoTrackDecoder.java35 protected VideoTrackDecoder(int trackIndex, MediaFormat format, Listener listener) { argument
36 super(trackIndex, format, listener);
37 if (!DecoderUtil.isVideoFormat(format)) {
/frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
H A DFountainView.java52 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
53 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/FountainFbo/src/com/example/android/rs/fountainfbo/
H A DFountainFboView.java35 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
36 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsRenderStatesView.java53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
54 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
H A DSceneGraphView.java53 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
54 super.surfaceChanged(holder, format, w, h);
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DLog.java30 public void debug(String format, Object... args) { argument
32 info(format, args);
37 public void debugNoln(String format, Object... args) { argument
39 String s = String.format(format, args);
44 public void info(String format, Object... args) { argument
45 String s = String.format(format, args);
49 public void error(String format, Object... args) { argument
50 String s = String.format(forma
54 exception(Throwable t, String format, Object... args) argument
[all...]
/frameworks/native/include/android/
H A Dbitmap.h47 int32_t format; member in struct:__anon1238
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h42 int32_t format,
79 int32_t format,
105 if (nativeVisualId>0 && format == nativeVisualId) {
128 int format; local
133 if ((err = window->query(window, NATIVE_WINDOW_FORMAT, &format)) < 0) {
137 return selectConfigForPixelFormat(dpy, attrs, format, outConfig);
76 selectConfigForPixelFormat( EGLDisplay dpy, EGLint const* attrs, int32_t format, EGLConfig* outConfig) argument
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/
H A DBluetoothPbapRequestPullVcardEntry.java40 public BluetoothPbapRequestPullVcardEntry(String handle, long filter, byte format) { argument
45 /* make sure format is one of allowed values */
46 if (format != BluetoothPbapClient.VCARD_TYPE_21
47 && format != BluetoothPbapClient.VCARD_TYPE_30) {
48 format = BluetoothPbapClient.VCARD_TYPE_21;
57 oap.add(OAP_TAGID_FORMAT, format);
60 mFormat = format;
H A DBluetoothPbapVcardList.java51 public BluetoothPbapVcardList(InputStream in, byte format) throws IOException { argument
52 parse(in, format);
55 private void parse(InputStream in, byte format) throws IOException { argument
58 if (format == BluetoothPbapClient.VCARD_TYPE_30) {
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DRSTestView.java55 public void surfaceChanged(SurfaceHolder holder, int format, int w, int h) { argument
56 super.surfaceChanged(holder, format, w, h);
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
H A DLVREV_Process.c58 LVM_INT32 format = 1; local
125 format = 2;
147 pInput = (LVM_INT32 *)(pInput +(SamplesToProcess*format));
/frameworks/av/media/libnbaio/
H A DAudioBufferProviderSource.cpp27 const NBAIO_Format& format) :
28 NBAIO_Source(format), mProvider(provider), mConsumed(0)
31 ALOG_ASSERT(Format_isValid(format));
26 AudioBufferProviderSource(AudioBufferProvider *provider, const NBAIO_Format& format) argument
/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp41 MediaMuxer::MediaMuxer(int fd, OutputFormat format) argument
42 : mFormat(format),
44 if (format == OUTPUT_FORMAT_MPEG_4) {
46 } else if (format == OUTPUT_FORMAT_WEBM) {
65 ssize_t MediaMuxer::addTrack(const sp<AMessage> &format) { argument
68 if (format.get() == NULL) {
69 ALOGE("addTrack() get a null format");
79 convertMessageToMetaData(format, trackMeta);
/frameworks/av/media/libstagefright/rtsp/
H A DARawAudioAssembler.cpp127 const char *desc, const sp<MetaData> &format) {
129 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_MLAW);
131 format->setCString(kKeyMIMEType, MEDIA_MIMETYPE_AUDIO_G711_ALAW);
140 format->setInt32(kKeySampleRate, sampleRate);
141 format->setInt32(kKeyChannelCount, numChannels);
126 MakeFormat( const char *desc, const sp<MetaData> &format) argument
/frameworks/av/media/ndk/
H A DNdkMediaMuxer.cpp56 AMediaMuxer* AMediaMuxer_new(int fd, OutputFormat format) { argument
59 mData->mImpl = new MediaMuxer(fd, (android::MediaMuxer::OutputFormat)format);
81 ssize_t AMediaMuxer_addTrack(AMediaMuxer *muxer, const AMediaFormat *format) { argument
83 AMediaFormat_getFormat(format, &msg);

Completed in 671 milliseconds

1234567891011>>