Searched refs:type (Results 1 - 25 of 1497) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraMetadata.cpp179 ALOGE("Mismatched tag type when updating entry %s (%d) of type %s; "
180 "got type %s data instead ",
287 if ( (res = checkType(entry.tag, entry.type)) != OK) {
300 int type = get_camera_metadata_tag_type(tag); local
301 if (type == -1) {
316 size_t data_size = calculate_camera_metadata_entry_data_size(type,
H A DVendorTagDescriptor.cpp134 ALOGE("%s: could not read tag type from parcel for tag %d", __FUNCTION__, tag);
138 ALOGE("%s: tag type %d from vendor ops does not exist.", __FUNCTION__, tagType);
327 int type = mTagToTypeMap.valueFor(tag); local
328 const char* typeName = (type >= 0 && type < NUM_TYPES) ?
329 camera_metadata_type_names[type] : "UNKNOWN";
330 dprintf(fd, "%*s0x%x (%s) with type %d (%s) defined in section %s\n", indentation + 2,
331 "", tag, name.string(), type, typeName, sectionName.string());
392 ALOGE("%s: tag type %d from vendor ops does not exist.", __FUNCTION__, tagType);
/frameworks/av/camera/aidl/android/hardware/
H A DICameraService.aidl59 int getNumberOfCameras(int type);
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp30 ACameraMetadata::ACameraMetadata(camera_metadata_t* buffer, ACAMERA_METADATA_TYPE type) : argument
31 mData(buffer), mType(type) {
66 if (entry.count == 0 || entry.type != TYPE_BYTE) {
67 ALOGE("%s: malformed available capability key! count %zu, type %d",
68 __FUNCTION__, entry.count, entry.type);
92 if (entry.count == 0 || entry.count % 4 || entry.type != TYPE_INT32) {
93 ALOGE("%s: malformed available stream configuration key! count %zu, type %d",
94 __FUNCTION__, entry.count, entry.type);
173 entry->type = rawEntry.type;
[all...]
H A DACameraMetadata.h44 ACameraMetadata(camera_metadata_t *buffer, ACAMERA_METADATA_TYPE type);
86 // Here we have to use reinterpret_cast because the NDK data type is
87 // exact copy of internal data type but they do not inherit from each other
/frameworks/av/cmds/screenrecord/
H A DProgram.cpp71 status_t Program::setup(ProgramType type) { argument
72 ALOGV("Program::setup type=%d", type);
75 mProgramType = type;
78 if (type == PROGRAM_TEXTURE_2D) {
151 ALOGE("Compile of shader type %d failed", shaderType);
279 ALOGE("unexpected program type %d", mProgramType);
H A DProgram.h48 // Initialize the program for use with the specified texture type.
49 status_t setup(ProgramType type);
/frameworks/av/cmds/stagefright/
H A Dsf2.cpp320 uint32_t type; local
323 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
400 } else if (meta->findData(kKeyESDS, &type, &data, &size)) {
416 } else if (meta->findData(kKeyVorbisInfo, &type, &data, &size)) {
423 CHECK(meta->findData(kKeyVorbisBooks, &type, &data, &size));
H A Dstagefright.cpp128 uint32_t type; local
131 if (meta->findData(kKeyAVCC, &type, &data, &size)) {
644 printf("type '%s':\n", kMimeTypes[k]);
1024 fprintf(stderr, "extractor did not provide MIME type.\n");
/frameworks/av/drm/common/
H A DIDrmServiceListener.cpp49 int type = data.readInt32(); local
52 status_t status = notify(DrmInfoEvent(uniqueId, type, message));
/frameworks/av/drm/libdrmframework/plugins/common/util/src/
H A DMimeTypeUtil.cpp41 int type; // Audio, video,.. use the enum values member in struct:android::MimeGroup
47 int type; member in struct:android::MimeTypeList
137 while (MIMETYPE_LAST != pGroup->type) {
145 if (MIMETYPE_LAST != pGroup->type) {
148 while (MIMETYPE_LAST != pMimeItem->type) {
149 if ((pGroup->type == pMimeItem->type) &&
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DDrmFactory.cpp36 bool DrmFactory::isContentTypeSupported(const android::String8 &type) { argument
38 return type == kIsoBmffVideoMimeType ||
39 type == kIsoBmffAudioMimeType ||
40 type == kCencInitDataFormat ||
41 type == kWebmVideoMimeType ||
42 type == kWebmAudioMimeType ||
43 type == kWebmInitDataFormat;
H A DInitDataParser.cpp45 const String8& type,
49 if (type == kIsoBmffVideoMimeType ||
50 type == kIsoBmffAudioMimeType ||
51 type == kCencInitDataFormat) {
56 } else if (type == kWebmVideoMimeType ||
57 type == kWebmAudioMimeType ||
58 type == kWebmInitDataFormat) {
132 const String8 kRequestSuffix("],\"type\":\"temporary\"}");
44 parse(const Vector<uint8_t>& initData, const String8& type, Vector<uint8_t>* licenseRequest) argument
H A DInitDataParser.h32 const android::String8& type,
H A DJsonWebKey.cpp212 if (mJsmnTokens[j].type == JSMN_STRING ||
213 mJsmnTokens[j].type == JSMN_PRIMITIVE) {
236 // Computes number of tokens. A token marks the type, offset in
261 if (mJsmnTokens[i].type == JSMN_OBJECT) {
/frameworks/av/include/camera/ndk/
H A DNdkCameraMetadata.h47 * ACameraMetadata is opaque type that provides access to read-only camera metadata like camera
71 /// Number of type fields
76 * Definition of rational data type in {@link ACameraMetadata}.
100 * The data type of this metadata entry.
103 * same type.</p>
105 uint8_t type; member in struct:ACameraMetadata_entry
115 * <p>The type field above defines which union member pointer is valid. The count field above
145 * The data type of this metadata entry.
148 * same type.</p>
150 uint8_t type; member in struct:ACameraMetadata_const_entry
[all...]
/frameworks/av/include/media/
H A DAudioEffect.h163 * the same effect type but with a higher priority. Control is returned when the
173 * event: type of event notified (see enum AudioEffect::event_type).
175 * info: Pointer to optional parameter according to event type:
190 * in the AudioFlinger if no engine of the specified type exists. If one exists, this engine
216 * type: type of effect created: can be null if uuid is specified. This corresponds to
219 * uuid: Uuid of effect created: can be null if type is specified. This uuid corresponds to
220 * a particular implementation of an effect type.
234 AudioEffect(const effect_uuid_t *type,
245 * Same as above but with type an
[all...]
H A DAudioIoDescriptor.h47 if (mPatch.sources[0].type == AUDIO_PORT_TYPE_MIX) {
H A DAudioSystem.h289 // Check if hw offload is possible for given format, stream type, sample rate,
299 audio_port_type_t type,
H A DIAudioPolicyService.h123 // Check if offload is possible for given format, stream type, sample rate,
129 audio_port_type_t type,
H A DIMediaCodecList.h41 const char *type, bool encoder, size_t startIndex = 0) const = 0;
H A DIMediaPlayer.h72 virtual status_t setAudioStreamType(audio_stream_type_t type) = 0;
H A DIOMX.h90 // This will set *type to previous metadata buffer type on OMX error (not on binder error), and
91 // new metadata buffer type on success.
93 node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type = NULL) = 0;
126 // This will set *type to resulting metadata buffer type on OMX error (not on binder error) as
131 MetadataBufferType *type = NULL) = 0;
137 // This will set *type to resulting metadata buffer type on OMX error (not on binder error) as
142 MetadataBufferType *type)
211 } type; member in struct:android::omx_message
[all...]
H A DMediaResource.h42 MediaResource(Type type, uint64_t value);
43 MediaResource(Type type, SubType subType, uint64_t value);
H A DMediaResourcePolicy.h32 MediaResourcePolicy(String8 type, String8 value);

Completed in 272 milliseconds

1234567891011>>