Home
last modified time | relevance | path

Searched refs:marker (Results 1 – 25 of 36) 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/base/media/java/android/media/
DExifInterface.java2497 byte marker; in getJpegAttributes()
2498 if ((marker = in.readByte()) != MARKER) { in getJpegAttributes()
2499 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2503 throw new IOException("Invalid marker: " + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2507 marker = in.readByte(); in getJpegAttributes()
2508 if (marker != MARKER) { in getJpegAttributes()
2509 throw new IOException("Invalid marker:" + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2512 marker = in.readByte(); in getJpegAttributes()
2514 Log.d(TAG, "Found JPEG segment indicator: " + Integer.toHexString(marker & 0xff)); in getJpegAttributes()
2520 if (marker == MARKER_EOI || marker == MARKER_SOS) { in getJpegAttributes()
[all …]
DAudioRecord.java1954 private native final int native_set_marker_pos(int marker); in native_set_marker_pos() argument
/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/media/libaudioclient/include/media/
DAudioRecord.h317 status_t setMarkerPosition(uint32_t marker);
318 status_t getMarkerPosition(uint32_t *marker) const;
DAudioTrack.h523 status_t setMarkerPosition(uint32_t marker);
524 status_t getMarkerPosition(uint32_t *marker) const;
/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/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.cpp481 status_t AudioRecord::setMarkerPosition(uint32_t marker) in setMarkerPosition() argument
489 mMarkerPosition = marker; in setMarkerPosition()
499 status_t AudioRecord::getMarkerPosition(uint32_t *marker) const in getMarkerPosition()
501 if (marker == NULL) { in getMarkerPosition()
506 mMarkerPosition.getValue(marker); in getMarkerPosition()
DAudioTrack.cpp1116 status_t AudioTrack::setMarkerPosition(uint32_t marker) in setMarkerPosition() argument
1124 mMarkerPosition = marker; in setMarkerPosition()
1134 status_t AudioTrack::getMarkerPosition(uint32_t *marker) const in getMarkerPosition()
1139 if (marker == NULL) { in getMarkerPosition()
1144 mMarkerPosition.getValue(marker); in getMarkerPosition()
/frameworks/av/media/libmedia/docs/
Dpaused.dot25 ATsetMarkerPosition [label="AudioTrack::setMarkerPosition()\n[sets marker variables]"];
/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/base/libs/hwui/debug/
DNullGlesDriver.h184 virtual void glInsertEventMarkerEXT_(GLsizei length, const GLchar* marker) override {} in glInsertEventMarkerEXT_() argument
185 virtual void glPushGroupMarkerEXT_(GLsizei length, const GLchar* marker) override {} in glPushGroupMarkerEXT_() argument
Dgles_stubs.in1294 void API_ENTRY(glInsertEventMarkerEXT)(GLsizei length, const GLchar *marker) {
1295 CALL_GL_API(glInsertEventMarkerEXT, length, marker);
1297 void API_ENTRY(glPushGroupMarkerEXT)(GLsizei length, const GLchar *marker) {
1298 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)
/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);

12