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

/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.cpp45 #define JPEG_JFIF 0xE0 /* Jfif marker*/
46 #define JPEG_EXIF 0xE1 /* Exif marker*/
159 uint8_t marker; local
160 if (mSource->readAt(i++, &marker, 1) != 1) {
164 CHECK_EQ(marker, 0xff);
166 if (mSource->readAt(i++, &marker, 1) != 1) {
170 CHECK(marker != 0xff);
183 switch (marker) {
/frameworks/volley/src/main/java/com/android/volley/
H A DVolleyLog.java111 /** Minimum duration from first marker to last in an marker log to warrant logging. */
129 /** Adds a marker to this log with the specified name. */
141 * @param header Header string to print above the marker log.
153 for (Marker marker : mMarkers) {
154 long thisTime = marker.time;
155 d("(+%-4d) [%2d] %s", (thisTime - prevTime), marker.thread, marker.name);
/frameworks/base/libs/hwui/
H A DCaches.h199 static void eventMarkNull(GLsizei length, const GLchar* marker) { } argument
200 static void startMarkNull(GLsizei length, const GLchar* marker) { } argument
/frameworks/av/include/media/
H A DAudioRecord.h47 EVENT_MARKER = 2, // Record head is at the specified marker position
98 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
158 * and inform of marker, position updates, etc.
263 /* Sets marker position. When record reaches the number of frames specified,
265 * with marker == 0 cancels marker notification callback.
266 * To set a marker at a position which would compute as 0,
267 * a workaround is to set the marker at a nearby position such as ~0 or 1.
273 * marker: marker positio
[all...]
H A DAudioTrack.h61 EVENT_MARKER = 3, // Playback head is at the specified marker position
121 * - EVENT_MARKER: pointer to const uint32_t containing the marker position in frames.
182 * and inform of marker, position updates, etc.
419 /* Sets marker position. When playback reaches the number of frames specified, a callback with
420 * event type EVENT_MARKER is called. Calling setMarkerPosition with marker == 0 cancels marker
421 * notification callback. To set a marker at a position which would compute as 0,
422 * a workaround is to set the marker at a nearby position such as ~0 or 1.
428 * marker: marker positio
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegProcessor.cpp285 * (inclusive). Because every marker begins with the same byte, they are
288 * JFIF files all begin with the Start of Image (SOI) marker, which is 0xD8.
294 * allowed to contain the End of Image marker (0xFF 0xD9), preventing us from
301 * the end of the image stream there is an End of Image (EOI) marker, which is
305 const uint8_t MARK = 0xFF; // First byte of marker
308 const size_t MARKER_LENGTH = 2; // length of a marker
313 uint8_t marker[MARKER_LENGTH]; member in struct:android::camera2::segment
320 // check for Start of Image marker
324 // check for End of Image marker
328 // check for arbitrary marker, return
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp351 // the record head position will reset to 0, so if a marker is set, we need
369 status_t AudioRecord::setMarkerPosition(uint32_t marker) argument
371 // The only purpose of setting marker position is to get a callback
377 mMarkerPosition = marker;
387 status_t AudioRecord::getMarkerPosition(uint32_t *marker) const
389 if (marker == NULL) {
394 *marker = mMarkerPosition;
890 // Manage marker callback
H A DAudioTrack.cpp528 // in stop() to avoid a race condition where the last marker event is issued twice.
605 // Note: legacy handling - stop does not clear playback marker
647 // clear playback marker and periodic update counter
895 status_t AudioTrack::setMarkerPosition(uint32_t marker) argument
897 // The only purpose of setting marker position is to get a callback
903 mMarkerPosition = marker;
913 status_t AudioTrack::getMarkerPosition(uint32_t *marker) const
918 if (marker == NULL) {
923 *marker = mMarkerPosition;
1779 // Manage marker callbac
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp275 uint8_t marker = br.getBits(5); local
276 CHECK_EQ(marker, 0x1f);
/frameworks/base/core/java/android/content/pm/
H A DRegisteredServicesCache.java623 File marker = new File(syncDir, mInterfaceName + ".xml.migrated");
624 // if not migrated, perform the migration and add a marker
625 if (!marker.exists()) {
627 Slog.i(TAG, "Marker file " + marker + " does not exist - running migration");
650 marker.createNewFile();
/frameworks/base/libs/hwui/tests/
H A Dnullgles.cpp260 void glInsertEventMarkerEXT(GLsizei length, const GLchar *marker) {} argument
261 void glPushGroupMarkerEXT(GLsizei length, const GLchar *marker) {} argument
/frameworks/base/media/java/android/media/
H A DAudioRecord.java111 * Event id denotes when record head has reached a previously set marker.
209 * The listener the AudioRecord notifies when the record position reaches a marker
220 * Handler for marker events coming from the native code
801 * Returns the notification marker position expressed in frames.
1172 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
1181 * Sets the listener the AudioRecord notifies when a previously set marker is reached or
1210 * Sets the marker position at which the listener is called, if set with
1213 * @param markerInFrames marker position expressed in frames
1434 * reached a notification marker set by {@link AudioRecord#setNotificationMarkerPosition(int)}
1440 * Called on the listener to notify it that the previously set marker ha
1555 native_set_marker_pos(int marker) argument
[all...]
H A DAudioTrack.java185 * Event id denotes when playback head has reached a previously set marker.
1064 * Returns marker position expressed in frames.
1065 * @return marker position in wrapping frame units similar to {@link #getPlaybackHeadPosition},
1066 * or zero if marker is disabled.
1283 * Sets the listener the AudioTrack notifies when a previously set marker is reached or
1294 * Sets the listener the AudioTrack notifies when a previously set marker is reached or
1427 * Sets the position of the notification marker. At most one marker can be active.
1428 * @param markerInFrames marker position in wrapping frame units similar to
1429 * {@link #getPlaybackHeadPosition}, or zero to disable the marker
2557 native_set_marker_pos(int marker) argument
[all...]
/frameworks/native/opengl/include/GLES2/
H A Dgl2ext.h742 typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
743 typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
746 GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
747 GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace_api.h402 void GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar * marker);
403 void GLTrace_glPushGroupMarkerEXT(GLsizei length, const GLchar * marker);
H A Dgltrace_api.cpp16416 void GLTrace_glInsertEventMarkerEXT(GLsizei length, const GLchar * marker) { argument
16428 // copy argument marker
16432 arg_marker->add_int64value((uintptr_t)marker);
16437 glContext->hooks->gl.glInsertEventMarkerEXT(length, marker);
16442 (void *) marker,
16451 void GLTrace_glPushGroupMarkerEXT(GLsizei length, const GLchar * marker) { argument
16463 // copy argument marker
16467 arg_marker->add_int64value((uintptr_t)marker);
16472 glContext->hooks->gl.glPushGroupMarkerEXT(length, marker);
16477 (void *) marker,
[all...]
/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 571 milliseconds