/frameworks/av/media/libmedia/ |
H A D | IOMX.cpp | 388 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 397 data.writeInt64(timestamp); 539 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd = -1) { 540 return mBase->emptyBuffer(buffer, omxBuf, flags, timestamp, fenceFd); 923 OMX_TICKS timestamp = data.readInt64(); local 927 buffer, omxBuf, flags, timestamp, fenceFd)); 386 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuf, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 537 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuf, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd = -1) argument
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 1056 uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV) 1061 status = (PV_STATUS)PVDecodeVopHeader(decCtrl, buffer, timestamp, buffer_size, &header_info, use_ext_timestamp, currYUV); 1084 uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV) 1108 timestamp[idx] = -1; 1112 /* did the application provide a timestamp for this vop? */ 1113 if (timestamp[idx] < 0) 1117 /* decode the timestamp in the bitstream */ 1136 timestamp[idx] = CalcVopDisplayTime(video->vol[idx], vopHeader[idx], video->shortVideoHeader); 1143 timestamp[idx] = vopHeader[idx]->timeStamp; 1148 if (timestamp[id 1055 PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV) argument 1083 PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV) argument 1657 PVDecSetReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp) argument 1698 PVDecSetEnhReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
H A D | mp4enc_api.h | 123 ULong timestamp; /* modulo timestamp in millisecond*/ member in struct:tagvideoEncFrameIO 331 * @param nextModTime is the timestamp encoder expects from the next input 354 * @brief This function sets the input YUV frame and timestamp to be encoded by the slice-based encoding function PVEncodeSlice(). 356 * The encoder library processes the timestamp and determine if this frame is to be encoded or not. If the current frame 361 * @param nextModTime is the timestamp encoder expects from the next input if this input is rejected and nLayer is set to -1. 373 * At the end-of-frame, the next video input address and the next video modulo timestamp will be set. 380 * @param nextModTime is the timestamp encoder expects from the next input
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | ZslProcessor.cpp | 55 explicit TimestampFinder(nsecs_t timestamp) : mTimestamp(timestamp) {} argument 82 // Best result: timestamp is identical 98 // Order i1,i2 so that always i1.timestamp < i2.timestamp 104 // Second best: closest (lower) timestamp 111 // Worst: closest (higher) timestamp 191 nsecs_t timestamp = entry.data.i64[0]; local 193 ALOGE("%s: metadata doesn't have timestamp, skip this result", __FUNCTION__); 204 ALOGVV("Got preview metadata for frame %d with timestamp 644 enqueueInputBufferByTimestamp( nsecs_t timestamp, nsecs_t* actualTimestamp) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 516 nsecs_t timestamp) { 534 status_t res = returnBufferLocked(buffer, timestamp); 515 returnBuffer(const camera3_stream_buffer &buffer, nsecs_t timestamp) argument
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceUserShim.java | 242 public void onCaptureStarted(final CaptureResultExtras resultExtras, final long timestamp) { argument 244 /*arg1*/ (int) (timestamp & 0xFFFFFFFFL), 245 /*arg2*/ (int) ( (timestamp >> 32) & 0xFFFFFFFFL), 313 long timestamp = msg.arg2 & 0xFFFFFFFFL; 314 timestamp = (timestamp << 32) | (msg.arg1 & 0xFFFFFFFFL); 316 mCallbacks.onCaptureStarted(resultExtras, timestamp);
|
H A D | LegacyCameraDevice.java | 205 public void onCaptureStarted(final RequestHolder holder, final long timestamp) { 216 mDeviceCallbacks.onCaptureStarted(extras, timestamp); 783 static void setNextTimestamp(Surface surface, long timestamp) argument 786 LegacyExceptionUtils.throwOnError(nativeSetNextTimestamp(surface, timestamp)); 820 private static native int nativeSetNextTimestamp(Surface surface, long timestamp); argument
|
H A D | SurfaceTextureRenderer.java | 627 private void addGlTimestamp(long timestamp) { argument 629 mPerfMeasurer.addTimestamp(timestamp); 733 long timestamp = mSurfaceTexture.getTimestamp(); 735 Pair<RequestHolder, Long> captureHolder = targetCollector.previewCaptured(timestamp); 752 addGlTimestamp(timestamp);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_legacy_LegacyCameraDevice.cpp | 698 jlong timestamp) { 708 if ((err = native_window_set_buffers_timestamp(anw.get(), static_cast<int64_t>(timestamp))) != 710 ALOGE("%s: Unable to set surface timestamp, error %s (%d)", __FUNCTION__, strerror(-err), 697 LegacyCameraDevice_nativeSetNextTimestamp(JNIEnv* env, jobject thiz, jobject surface, jlong timestamp) argument
|
/frameworks/base/libs/input/ |
H A D | PointerController.cpp | 500 nsecs_t timestamp; local 505 timestamp = buf[i].header.timestamp; 511 doAnimate(timestamp); 516 void PointerController::doAnimate(nsecs_t timestamp) { argument 521 bool keepFading = doFadingAnimationLocked(timestamp); 522 bool keepBitmapFlipping = doBitmapAnimationLocked(timestamp); 528 bool PointerController::doFadingAnimationLocked(nsecs_t timestamp) { argument 530 nsecs_t frameDelay = timestamp - mLocked.animationTime; 570 bool PointerController::doBitmapAnimationLocked(nsecs_t timestamp) { argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 309 * to ensure that the Image timestamp (in nanoseconds) is correctly set, as 672 // When this default timestamp is used, timestamp for the input Image 721 public void setTimestamp(long timestamp) { argument 724 mTimestamp = timestamp;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | InstantAppRegistry.java | 923 final long timestamp = metadataFile.lastModified(); 930 parseMetadata(parser, packageName), timestamp); 1092 long timestamp) { 1094 mTimestamp = timestamp; 1091 UninstalledInstantAppState(InstantAppInfo instantApp, long timestamp) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | BackingStore.java | 172 * @return the timestamp 179 * @param timestamp the timestamp to set 181 public void setTimestamp(long timestamp) { argument 182 mTimestamp = timestamp;
|
H A D | Filter.java | 673 final void onPulledFrameWithTimestamp(long timestamp) { argument 674 if (timestamp > mCurrentTimestamp || mCurrentTimestamp == Frame.TIMESTAMP_NOT_SET) { 675 mCurrentTimestamp = timestamp;
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | ScanResult.java | 218 * timestamp in microseconds (since boot) when 221 public long timestamp; field in class:ScanResult 451 this.timestamp = tsf; 469 this.timestamp = tsf; 490 this.timestamp = tsf; 529 timestamp = source.timestamp; 565 append(", timestamp: "). 566 append(timestamp); 603 dest.writeLong(timestamp); [all...] |
/frameworks/native/include/android/ |
H A D | sensor.h | 267 int64_t timestamp; member in struct:ASensorEvent
|
/frameworks/native/libs/gui/tests/ |
H A D | CpuConsumer_test.cpp | 484 int64_t timestamp, uint32_t *stride) { 529 ALOGVV("Set timestamp to %p", anw.get()); 530 err = native_window_set_buffers_timestamp(anw.get(), timestamp); 566 EXPECT_EQ(time, b.timestamp); 607 EXPECT_EQ(time[i], b.timestamp); 649 EXPECT_EQ(time, b[i].timestamp); 672 EXPECT_EQ(time, bTooMuch.timestamp); 482 produceOneFrame(const sp<ANativeWindow>& anw, const CpuConsumerTestParams& params, int64_t timestamp, uint32_t *stride) argument
|
/frameworks/native/services/surfaceflinger/ |
H A D | DispSync.cpp | 453 bool DispSync::addResyncSample(nsecs_t timestamp) { argument 456 ALOGV("[%s] addResyncSample(%" PRId64 ")", mName, ns2us(timestamp)); 459 mResyncSamples[idx] = timestamp; 462 mReferenceTime = timestamp;
|
H A D | SurfaceInterceptor.cpp | 442 void SurfaceInterceptor::addVSyncUpdateLocked(Increment* increment, nsecs_t timestamp) { argument 444 event->set_when(timestamp); 561 void SurfaceInterceptor::saveVSyncEvent(nsecs_t timestamp) { argument 566 addVSyncUpdateLocked(createTraceIncrementLocked(), timestamp); local
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 177 int64_t timestamp) { 203 // with the same timestamp when turning the display off and on. This 206 if (timestamp == mLastHwVSync[disp]) { 208 timestamp); 212 mLastHwVSync[disp] = timestamp; 219 mEventHandler->onVSyncReceived(this, disp, timestamp); 284 // this returns the last refresh timestamp. 286 // the refresh period and whatever closest timestamp we have. 176 vsync(const std::shared_ptr<HWC2::Display>& display, int64_t timestamp) argument
|
H A D | HWComposer_hwc1.cpp | 266 int64_t timestamp) { 269 ctx->hwc->vsync(disp, timestamp); 283 void HWComposer::vsync(int disp, int64_t timestamp) { argument 289 // with the same timestamp when turning the display off and on. This 292 if (timestamp == mLastHwVSync[disp]) { 294 timestamp); 298 mLastHwVSync[disp] = timestamp; 305 mEventHandler.onVSyncReceived(this, disp, timestamp); 473 // this returns the last refresh timestamp. 475 // the refresh period and whatever closest timestamp w 265 hook_vsync(const struct hwc_procs* procs, int disp, int64_t timestamp) argument [all...] |
H A D | VirtualDisplaySurface.cpp | 508 int64_t timestamp; local 514 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop,
|
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 50 int64_t timestamp; member in struct:Allocation::__anon1998::__anon1999
|
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraDevice.cpp | 886 int64_t timestamp; local 887 found = msg->findInt64(kTimeStampKey, ×tamp); 889 ALOGE("%s: Cannot find timestamp!", __FUNCTION__); 893 (*onStart)(context, session.get(), request, timestamp); 1237 int64_t timestamp) { 1268 msg->setInt64(kTimeStampKey, timestamp); 1235 onCaptureStarted( const CaptureResultExtras& resultExtras, int64_t timestamp) argument
|
/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 325 status_t getTimestamp(ExtendedTimestamp *timestamp) { argument 326 if (timestamp == nullptr) { 330 *timestamp = mTimestamp; 344 // The shared buffer contents referred to by the timestamp observer 345 // is initialized when the server proxy created. A local zero timestamp 520 // Expose timestamp to client proxy. Should only be called by a single thread. 521 virtual void setTimestamp(const ExtendedTimestamp ×tamp) { argument 522 mTimestampMutator.push(timestamp); 591 // Set the internal drain state of the track buffer from the timestamp received.
|