Searched refs:timeMs (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
H A DUDPPusher.cpp63 uint32_t timeMs; local
64 CHECK_EQ(fread(&timeMs, 1, sizeof(timeMs), mFile), sizeof(timeMs));
65 mFirstTimeMs = fromlel(timeMs);
94 uint32_t timeMs; local
95 if (fread(&timeMs, 1, sizeof(timeMs), mFile) < sizeof(timeMs)) {
100 timeMs
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.h38 uint32_t flags, int timeMs, Parcel *parcel);
72 int timeMs, Parcel *parcel);
78 int timeMs, Parcel *parcel, int depth);
H A DTextDescriptions.cpp28 uint32_t flags, int timeMs, Parcel *parcel) {
35 return extract3GPPLocalDescriptions(data, size, timeMs, parcel, 0);
39 return extractSRTLocalDescriptions(data, size, timeMs, parcel);
50 const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) {
53 parcel->writeInt32(timeMs);
72 int timeMs, Parcel *parcel, int depth) {
78 parcel->writeInt32(timeMs);
26 getParcelOfDescriptions( const uint8_t *data, ssize_t size, uint32_t flags, int timeMs, Parcel *parcel) argument
49 extractSRTLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel) argument
70 extract3GPPLocalDescriptions( const uint8_t *data, ssize_t size, int timeMs, Parcel *parcel, int depth) argument
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
H A DVideoEditorMain.h66 M4OSA_UInt32 timeMs; /* time stamp of the frame to be rendered*/ member in struct:__anon311
/frameworks/base/core/java/android/os/
H A DIPowerManager.aidl39 void setMaximumScreenOffTimeount(int timeMs);
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaVideoItem.java283 public Bitmap getThumbnail(int width, int height, long timeMs) { argument
284 if (timeMs > mDurationMs) {
288 if (timeMs < 0) {
303 getFilename(), width, height, timeMs, mVideoRotationDegree);
488 * @param timeMs time corresponding to the frame to display (relative to the
496 public long renderFrame(SurfaceHolder surfaceHolder, long timeMs) { argument
501 if (timeMs > mDurationMs || timeMs < 0) {
512 mFilename,timeMs,mWidth,mHeight);
H A DVideoEditor.java88 * @param timeMs The current preview position (expressed in milliseconds
93 public void onProgress(VideoEditor videoEditor, long timeMs, argument
710 * @param timeMs time corresponding to the frame to display
720 public long renderPreviewFrame(SurfaceHolder surfaceHolder, long timeMs, argument
H A DMediaArtistNativeHelper.java3080 long timeMs = 0;
3096 timeMs = (long)nativeRenderPreviewFrame(surface, time, surfaceWidth, surfaceHeight);
3115 return timeMs;
3139 long timeMs = 0;
3141 timeMs = (long)nativeRenderMediaItemPreviewFrame(surface, filepath, framewidth,
3154 return timeMs;
3768 Bitmap getPixels(String filename, int width, int height, long timeMs, argument
3771 getPixelsList(filename, width, height, timeMs, timeMs, 1, new int[] {0},
4015 private native int nativeRenderPreviewFrame(Surface mSurface, long timeMs, argument
4020 nativeRenderMediaItemPreviewFrame(Surface mSurface, String filepath, int framewidth, int frameheight, int surfacewidth, int surfaceheight, long timeMs) argument
[all...]
H A DMediaImageItem.java606 public Bitmap getThumbnail(int width, int height, long timeMs) throws IOException { argument
609 width, height, timeMs, 0);
H A DMediaItem.java548 * @param timeMs The time in the source video file at which the thumbnail is
556 public abstract Bitmap getThumbnail(int width, int height, long timeMs) argument
H A DVideoEditorImpl.java911 public long renderPreviewFrame(SurfaceHolder surfaceHolder, long timeMs, argument
926 if (timeMs < 0) {
928 } else if (timeMs > mDurationMs) {
947 timeMs, frame.width(), frame.height(), overlayData);
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPreviewController.h142 M4OSA_UInt32 timeMs, M4OSA_Void* outPtr);
H A DVideoEditorTools.h57 M4OSA_UInt32 timeMs; member in struct:__anon63
H A DVideoEditorPreviewController.cpp865 if((mEffectsSettings[i].uiStartTime <= pFrameStr->timeMs) &&
867 pFrameStr->timeMs) && (mEffectsSettings[i].uiDuration != 0)) {
885 if((mEffectsSettings[index].uiStartTime <= pFrameInfo->timeMs) &&
887 mEffectsSettings[index].uiDuration) >= pFrameInfo->timeMs))
904 pFrameStr->uiFrameHeight, pFrameStr->timeMs,
1379 M4OSA_UInt32 videoHeight, M4OSA_UInt32 timeMs, M4OSA_Void* outPtr) {
1387 postProcessParams.timeMs = timeMs;
1377 applyVideoEffect( M4OSA_Void * dataPtr, M4OSA_UInt32 colorFormat, M4OSA_UInt32 videoWidth, M4OSA_UInt32 videoHeight, M4OSA_UInt32 timeMs, M4OSA_Void* outPtr) argument
H A DPreviewPlayer.cpp1033 M4OSA_UInt32 timeMs = mDecodedVideoTs/1000; local
1038 timeMs + timeOffset - mPlayBeginTimeMsec) &&
1041 timeMs + timeOffset - mPlayBeginTimeMsec))
H A DVideoEditorTools.cpp3405 computeProgressForVideoEffect(params->timeMs,
3449 if((params->effectsSettings[i].uiStartTime <= params->timeMs + params->timeOffset) &&
3451 params->effectsSettings[i].uiDuration) >= params->timeMs + params->timeOffset))
3458 computeProgressForVideoEffect(params->timeMs,
3508 computePercentageDone(params->timeMs,
3532 computePercentageDone(params->timeMs,
/frameworks/base/core/java/android/app/admin/
H A DIDevicePolicyManager.aidl68 void setMaximumTimeToLock(in ComponentName who, long timeMs);
H A DDevicePolicyManager.java954 * @param timeMs The new desired maximum time to lock in milliseconds.
957 public void setMaximumTimeToLock(ComponentName admin, long timeMs) { argument
960 mService.setMaximumTimeToLock(admin, timeMs);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DVideoEditorPreviewTest.java177 public void onProgress(VideoEditor videoEditor, long timeMs,
489 public void onProgress(VideoEditor videoEditor, long timeMs,
728 public void onProgress(VideoEditor videoEditor, long timeMs,
790 public void onProgress(VideoEditor videoEditor, long timeMs,
1031 public void onProgress(VideoEditor videoEditor, long timeMs,
1099 public void onProgress(VideoEditor videoEditor, long timeMs,
/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorMain.cpp647 frameStr.timeMs = 0;
672 M4OSA_UInt32 timeMs = (M4OSA_UInt32)fromMs; local
737 if (timeMs == 0) {
742 "videoEditor_renderPreviewFrame() timeMs=%d", timeMs);
744 if (timeMs > uiTotalClipDuration) {
746 "videoEditor_renderPreviewFrame() timeMs > uiTotalClipDuration");
753 if (timeMs <= (iIncrementedDuration +
759 "videoEditor_renderPreviewFrame() iCurrentClipIndex=%d for timeMs=%d",
760 iCurrentClipIndex, timeMs);
1010 M4OSA_UInt32 timeMs = (M4OSA_UInt32)fromMs; local
[all...]
/frameworks/base/services/java/com/android/server/
H A DDevicePolicyManagerService.java1594 public void setMaximumTimeToLock(ComponentName who, long timeMs) { argument
1601 if (ap.maximumTimeToUnlock != timeMs) {
1602 ap.maximumTimeToUnlock = timeMs;
1610 long timeMs = getMaximumTimeToLock(null);
1611 if (mLastMaximumTimeToLock == timeMs) {
1617 if (timeMs <= 0) {
1618 timeMs = Integer.MAX_VALUE;
1626 mLastMaximumTimeToLock = timeMs;
1629 getIPowerManager().setMaximumScreenOffTimeount((int)timeMs);
H A DPowerManagerService.java470 public void setMaximumScreenOffTimeount(int timeMs) { argument
474 mMaximumScreenOffTimeout = timeMs;
/frameworks/base/core/java/android/widget/
H A DMediaController.java396 private String stringForTime(int timeMs) { argument
397 int totalSeconds = timeMs / 1000;

Completed in 6351 milliseconds