/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 1054 uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV) 1059 status = (PV_STATUS)PVDecodeVopHeader(decCtrl, buffer, timestamp, buffer_size, &header_info, use_ext_timestamp, currYUV); 1082 uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV) 1106 timestamp[idx] = -1; 1110 /* did the application provide a timestamp for this vop? */ 1111 if (timestamp[idx] < 0) 1115 /* decode the timestamp in the bitstream */ 1134 timestamp[idx] = CalcVopDisplayTime(video->vol[idx], vopHeader[idx], video->shortVideoHeader); 1141 timestamp[idx] = vopHeader[idx]->timeStamp; 1146 if (timestamp[id 1053 PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], uint use_ext_timestamp[], uint8 *currYUV) argument 1081 PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp [], uint8 *currYUV) argument 1650 PVDecSetReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp) argument 1691 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/device3/ |
H A D | Camera3Stream.cpp | 519 nsecs_t timestamp) { 537 status_t res = returnBufferLocked(buffer, timestamp); 518 returnBuffer(const camera3_stream_buffer &buffer, nsecs_t timestamp) argument
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | CameraDeviceUserShim.java | 241 public void onCaptureStarted(final CaptureResultExtras resultExtras, final long timestamp) { argument 243 /*arg1*/ (int) (timestamp & 0xFFFFFFFFL), 244 /*arg2*/ (int) ( (timestamp >> 32) & 0xFFFFFFFFL), 306 long timestamp = msg.arg2 & 0xFFFFFFFFL; 307 timestamp = (timestamp << 32) | (msg.arg1 & 0xFFFFFFFFL); 309 mCallbacks.onCaptureStarted(resultExtras, timestamp);
|
H A D | LegacyCameraDevice.java | 205 public void onCaptureStarted(final RequestHolder holder, final long timestamp) { 216 mDeviceCallbacks.onCaptureStarted(extras, timestamp); 776 static void setNextTimestamp(Surface surface, long timestamp) argument 779 LegacyExceptionUtils.throwOnError(nativeSetNextTimestamp(surface, timestamp)); 813 private static native int nativeSetNextTimestamp(Surface surface, long timestamp); argument
|
H A D | SurfaceTextureRenderer.java | 604 private void addGlTimestamp(long timestamp) { argument 606 mPerfMeasurer.addTimestamp(timestamp); 710 long timestamp = mSurfaceTexture.getTimestamp(); 712 Pair<RequestHolder, Long> captureHolder = targetCollector.previewCaptured(timestamp); 729 addGlTimestamp(timestamp);
|
/frameworks/base/core/jni/ |
H A D | android_hardware_SensorManager.cpp | 334 buffer[i].timestamp); 360 buffer[i].timestamp); 420 jfloatArray values, jint accuracy, jlong timestamp) { 426 sensor_event.timestamp = timestamp; 419 nativeInjectSensorData(JNIEnv *env, jclass clazz, jlong eventQ, jint handle, jfloatArray values, jint accuracy, jlong timestamp) argument
|
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 | 476 nsecs_t timestamp; local 481 timestamp = buf[i].header.timestamp; 487 doAnimate(timestamp); 492 void PointerController::doAnimate(nsecs_t timestamp) { argument 497 bool keepFading = doFadingAnimationLocked(timestamp); 498 bool keepBitmapFlipping = doBitmapAnimationLocked(timestamp); 504 bool PointerController::doFadingAnimationLocked(nsecs_t timestamp) { argument 506 nsecs_t frameDelay = timestamp - mLocked.animationTime; 546 bool PointerController::doBitmapAnimationLocked(nsecs_t timestamp) { argument [all...] |
/frameworks/base/media/java/android/media/ |
H A D | ImageWriter.java | 256 * to ensure that the Image timestamp (in nanoseconds) is correctly set, as 633 // When this default timestamp is used, timestamp for the input Image 682 public void setTimestamp(long timestamp) { argument 685 mTimestamp = timestamp;
|
/frameworks/base/services/core/java/com/android/server/location/ |
H A D | FlpHardwareProvider.java | 216 long timestamp, 224 timestamp, 212 onGeofenceTransition( int geofenceId, Location location, int transition, long timestamp, int sourcesUsed) argument
|
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | VrManagerService.java | 164 final long timestamp; field in class:VrManagerService.VrState 174 this.timestamp = System.currentTimeMillis(); 184 this.timestamp = System.currentTimeMillis(); 876 pw.print(d.format(new Date(state.timestamp)));
|
/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/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 729 int64_t timestamp; local 737 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop, &scalingMode, 798 slot, mCore->mFrameCounter + 1, timestamp, dataSpace, 831 item.mTimestamp = timestamp;
|
/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 | 447 bool DispSync::addResyncSample(nsecs_t timestamp) { argument 450 ALOGV("[%s] addResyncSample(%" PRId64 ")", mName, ns2us(timestamp)); 453 mResyncSamples[idx] = timestamp; 456 mReferenceTime = timestamp;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWComposer.cpp | 206 int64_t timestamp) { 232 // with the same timestamp when turning the display off and on. This 235 if (timestamp == mLastHwVSync[disp]) { 237 timestamp); 241 mLastHwVSync[disp] = timestamp; 248 mEventHandler->onVSyncReceived(disp, timestamp); 304 // this returns the last refresh timestamp. 306 // the refresh period and whatever closest timestamp we have. 205 vsync(const std::shared_ptr<HWC2::Display>& display, int64_t timestamp) argument
|
H A D | HWComposer_hwc1.cpp | 264 int64_t timestamp) { 267 ctx->hwc->vsync(disp, timestamp); 281 void HWComposer::vsync(int disp, int64_t timestamp) { argument 287 // with the same timestamp when turning the display off and on. This 290 if (timestamp == mLastHwVSync[disp]) { 292 timestamp); 296 mLastHwVSync[disp] = timestamp; 303 mEventHandler.onVSyncReceived(disp, timestamp); 471 // this returns the last refresh timestamp. 473 // the refresh period and whatever closest timestamp w 263 hook_vsync(const struct hwc_procs* procs, int disp, int64_t timestamp) argument [all...] |
H A D | VirtualDisplaySurface.cpp | 505 int64_t timestamp; local 511 input.deflate(×tamp, &isAutoTimestamp, &dataSpace, &crop,
|
/frameworks/rs/driver/runtime/ |
H A D | rs_structs.h | 50 int64_t timestamp; member in struct:Allocation::__anon1654::__anon1655
|
/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); 585 // Set the internal drain state of the track buffer from the timestamp received.
|
/frameworks/av/media/libmedia/ |
H A D | AudioRecord.cpp | 304 mProxy->clearTimestamp(); // timestamp is invalid until next server push 456 status_t AudioRecord::getTimestamp(ExtendedTimestamp *timestamp) argument 458 if (timestamp == nullptr) { 462 status_t status = mProxy->getTimestamp(timestamp); 464 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesRead; 465 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; 469 if (timestamp->mTimeNs[i] >= 0) { 470 timestamp->mPosition[i] += mFramesReadServerOffset;
|
H A D | IOMX.cpp | 570 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 578 data.writeInt64(timestamp); 1187 OMX_TICKS timestamp = data.readInt64(); local 1191 node, buffer, range_offset, range_length, flags, timestamp, fenceFd)); 566 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument
|