Searched refs:marker (Results 1 - 25 of 27) sorted by relevance

12

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DJpegHeader.java26 * SOF (start of frame). All value between SOF0 and SOF15 is SOF marker except for DHT, JPG,
27 * and DAC marker.
35 public static final boolean isSofMarker(short marker) { argument
36 return marker >= SOF0 && marker <= SOF15 && marker != DHT && marker != JPG
37 && marker != DAC;
H A DExifParser.java759 short marker = dataStream.readShort();
760 while (marker != JpegHeader.EOI
761 && !JpegHeader.isSofMarker(marker)) {
765 if (marker == JpegHeader.APP1) {
784 marker = dataStream.readShort();
H A DExifOutputStream.java172 short marker = mBuffer.getShort();
173 if (marker == JpegHeader.APP1) {
176 } else if (!JpegHeader.isSofMarker(marker)) {
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java87 final int marker = jpeg.get(offset) & 0xFF;
89 // Check if the marker is a padding.
90 if (marker == 0xFF) {
95 // Check if the marker is SOI or TEM.
96 if (marker == 0xD8 || marker == 0x01) {
99 // Check if the marker is EOI or SOS.
100 if (marker == 0xD9 || marker == 0xDA) {
113 // Break if the marker i
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java82 final int marker = jpeg.get(offset) & 0xFF;
84 // Check if the marker is a padding.
85 if (marker == 0xFF) {
90 // Check if the marker is SOI or TEM.
91 if (marker == 0xD8 || marker == 0x01) {
94 // Check if the marker is EOI or SOS.
95 if (marker == 0xD9 || marker == 0xDA) {
108 // Break if the marker i
[all...]
/frameworks/av/media/libstagefright/
H A DJPEGSource.cpp46 #define JPEG_JFIF 0xE0 /* Jfif marker*/
47 #define JPEG_EXIF 0xE1 /* Exif marker*/
160 uint8_t marker; local
161 if (mSource->readAt(i++, &marker, 1) != 1) {
165 CHECK_EQ(marker, 0xff);
167 if (mSource->readAt(i++, &marker, 1) != 1) {
171 CHECK(marker != 0xff);
184 switch (marker) {
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisPlaybackQueueItem.java70 // Stores a queue of markers. When the marker in front is reached the client is informed and we
111 // Ensure we set the first marker if there is one.
212 // The index in frames of this marker.
226 /** Set a callback for the first marker in the queue. */
228 ProgressMarker marker = markerList.peek();
229 if (marker != null) {
230 // Zero is used to disable the marker. The documentation recommends to use a non-zero
232 int markerInFrames = marker.frames == 0 ? 1 : marker.frames;
245 ProgressMarker marker
[all...]
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
H A DXmpDepthDecode.java40 private static final int M_SOI = 0xd8; // File start marker.
42 private static final int M_SOS = 0xda; // Image data marker.
128 public int marker; field in class:XmpDepthDecode.Section
188 * and XMP sections (with marker M_APP1) and ignore others; otherwise, keep
218 int marker = c;
219 if (marker == M_SOS) {
224 section.marker = marker;
238 if (!readMetaOnly || marker == M_APP1) {
239 sections.add(readSection(is, length, marker, skipExtendedConten
284 readSection(InputStream is, int length, int marker, boolean skipExtendedContent) argument
[all...]
/frameworks/base/libs/hwui/
H A DCaches.h179 static void eventMarkNull(GLsizei length, const GLchar* marker) {} argument
180 static void startMarkNull(GLsizei length, const GLchar* marker) {} argument
/frameworks/av/include/media/
H A DAudioRecord.h55 EVENT_MARKER = 2, // Record head is at the specified marker position
106 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
166 * and inform of marker, position updates, etc.
286 /* Sets marker position. When record reaches the number of frames specified,
288 * with marker == 0 cancels marker notification callback.
289 * To set a marker at a position which would compute as 0,
290 * a workaround is to set the marker at a nearby position such as ~0 or 1.
296 * marker: marker positio
[all...]
H A DAudioTrack.h63 EVENT_MARKER = 3, // Playback head is at the specified marker position
123 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
187 * and inform of marker, position updates, etc.
491 /* Sets marker position. When playback reaches the number of frames specified, a callback with
492 * event type EVENT_MARKER is called. Calling setMarkerPosition with marker == 0 cancels marker
493 * notification callback. To set a marker at a position which would compute as 0,
494 * a workaround is to set the marker at a nearby position such as ~0 or 1.
500 * marker: marker positio
[all...]
/frameworks/av/media/libaudioclient/include/media/
H A DAudioRecord.h55 EVENT_MARKER = 2, // Record head is at the specified marker position
106 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
166 * and inform of marker, position updates, etc.
286 /* Sets marker position. When record reaches the number of frames specified,
288 * with marker == 0 cancels marker notification callback.
289 * To set a marker at a position which would compute as 0,
290 * a workaround is to set the marker at a nearby position such as ~0 or 1.
296 * marker: marker positio
[all...]
H A DAudioTrack.h63 EVENT_MARKER = 3, // Playback head is at the specified marker position
123 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
187 * and inform of marker, position updates, etc.
491 /* Sets marker position. When playback reaches the number of frames specified, a callback with
492 * event type EVENT_MARKER is called. Calling setMarkerPosition with marker == 0 cancels marker
493 * notification callback. To set a marker at a position which would compute as 0,
494 * a workaround is to set the marker at a nearby position such as ~0 or 1.
500 * marker: marker positio
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp320 * (inclusive). Because every marker begins with the same byte, they are
323 * JFIF files all begin with the Start of Image (SOI) marker, which is 0xD8.
329 * allowed to contain the End of Image marker (0xFF 0xD9), preventing us from
336 * the end of the image stream there is an End of Image (EOI) marker, which is
340 const uint8_t MARK = 0xFF; // First byte of marker
343 const size_t MARKER_LENGTH = 2; // length of a marker
348 uint8_t marker[MARKER_LENGTH]; member in struct:android::camera2::segment
355 // check for Start of Image marker
359 // check for End of Image marker
363 // check for arbitrary marker, return
[all...]
/frameworks/native/libs/binder/
H A DValue.cpp65 static const T *marker; local
66 return (void*)&marker;
/frameworks/base/media/java/android/media/
H A DExifInterface.java1235 // JPEG segment markers, that each marker consumes two bytes beginning with 0xff and ending with
2299 byte marker;
2300 if ((marker = in.readByte()) != MARKER) {
2301 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff));
2305 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff));
2309 marker = in.readByte();
2310 if (marker != MARKER) {
2311 throw new IOException("Invalid marker
[all...]
H A DAudioRecord.java120 * Event id denotes when record head has reached a previously set marker.
219 * The listener the AudioRecord notifies when the record position reaches a marker
230 * Handler for marker events coming from the native code
869 * Returns the notification marker position expressed in frames.
1344 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
1353 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
1382 * Sets the marker position at which the listener is called, if set with
1385 * @param markerInFrames marker position expressed in frames
1658 * reached a notification marker set by {@link AudioRecord#setNotificationMarkerPosition(int)}
1664 * Called on the listener to notify it that the previously set marker ha
1781 native_set_marker_pos(int marker) argument
[all...]
H A DAudioTrack.java184 * Event id denotes when playback head has reached a previously set marker.
1465 * Returns marker position expressed in frames.
1466 * @return marker position in wrapping frame units similar to {@link #getPlaybackHeadPosition},
1467 * or zero if marker is disabled.
1744 * Sets the listener the AudioTrack notifies when a previously set marker is reached or
1755 * Sets the listener the AudioTrack notifies when a previously set marker is reached or
1907 * Sets the position of the notification marker. At most one marker can be active.
1908 * @param markerInFrames marker position in wrapping frame units similar to
1909 * {@link #getPlaybackHeadPosition}, or zero to disable the marker
3234 native_set_marker_pos(int marker) argument
[all...]
/frameworks/support/exifinterface/src/main/java/androidx/exifinterface/media/
H A DExifInterface.java78 * compressed data, this tag shall not be used because a JPEG marker is used instead of it.</p>
90 * because a JPEG marker is used instead of it.</p>
103 * compressed data, this tag shall not be used because a JPEG marker is used instead of it.</p>
131 * marker is used instead of it.</p>
168 * a JPEG marker is used instead of it.</p>
180 * compressed data, this tag shall not be used because a JPEG marker is used instead of it.
195 * In JPEG compressed data a JPEG marker is used instead of this tag. So, this tag shall not
613 * data or a restart marker. This tag shall not exist in an uncompressed file.</p>
626 * padding data or a restart marker. This tag shall not exist in an uncompressed file.
3618 // JPEG segment markers, that each marker consume
[all...]
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java709 File marker = new File(syncDir, mInterfaceName + ".xml.migrated");
710 // if not migrated, perform the migration and add a marker
711 if (!marker.exists()) {
713 Slog.i(TAG, "Marker file " + marker + " does not exist - running migration");
736 marker.createNewFile();
/frameworks/av/media/libaudioclient/
H A DAudioRecord.cpp414 // where the last marker event is issued twice.
463 // Note: legacy handling - stop does not clear record marker and
484 status_t AudioRecord::setMarkerPosition(uint32_t marker) argument
486 // The only purpose of setting marker position is to get a callback
492 mMarkerPosition = marker;
502 status_t AudioRecord::getMarkerPosition(uint32_t *marker) const
504 if (marker == NULL) {
509 mMarkerPosition.getValue(marker);
1070 // Manage marker callback
H A DAudioTrack.cpp777 // Note: legacy handling - stop does not clear playback marker
819 // clear playback marker and periodic update counter
1109 status_t AudioTrack::setMarkerPosition(uint32_t marker) argument
1111 // The only purpose of setting marker position is to get a callback
1117 mMarkerPosition = marker;
1127 status_t AudioTrack::getMarkerPosition(uint32_t *marker) const
1132 if (marker == NULL) {
1137 mMarkerPosition.getValue(marker);
1890 // Manage marker callback
1956 // This helps with position, marker notification
[all...]
/frameworks/base/libs/hwui/debug/
H A DNullGlesDriver.h184 virtual void glInsertEventMarkerEXT_(GLsizei length, const GLchar* marker) override {}
185 virtual void glPushGroupMarkerEXT_(GLsizei length, const GLchar* marker) override {}
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h1223 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1224 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
1227 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
1228 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 489 milliseconds

12