Searched refs:format (Results 1 - 25 of 1036) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraParameters.cpp30 const char CameraParameters::KEY_PREVIEW_FORMAT[] = "preview-format";
31 const char CameraParameters::KEY_SUPPORTED_PREVIEW_FORMATS[] = "preview-format-values";
38 const char CameraParameters::KEY_PICTURE_FORMAT[] = "picture-format";
39 const char CameraParameters::KEY_SUPPORTED_PICTURE_FORMATS[] = "picture-format-values";
84 const char CameraParameters::KEY_VIDEO_FRAME_FORMAT[] = "video-frame-format";
416 void CameraParameters::setPreviewFormat(const char *format) argument
418 set(KEY_PREVIEW_FORMAT, format);
448 void CameraParameters::setPictureFormat(const char *format) argument
450 set(KEY_PICTURE_FORMAT, format);
512 int CameraParameters::previewFormatToEnum(const char* format) { argument
[all...]
H A DCameraParameters2.cpp306 String8 str = String8::format("%d,%d", min_fps, max_fps);
310 void CameraParameters2::setPreviewFormat(const char *format)
312 set(CameraParameters::KEY_PREVIEW_FORMAT, format);
342 void CameraParameters2::setPictureFormat(const char *format)
344 set(CameraParameters::KEY_PICTURE_FORMAT, format);
H A DIProCameraUser.cpp142 virtual status_t createStream(int width, int height, int format, argument
151 data.writeInt32(format);
266 int width, height, format; local
270 format = data.readInt32();
277 ret = createStream(width, height, format, bp, &streamId);
H A DProCamera.cpp182 status_t ProCamera::createStream(int width, int height, int format, argument
190 format);
196 return createStream(width, height, format,
201 status_t ProCamera::createStream(int width, int height, int format, argument
208 format);
215 status_t stat = c->createStream(width, height, format, bufferProducer,
227 status_t ProCamera::createStreamCpu(int width, int height, int format, argument
232 return createStreamCpu(width, height, format, heapCount,
237 status_t ProCamera::createStreamCpu(int width, int height, int format, argument
245 format);
[all...]
/frameworks/av/camera/camera2/
H A DICameraDeviceUser.cpp211 virtual status_t createStream(int width, int height, int format, argument
218 data.writeInt32(format);
399 int width, height, format; local
405 format = data.readInt32();
406 ALOGV("%s: CREATE_STREAM: format = %d", __FUNCTION__, format);
422 ret = createStream(width, height, format, bp);
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp239 String8 timeStr(String8::format("%s f=%" PRId64 " (%zd)",
258 //const char* format = "%m-%d %T"; // matches log output
259 const char* format = "%T"; local
268 strftime(buf, bufLen, format, &tm);
361 String8::format("Android screenrecord v%d.%d",
383 String8 str(String8::format("%s: [%s]", kPropertyNames[i], valueBuf));
H A Dscreenrecord.cpp70 } gOutputFormat = FORMAT_MP4; // data format for output
154 sp<AMessage> format = new AMessage; local
155 format->setInt32("width", gVideoWidth);
156 format->setInt32("height", gVideoHeight);
157 format->setString("mime", kMimeTypeAvc);
158 format->setInt32("color-format", OMX_COLOR_FormatAndroidOpaque);
159 format->setInt32("bitrate", gBitRate);
160 format->setFloat("frame-rate", displayFps);
161 format
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp295 sp<AMessage> format; local
296 status_t err = mExtractor->getTrackFormat(i, &format);
300 CHECK(format->findString("mime", &mime));
326 format,
335 while (format->findBuffer(StringPrintf("csd-%d", j).c_str(), &buffer)) {
573 sp<AMessage> format; local
574 status_t err = state->mCodec->getOutputFormat(&format);
581 CHECK(format->findString("mime", &mime));
586 CHECK(format->findInt32("channel-count", &channelCount));
587 CHECK(format
[all...]
H A Dcodec.cpp90 sp<AMessage> format; local
91 status_t err = extractor->getTrackFormat(i, &format);
95 CHECK(format->findString("mime", &mime));
126 format, isVideo ? surface : NULL,
278 sp<AMessage> format; local
279 CHECK_EQ((status_t)OK, state->mCodec->getOutputFormat(&format));
281 ALOGV("INFO_FORMAT_CHANGED: %s", format->debugString().c_str());
H A Dmuxer.cpp92 sp<AMessage> format; local
93 status_t err = extractor->getTrackFormat(i, &format);
95 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str());
98 CHECK(format->findString("mime", &mime));
113 CHECK(format->findInt32("width", &width));
114 CHECK(format->findInt32("height", &height));
119 CHECK(format->findInt64("durationUs", &duration));
135 ssize_t newTrackIndex = muxer->addTrack(format);
H A Dsf2.cpp154 sp<AMessage> format = makeFormat(mSource->getFormat()); local
157 format->setObject(
161 mCodec->initiateSetup(format);
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/
H A DAndroid.mk58 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/common \
59 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/converter \
60 $(base)/drm/libdrmframework/plugins/forward-lock/internal-format/decoder \
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DAndroid.mk24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common \
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/decoder/
H A DAndroid.mk24 frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common \
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DSessionLibrary.cpp49 String8 sessionIdString = String8::format("%u", mNextSessionId);
/frameworks/av/include/camera/
H A DCameraParameters.h94 void setPreviewFormat(const char *format);
99 void setPictureFormat(const char *format);
135 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in
156 // The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE
439 // sensitive). The format is three float values separated by commas. The
480 // The image format for video frames. See CAMERA_MSG_VIDEO_FRAME in
620 // Raw bayer format used for images, which is 10 bit precision samples
623 // Pixel format is not known to the framework
685 * corrsponding to the format given in the input string or -1 if no such
688 static int previewFormatToEnum(const char* format);
[all...]
H A DCameraParameters2.h102 void setPreviewFormat(const char *format);
107 void setPictureFormat(const char *format);
H A DIProCameraUser.h69 int width, int height, int format,
H A DProCamera.h181 status_t createStream(int width, int height, int format,
191 status_t createStream(int width, int height, int format,
195 status_t createStreamCpu(int width, int height, int format,
200 status_t createStreamCpu(int width, int height, int format,
/frameworks/av/include/camera/camera2/
H A DICameraDeviceUser.h104 int width, int height, int format,
/frameworks/av/include/media/
H A DAudioPolicy.h65 AudioMix(Vector<AttributeMatchCriterion> criteria, uint32_t mixType, audio_config_t format, argument
67 mCriteria(criteria), mMixType(mixType), mFormat(format),
H A DAudioRecord.h73 // since we don't define the frame format
113 audio_format_t format,
138 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed
160 audio_format_t format,
183 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...)
194 audio_format_t format,
221 audio_format_t format() const { return mFormat; } function in class:android::AudioRecord
H A DAudioSystem.h119 static status_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,
171 : samplingRate(0), format(AUDIO_FORMAT_DEFAULT), channelMask(0), frameCount(0), latency(0)
175 audio_format_t format; member in class:android::AudioSystem::OutputDescriptor
215 audio_format_t format = AUDIO_FORMAT_DEFAULT,
224 audio_format_t format = AUDIO_FORMAT_DEFAULT,
244 audio_format_t format,
288 // Check if hw offload is possible for given format, stream type, sample rate,
H A DAudioTrack.h84 // since we don't define the frame format
157 * format: Audio format. For mixed tracks, any PCM format supported by server is OK
159 * and offloaded tracks, the possible format(s) depends on the output sink.
180 audio_format_t format,
196 * The format must not be 8-bit linear PCM.
207 audio_format_t format,
233 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...)
248 audio_format_t format,
280 audio_format_t format() const { return mFormat; } function in class:android::AudioTrack
[all...]
H A DIAudioFlinger.h66 audio_format_t format,
86 audio_format_t format,
101 virtual audio_format_t format(audio_io_handle_t output) const = 0;
145 virtual size_t getInputBufferSize(uint32_t sampleRate, audio_format_t format,

Completed in 2027 milliseconds

1234567891011>>