Searched defs:format (Results 126 - 150 of 246) sorted by path

12345678910

/frameworks/base/media/java/android/mtp/
H A DMtpConstants.java158 // MTP format codes
159 /** Undefined format code */
276 * @param format the format of the object
279 public static boolean isAbstractObject(int format) { argument
280 switch (format) {
H A DMtpDatabase.java69 // cached property groups for all properties for a given format
257 private int beginSendObject(String path, int format, int parent, argument
284 values.put(Files.FileColumns.FORMAT, format);
303 private void endSendObject(String path, int handle, int format, boolean succeeded) { argument
307 if (format == MtpConstants.FORMAT_ABSTRACT_AV_PLAYLIST) {
322 values.put(Files.FileColumns.FORMAT, format);
331 mMediaScanner.scanMtpFile(path, mVolumeName, handle, format);
338 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { argument
344 if (format == 0) {
359 // query specific format
437 getObjectList(int storageID, int format, int parent) argument
463 getNumObjects(int storageID, int format, int parent) argument
634 getSupportedObjectProperties(int format) argument
667 getObjectPropertyList(long handle, int format, long property, int groupCode, int depth) argument
[all...]
H A DMtpDevice.java132 * with the given format and parent.
136 * @param format the format of the object to return, or zero for all formats
140 public int[] getObjectHandles(int storageId, int format, int objectHandle) { argument
141 return native_get_object_handles(storageId, format, objectHandle);
160 * The size and format of the thumbnail data can be determined via
163 * For typical devices the format is JPEG.
247 private native int[] native_get_object_handles(int storageId, int format, int objectHandle); argument
H A DMtpPropertyGroup.java284 MtpPropertyList getPropertyList(int handle, int format, int depth) { argument
285 //Log.d(TAG, "getPropertyList handle: " + handle + " format: " + format + " depth: " + depth);
294 if (format == 0) {
309 // select all objects with given format
311 whereArgs = new String[] { Integer.toString(format) };
313 whereArgs = new String[] { Integer.toString(handle), Integer.toString(format) };
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp113 const sp<AMessage> &format,
124 return mCodec->configure(format, mSurfaceTextureClient, crypto, flags);
194 status_t JMediaCodec::getOutputFormat(JNIEnv *env, jobject *format) const {
201 return ConvertMessageToMap(env, msg, format);
363 sp<AMessage> format; local
364 status_t err = ConvertKeyValueArraysToMessage(env, keys, values, &format);
390 err = codec->configure(format, surfaceTexture, crypto, flags);
674 jobject format; local
675 status_t err = codec->getOutputFormat(env, &format);
678 return format;
112 configure( const sp<AMessage> &format, const sp<ISurfaceTexture> &surfaceTexture, const sp<ICrypto> &crypto, int flags) argument
[all...]
H A Dandroid_media_MediaExtractor.cpp153 status_t JMediaExtractor::getTrackFormat(size_t index, jobject *format) const {
162 return ConvertMessageToMap(env, msg, format);
331 jobject format; local
332 status_t err = extractor->getTrackFormat(index, &format);
339 return format;
H A Dandroid_mtp_MtpDatabase.cpp97 MtpObjectFormat format,
105 MtpObjectFormat format,
109 MtpObjectFormat format,
113 MtpObjectFormat format,
120 virtual MtpObjectPropertyList* getSupportedObjectProperties(MtpObjectFormat format);
140 uint32_t format, uint32_t property,
164 MtpObjectFormat format);
221 MtpObjectFormat format,
229 pathStr, (jint)format, (jint)parent, (jint)storage,
239 MtpObjectFormat format, boo
220 beginSendObject(const char* path, MtpObjectFormat format, MtpObjectHandle parent, MtpStorageID storage, uint64_t size, time_t modified) argument
238 endSendObject(const char* path, MtpObjectHandle handle, MtpObjectFormat format, bool succeeded) argument
250 getObjectList(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
270 getNumObjects(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent) argument
317 getSupportedObjectProperties(MtpObjectFormat format) argument
651 getObjectPropertyList(MtpObjectHandle handle, uint32_t format, uint32_t property, int groupCode, int depth, MtpDataPacket& packet) argument
757 MtpObjectFormat format; local
819 MtpObjectFormat format; local
977 getObjectPropertyDesc(MtpObjectProperty property, MtpObjectFormat format) argument
[all...]
H A Dandroid_mtp_MtpDevice.cpp222 jint storageID, jint format, jint objectID)
227 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID);
221 android_mtp_MtpDevice_get_object_handles(JNIEnv *env, jobject thiz, jint storageID, jint format, jint objectID) argument
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp498 M4OSA_Int32 format, M4OSA_UInt32 profile, M4OSA_UInt32 level){
504 ALOGV("checkClipVideoProfileAndLevel format %d profile;%d level:0x%x",
505 format, profile, level);
507 switch (format) {
523 ALOGE("checkClipVideoProfileAndLevel unsupport Video format %ld", format);
1334 // Set the video format.
1346 // Set the audio format.
497 checkClipVideoProfileAndLevel(M4DECODER_VideoDecoders *pDecoders, M4OSA_Int32 format, M4OSA_UInt32 profile, M4OSA_UInt32 level) argument
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DCachedFrameManager.java44 public Frame newFrame(FrameFormat format) { argument
45 Frame result = findAvailableFrame(format, Frame.NO_BINDING, 0);
47 result = super.newFrame(format);
54 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { argument
55 Frame result = findAvailableFrame(format, bindingType, bindingId);
57 result = super.newBoundFrame(format, bindingType, bindingId);
130 private Frame findAvailableFrame(FrameFormat format, int bindingType, long bindingId) { argument
131 // Look for a frame that is compatible with the requested format
135 // Check that format is compatible
136 if (frame.getFormat().isReplaceableBy(format)) {
[all...]
H A DFilter.java25 import android.filterfw.format.ObjectFormat;
308 * filter has input ports. When type-checking is performed, the input format is
309 * checked against the provided format mask. An exception is thrown in case of a conflict.
312 * @param formatMask a format mask, which filters the allowable input types
322 * Adds an output port to the filter with a fixed output format. You should call this from
324 * output format depends on the input format (e.g. in a pass-through filter). In this case, use
328 * @param format the fixed output format of this port
330 protected void addOutputPort(String name, FrameFormat format) { argument
[all...]
H A DFilterPort.java52 public void setPortFormat(FrameFormat format) { argument
53 mPortFormat = format;
H A DFilterSurfaceView.java116 int format,
120 mFormat = format;
127 mListener.surfaceChanged(holder, format, width, height);
115 surfaceChanged(SurfaceHolder holder, int format, int width, int height) argument
H A DFrame.java46 Frame(FrameFormat format, FrameManager frameManager) { argument
47 mFormat = format.mutableCopy();
51 Frame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument
52 mFormat = format.mutableCopy();
172 protected void setFormat(FrameFormat format) { argument
173 mFormat = format.mutableCopy();
H A DFrameFormat.java180 FrameFormat format = (FrameFormat)object;
181 return format.mBaseType == mBaseType &&
182 format.mTarget == mTarget &&
183 format.mBytesPerSample == mBytesPerSample &&
184 Arrays.equals(format.mDimensions, mDimensions) &&
185 format.mMetaData.equals(mMetaData);
434 boolean isReplaceableBy(FrameFormat format) { argument
435 return mTarget == format.mTarget
436 && getSize() == format.getSize()
437 && Arrays.equals(format
[all...]
H A DFrameManager.java31 public abstract Frame newFrame(FrameFormat format); argument
33 public abstract Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId); argument
H A DGLFrame.java70 GLFrame(FrameFormat format, FrameManager frameManager) { argument
71 super(format, frameManager);
74 GLFrame(FrameFormat format, FrameManager frameManager, int bindingType, long bindingId) { argument
75 super(format, frameManager, bindingType, bindingId);
79 FrameFormat format = getFormat();
82 // Check that we have a valid format
83 if (format.getBytesPerSample() != 4) {
85 } else if (format.getDimensionCount() != 2) {
H A DNativeFrame.java38 NativeFrame(FrameFormat format, FrameManager frameManager) { argument
39 super(format, frameManager);
40 int capacity = format.getSize();
H A DSerializedFrame.java24 import android.filterfw.format.ObjectFormat;
169 SerializedFrame(FrameFormat format, FrameManager frameManager) { argument
170 super(format, frameManager);
185 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
186 SerializedFrame result = new SerializedFrame(format, frameManager);
H A DSimpleFrame.java24 import android.filterfw.format.ObjectFormat;
37 SimpleFrame(FrameFormat format, FrameManager frameManager) { argument
38 super(format, frameManager);
39 initWithFormat(format);
44 FrameFormat format = ObjectFormat.fromObject(object, FrameFormat.TARGET_SIMPLE);
45 SimpleFrame result = new SimpleFrame(format, frameManager);
50 private void initWithFormat(FrameFormat format) { argument
51 final int count = format.getLength();
52 final int baseType = format.getBaseType();
134 MutableFrameFormat format
[all...]
H A DSimpleFrameManager.java37 public Frame newFrame(FrameFormat format) { argument
38 return createNewFrame(format);
42 public Frame newBoundFrame(FrameFormat format, int bindingType, long bindingId) { argument
44 switch(format.getTarget()) {
46 GLFrame glFrame = new GLFrame(format, this, bindingType, bindingId);
54 + FrameFormat.targetToString(format.getTarget()) + "!");
59 private Frame createNewFrame(FrameFormat format) { argument
61 switch(format.getTarget()) {
63 result = new SimpleFrame(format, this);
67 result = new NativeFrame(format, thi
[all...]
H A DVertexFrame.java34 VertexFrame(FrameFormat format, FrameManager frameManager) { argument
35 super(format, frameManager);
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DImageFormat.java18 package android.filterfw.format;
H A DObjectFormat.java18 package android.filterfw.format;
30 // Create frame format
H A DPrimitiveFormat.java18 package android.filterfw.format;

Completed in 3912 milliseconds

12345678910