Home
last modified time | relevance | path

Searched refs:marker (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DJpegHeader.java35 public static final boolean isSofMarker(short marker) { in isSofMarker() argument
36 return marker >= SOF0 && marker <= SOF15 && marker != DHT && marker != JPG in isSofMarker()
37 && marker != DAC; in isSofMarker()
DExifParser.java759 short marker = dataStream.readShort(); in seekTiffData() local
760 while (marker != JpegHeader.EOI in seekTiffData()
761 && !JpegHeader.isSofMarker(marker)) { in seekTiffData()
765 if (marker == JpegHeader.APP1) { in seekTiffData()
784 marker = dataStream.readShort(); in seekTiffData()
DExifOutputStream.java172 short marker = mBuffer.getShort(); in write() local
173 if (marker == JpegHeader.APP1) { in write()
176 } else if (!JpegHeader.isSofMarker(marker)) { in write()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DExif.java82 final int marker = jpeg.get(offset) & 0xFF; in getOrientation() local
85 if (marker == 0xFF) { in getOrientation()
91 if (marker == 0xD8 || marker == 0x01) { in getOrientation()
95 if (marker == 0xD9 || marker == 0xDA) { in getOrientation()
109 if (marker == 0xE1 && length >= 8 && in getOrientation()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DExif.java87 final int marker = jpeg.get(offset) & 0xFF; in getOrientation() local
90 if (marker == 0xFF) { in getOrientation()
96 if (marker == 0xD8 || marker == 0x01) { in getOrientation()
100 if (marker == 0xD9 || marker == 0xDA) { in getOrientation()
114 if (marker == 0xE1 && length >= 8 && in getOrientation()
/frameworks/base/core/java/android/speech/tts/
DSynthesisPlaybackQueueItem.java228 ProgressMarker marker = markerList.peek(); in updateMarker() local
229 if (marker != null) { in updateMarker()
232 int markerInFrames = marker.frames == 0 ? 1 : marker.frames; in updateMarker()
245 ProgressMarker marker = markerList.poll(); in onMarkerReached() local
246 if (marker == null) { in onMarkerReached()
251 getDispatcher().dispatchOnRangeStart(marker.start, marker.end, marker.frames); in onMarkerReached()
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
DXmpDepthDecode.java128 public int marker; field in XmpDepthDecode.Section
218 int marker = c; in parse() local
219 if (marker == M_SOS) { in parse()
224 section.marker = marker; in parse()
238 if (!readMetaOnly || marker == M_APP1) { in parse()
239 sections.add(readSection(is, length, marker, skipExtendedContent)); in parse()
285 int marker, boolean skipExtendedContent) throws IOException { in readSection() argument
288 section.marker = marker; in readSection()
300 section.marker = marker; in readSection()
308 section.marker = marker; in readSection()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp160 uint8_t marker; in parseJPEG() local
161 if (mSource->readAt(i++, &marker, 1) != 1) { in parseJPEG()
165 CHECK_EQ(marker, 0xff); in parseJPEG()
167 if (mSource->readAt(i++, &marker, 1) != 1) { in parseJPEG()
171 CHECK(marker != 0xff); in parseJPEG()
184 switch (marker) { in parseJPEG()
/frameworks/av/services/camera/libcameraservice/tests/
DNV12Compressor.h92 uint8_t marker[kMarkerLength]; member
DNV12Compressor.cpp284 uint8_t type = checkJpegMarker(segment->marker); in findJpegSize()
/frameworks/av/services/camera/libcameraservice/api1/client2/
DJpegProcessor.cpp321 uint8_t marker[MARKER_LENGTH]; member
379 uint8_t type = checkJpegMarker(segment->marker); in findJpegSize()
/frameworks/base/media/java/android/media/
DExifInterface.java2799 byte marker; in getJpegAttributes()
2800 if ((marker = in.readByte()) != MARKER) { in getJpegAttributes()
2801 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2805 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2809 marker = in.readByte(); in getJpegAttributes()
2810 if (marker != MARKER) { in getJpegAttributes()
2811 throw new IOException("Invalid marker:" + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2814 marker = in.readByte(); in getJpegAttributes()
2816 Log.d(TAG, "Found JPEG segment indicator: " + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2822 if (marker == MARKER_EOI || marker == MARKER_SOS) { in getJpegAttributes()
[all …]
DAudioRecord.java2024 private native final int native_set_marker_pos(int marker); in native_set_marker_pos() argument
DAudioTrack.java4112 private native final int native_set_marker_pos(int marker); in native_set_marker_pos() argument
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h330 status_t setMarkerPosition(uint32_t marker);
331 status_t getMarkerPosition(uint32_t *marker) const;
DAudioTrack.h539 status_t setMarkerPosition(uint32_t marker);
540 status_t getMarkerPosition(uint32_t *marker) const;
/frameworks/base/core/java/android/content/pm/
DRegisteredServicesCache.java716 File marker = new File(syncDir, mInterfaceName + ".xml.migrated"); in migrateIfNecessaryLocked() local
718 if (!marker.exists()) { in migrateIfNecessaryLocked()
720 Slog.i(TAG, "Marker file " + marker + " does not exist - running migration"); in migrateIfNecessaryLocked()
743 marker.createNewFile(); in migrateIfNecessaryLocked()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp519 status_t AudioRecord::setMarkerPosition(uint32_t marker) in setMarkerPosition() argument
527 mMarkerPosition = marker; in setMarkerPosition()
537 status_t AudioRecord::getMarkerPosition(uint32_t *marker) const in getMarkerPosition()
539 if (marker == NULL) { in getMarkerPosition()
544 mMarkerPosition.getValue(marker); in getMarkerPosition()
DAudioTrack.cpp1205 status_t AudioTrack::setMarkerPosition(uint32_t marker) in setMarkerPosition() argument
1213 mMarkerPosition = marker; in setMarkerPosition()
1223 status_t AudioTrack::getMarkerPosition(uint32_t *marker) const in getMarkerPosition()
1228 if (marker == NULL) { in getMarkerPosition()
1233 mMarkerPosition.getValue(marker); in getMarkerPosition()
/frameworks/native/opengl/libs/GLES_CM/
Dglext_api.in316 void API_ENTRY(glInsertEventMarkerEXT)(GLsizei length, const GLchar *marker) {
317 CALL_GL_API(glInsertEventMarkerEXT, length, marker);
319 void API_ENTRY(glPushGroupMarkerEXT)(GLsizei length, const GLchar *marker) {
320 CALL_GL_API(glPushGroupMarkerEXT, length, marker);
/frameworks/native/opengl/libs/
Dentries_gles1.in161 GL_ENTRY(void, glInsertEventMarkerEXT, GLsizei length, const GLchar *marker)
233 GL_ENTRY(void, glPushGroupMarkerEXT, GLsizei length, const GLchar *marker)
Dentries.in498 GL_ENTRY(void, glInsertEventMarkerEXT, GLsizei length, const GLchar *marker)
768 GL_ENTRY(void, glPushGroupMarkerEXT, GLsizei length, const GLchar *marker)
/frameworks/compile/mclinker/tools/mcld/
DOptions.td325 HelpText<"Surround the result strings with the marker">;
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in349 void API_ENTRY(glInsertEventMarkerEXT)(GLsizei length, const GLchar *marker) {
350 CALL_GL_API(glInsertEventMarkerEXT, length, marker);
352 void API_ENTRY(glPushGroupMarkerEXT)(GLsizei length, const GLchar *marker) {
353 CALL_GL_API(glPushGroupMarkerEXT, length, marker);
/frameworks/native/opengl/include/GLES2/
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);

12