Searched refs:format (Results 1 - 25 of 1642) 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);
/frameworks/av/camera/aidl/android/hardware/camera2/
H A DICameraDeviceUser.aidl92 * @param outputConfiguration size, format, and other parameters for the stream
100 * <p>Create an input stream of width, height, and format</p>
104 * @param format Format of the input buffers. One of HAL_PIXEL_FORMAT_*.
108 int createInputStream(int width, int height, int format);
/frameworks/av/camera/include/camera/
H A DCameraParameters.h94 void setPreviewFormat(const char *format);
99 void setPictureFormat(const char *format);
138 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in
159 // The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE
442 // sensitive). The format is three float values separated by commas. The
483 // The image format for video frames. See CAMERA_MSG_VIDEO_FRAME in
623 // Raw bayer format used for images, which is 10 bit precision samples
626 // Pixel format is not known to the framework
688 * corrsponding to the format given in the input string or -1 if no such
691 static int previewFormatToEnum(const char* format);
[all...]
H A DCameraParameters2.h102 void setPreviewFormat(const char *format);
107 void setPictureFormat(const char *format);
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp102 int32_t format = entry.data.i32[i + STREAM_FORMAT_OFFSET]; local
110 // Translate HAL formats to NDK format
111 if (format == HAL_PIXEL_FORMAT_BLOB) {
112 format = AIMAGE_FORMAT_JPEG;
114 filteredStreamConfigs.push_back(format);
127 int32_t format = entry.data.i32[i + STREAM_FORMAT_OFFSET]; local
135 // Translate HAL formats to NDK format
136 if (format == HAL_PIXEL_FORMAT_BLOB) {
137 format = AIMAGE_FORMAT_DEPTH_POINT_CLOUD;
138 } else if (format
[all...]
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp107 const auto& iter = mCameraTorchStatuses.find(String16(String8::format("%d", cameraId)));
118 mCameraTorchStatuses.find(String16(String8::format("%d", cameraId)));
126 const auto& iter = mCameraTorchStatuses.find(String16(String8::format("%d", cameraId)));
320 String16 cameraId = String16(String8::format("%d", i));
441 String16 cameraId(String8::format("%d",i));
452 // Setup a buffer queue; I'm just using the vendor opaque format here as that is
H A DCameraZSLTests.cpp172 String16 cameraIdStr = String16(String8::format("%d", cameraId));
/frameworks/av/cmds/screenrecord/
H A DOverlay.cpp237 String8 timeStr(String8::format("%s f=%" PRId64 " (%zd)",
256 //const char* format = "%m-%d %T"; // matches log output
257 const char* format = "%T"; local
271 strftime(buf, bufLen, format, &tm);
364 String8::format("Android screenrecord v%d.%d",
386 String8 str(String8::format("%s: [%s]", kPropertyNames[i], valueBuf));
H A Dscreenrecord.cpp75 } gOutputFormat = FORMAT_MP4; // data format for output
159 sp<AMessage> format = new AMessage; local
160 format->setInt32("width", gVideoWidth);
161 format->setInt32("height", gVideoHeight);
162 format->setString("mime", kMimeTypeAvc);
163 format->setInt32("color-format", OMX_COLOR_FormatAndroidOpaque);
164 format->setInt32("bitrate", gBitRate);
165 format->setFloat("frame-rate", displayFps);
166 format
[all...]
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp293 sp<AMessage> format; local
294 status_t err = mExtractor->getTrackFormat(i, &format);
298 CHECK(format->findString("mime", &mime));
324 format,
333 while (format->findBuffer(AStringPrintf("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.cpp93 sp<AMessage> format; local
94 status_t err = extractor->getTrackFormat(i, &format);
98 CHECK(format->findString("mime", &mime));
129 format, isVideo ? surface : NULL,
300 sp<AMessage> format; local
301 CHECK_EQ((status_t)OK, state->mCodec->getOutputFormat(&format));
303 ALOGV("INFO_FORMAT_CHANGED: %s", format->debugString().c_str());
H A Dmediafilter.cpp202 && srcFormat->findInt32("color-format", &srcColorFormat));
207 && destFormat->findInt32("color-format", &destColorFormat));
332 sp<AMessage> format; local
333 status_t err = extractor->getTrackFormat(i, &format);
337 CHECK(format->findString("mime", &mime));
361 format, NULL /* surface */, NULL /* crypto */, 0 /* flags */);
376 vidFormat->setInt32("color-format", OMX_COLOR_Format32bitARGB8888);
462 vidFormat /* format */, surface, NULL /* crypto */, 0 /* flags */);
620 sp<AMessage> format; local
621 CHECK_EQ((status_t)OK, state->mCodec->getOutputFormat(&format));
[all...]
H A Dmuxer.cpp101 sp<AMessage> format; local
102 status_t err = extractor->getTrackFormat(i, &format);
104 ALOGV("extractor getTrackFormat: %s", format->debugString().c_str());
107 CHECK(format->findString("mime", &mime));
122 CHECK(format->findInt32("width", &width));
123 CHECK(format->findInt32("height", &height));
128 CHECK(format->findInt64("durationUs", &duration));
144 ssize_t newTrackIndex = muxer->addTrack(format);
H A Drecord.cpp54 // Check the color format to make sure
182 fprintf(stderr, "input color format must be 0 (YUV420SP) or 1 (YUV420P)\n");
220 enc_meta->setInt32("color-format", colorFormat);
223 MediaCodecSource::Create(looper, format, decoder);
/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);
138 // The image format for preview frames. See CAMERA_MSG_PREVIEW_FRAME in
159 // The image format for captured pictures. See CAMERA_MSG_COMPRESSED_IMAGE
442 // sensitive). The format is three float values separated by commas. The
483 // The image format for video frames. See CAMERA_MSG_VIDEO_FRAME in
623 // Raw bayer format used for images, which is 10 bit precision samples
626 // Pixel format is not known to the framework
688 * corrsponding to the format given in the input string or -1 if no such
691 static int previewFormatToEnum(const char* format);
[all...]
H A DCameraParameters2.h102 void setPreviewFormat(const char *format);
107 void setPictureFormat(const char *format);
/frameworks/av/include/media/
H A DAudioMixer.h112 // The failure could be because of an invalid channelMask or format, or that
115 audio_format_t format, int sessionId);
133 static inline bool isValidPcmTrackFormat(audio_format_t format) { argument
134 switch (format) {
157 // sample format is not explicitly specified, and is assumed to be AUDIO_FORMAT_PCM_16_BIT
194 uint8_t unused_padding; // formerly format, was always 16
242 audio_format_t mMixerFormat; // output mix format: AUDIO_FORMAT_PCM_(FLOAT|16_BIT)
243 audio_format_t mFormat; // input track format
244 audio_format_t mMixerInFormat; // mix internal format AUDIO_FORMAT_PCM_(FLOAT|16_BIT)
245 // each track must be converted to this format
[all...]
H A DAudioPolicy.h82 AudioMix(Vector<AudioMixMatchCriterion> criteria, uint32_t mixType, audio_config_t format, argument
84 mCriteria(criteria), mMixType(mixType), mFormat(format),
H A DAudioRecord.h120 audio_format_t format,
149 * format: Audio format (e.g AUDIO_FORMAT_PCM_16_BIT for signed
173 audio_format_t format,
200 * - BAD_VALUE: invalid parameter (channelMask, format, sampleRate...)
211 audio_format_t format,
240 audio_format_t format() const { return mFormat; } function in class:android::AudioRecord
H A DAudioResampler.h54 static AudioResampler* create(audio_format_t format, int inChannelCount,

Completed in 220 milliseconds

1234567891011>>