/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/ |
H A D | mp4dec_api.h | 109 uint32 timestamp; member in struct:tagVopHeaderInfo 155 Bool PVDecSetReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp); 156 Bool PVDecSetEnhReference(VideoDecControls *decCtrl, uint8 *refYUV, uint32 timestamp); 157 OSCL_IMPORT_REF Bool PVDecodeVideoFrame(VideoDecControls *decCtrl, uint8 *bitstream[], uint32 *timestamp, int32 *buffer_size, uint use_ext_timestamp[], uint8* currYUV); 158 Bool PVDecodeVopHeader(VideoDecControls *decCtrl, uint8 *buffer[], uint32 timestamp[], int32 buffer_size[], VopHeaderInfo *header_info, uint use_ext_timestamp[], uint8 *currYUV);
|
/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/media/libstagefright/omx/1.0/ |
H A D | WOmxNode.cpp | 204 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 217 toRawTicks(timestamp), 202 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuffer, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument
|
/frameworks/av/media/libstagefright/omx/ |
H A D | OMXNodeInstance.cpp | 1592 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 1599 flags, timestamp, fenceFd); 1603 buffer, omxBuffer.mGraphicBuffer, flags, timestamp, fenceFd); 1607 buffer, omxBuffer.mNativeHandle, flags, timestamp, fenceFd); 1619 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 1657 return emptyBuffer_l(header, flags, timestamp, (intptr_t)buffer, fenceFd); 1728 OMX_BUFFERHEADERTYPE *header, OMX_U32 flags, OMX_TICKS timestamp, 1731 header->nTimeStamp = timestamp; 1770 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 1785 int64_t codecTimeUs = getCodecTimestamp(timestamp); 1590 emptyBuffer( buffer_id buffer, const OMXBuffer &omxBuffer, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1616 emptyBuffer_l( IOMX::buffer_id buffer, OMX_U32 rangeOffset, OMX_U32 rangeLength, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1727 emptyBuffer_l( OMX_BUFFERHEADERTYPE *header, OMX_U32 flags, OMX_TICKS timestamp, intptr_t debugAddr, int fenceFd) argument 1768 emptyGraphicBuffer_l( IOMX::buffer_id buffer, const sp<GraphicBuffer> &graphicBuffer, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1809 getCodecTimestamp(OMX_TICKS timestamp) argument 1840 emptyNativeHandleBuffer_l( IOMX::buffer_id buffer, const sp<NativeHandle> &nativeHandle, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 1871 OMX_TICKS ×tamp = msg.u.extended_buffer_data.timestamp; local [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 35 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) : 37 mTimestamp(timestamp), mWidth(width), mHeight(height), mNumPlanes(numPlanes) { 160 AImage::getTimestamp(int64_t* timestamp) const { 161 if (timestamp == nullptr) { 164 *timestamp = -1; 169 *timestamp = mTimestamp; 34 AImage(AImageReader* reader, int32_t format, uint64_t usage, BufferItem* buffer, int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) argument
|
/frameworks/av/services/audioflinger/ |
H A D | AudioStreamOut.cpp | 91 status_t AudioStreamOut::getPresentationPosition(uint64_t *frames, struct timespec *timestamp) argument 98 status_t status = stream->getPresentationPosition(&halPosition, timestamp);
|
H A D | FastMixer.cpp | 66 // timestamp 358 // Also, timestamp may not go to very last frame on stop(). 471 ExtendedTimestamp timestamp; // local local 472 status_t status = mOutputSink->getTimestamp(timestamp); 475 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; 480 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; 482 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; 493 // fetch server time if we can't get timestamp 497 // if we never get a new valid timestamp
|
H A D | Threads.cpp | 2939 int64_t lastFramesWritten = -1; // track changes in timestamp server frames written 2997 // this to convert the sink timestamp to the track timestamp. 3001 // We always fetch the timestamp here because often the downstream 3003 ExtendedTimestamp timestamp; // use private copy to fetch local 3004 (void) mNormalSink->getTimestamp(timestamp); 3021 if (timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { 3029 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] 3032 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; 3043 // Either the kernel timestamp mus 3423 getTimestamp_l(AudioTimestamp& timestamp) argument [all...] |
H A D | Tracks.cpp | 342 status_t AudioFlinger::TrackHandle::getTimestamp(AudioTimestamp& timestamp) argument 344 return mTrack->getTimestamp(timestamp); 648 void AudioFlinger::PlaybackThread::Track::onTimestamp(const ExtendedTimestamp ×tamp) argument 652 mAudioTrackServerProxy->setTimestamp(timestamp); 654 // We do not set drained here, as FastTrack timestamp may not go to very last frame. 967 status_t AudioFlinger::PlaybackThread::Track::getTimestamp(AudioTimestamp& timestamp) argument 979 return playbackThread->getTimestamp_l(timestamp); 1046 // This assists in proper timestamp computation as well as wakelock management. 1747 uint32_t halSampleRate, const ExtendedTimestamp ×tamp) 1749 ExtendedTimestamp local = timestamp; 1745 updateTrackFrameInfo( int64_t trackFramesReleased, int64_t sourceFramesRead, uint32_t halSampleRate, const ExtendedTimestamp ×tamp) argument [all...] |
/frameworks/av/services/camera/libcameraservice/api1/ |
H A D | Camera2Client.cpp | 190 result.appendFormat(" GPS timestamp: %" PRId64 "\n", 1883 nsecs_t timestamp) { 1885 (void)timestamp; 1888 __FUNCTION__, resultExtras.requestId, timestamp); 1889 mCaptureSequencer->notifyShutter(resultExtras, timestamp); 1891 Camera2ClientBase::notifyShutter(resultExtras, timestamp); 1882 notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) argument
|
H A D | CameraClient.cpp | 885 void CameraClient::dataCallbackTimestamp(nsecs_t timestamp, argument 895 ALOGE("Null data returned in data with timestamp callback"); 900 client->handleGenericDataTimestamp(timestamp, msgType, dataPtr); 939 timestamps.push_back(msg.timestamp); 1071 void CameraClient::handleGenericDataTimestamp(nsecs_t timestamp, argument 1093 c->recordingFrameHandleCallbackTimestamp(timestamp, handle); 1095 c->dataCallbackTimestamp(timestamp, msgType, dataPtr);
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | CaptureSequencer.cpp | 112 nsecs_t timestamp) { 114 (void) timestamp; 134 void CaptureSequencer::onCaptureAvailable(nsecs_t timestamp, argument 139 mCaptureTimestamp = timestamp; 656 ALOGE("No timestamp field in capture frame!"); 111 notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) argument
|
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/api2/ |
H A D | CameraDeviceClient.cpp | 1374 nsecs_t timestamp) { 1378 remoteCb->onCaptureStarted(resultExtras, timestamp); 1380 Camera2ClientBase::notifyShutter(resultExtras, timestamp); 1373 notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) argument
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | Camera2ClientBase.cpp | 260 nsecs_t timestamp) { 262 (void)timestamp; 271 __FUNCTION__, resultExtras.requestId, timestamp); 259 notifyShutter(const CaptureResultExtras& resultExtras, nsecs_t timestamp) argument
|
/frameworks/av/services/camera/libcameraservice/device1/ |
H A D | CameraHardwareInterface.cpp | 142 uint32_t bufferIndex, int64_t timestamp) { 147 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); 153 uint32_t bufferIndex, int64_t timestamp) { 162 sDataCbTimestamp(timestamp, (int32_t) msgType, mHidlMemPoolMap.at(data), bufferIndex, this); 189 msgs.push_back({hidl_msg.timestamp, mem->mBuffers[hidl_msg.bufferIndex]}); 418 CameraHardwareInterface::setTimestamp(int64_t timestamp) { argument 425 int rc = native_window_set_buffers_timestamp(a, timestamp); 828 void CameraHardwareInterface::sDataCbTimestamp(nsecs_t timestamp, int32_t msg_type, argument 844 object->mDataCbTimestamp(timestamp, msg_type, mem->mBuffers[index], object->mCbUser); 998 int64_t timestamp) { 140 dataCallbackTimestamp( DataCallbackMsg msgType, uint32_t data, uint32_t bufferIndex, int64_t timestamp) argument 151 handleCallbackTimestamp( DataCallbackMsg msgType, const hidl_handle& frameData, uint32_t data, uint32_t bufferIndex, int64_t timestamp) argument 997 sSetTimestamp(struct preview_stream_ops *w, int64_t timestamp) argument [all...] |
H A D | CameraHardwareInterface.h | 45 typedef void (*data_callback_timestamp)(nsecs_t timestamp, 51 nsecs_t timestamp; member in struct:android::HandleTimestampMessage 314 static void sDataCbTimestamp(nsecs_t timestamp, int32_t msg_type, 395 int64_t timestamp); 426 uint32_t data, uint32_t bufferIndex, int64_t timestamp) override; 430 uint32_t bufferIndex, int64_t timestamp) override; 458 setTimestamp(int64_t timestamp) override;
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 1011 m.message.shutter.timestamp = msg.msg.shutter.timestamp; 2337 nsecs_t timestamp) { 2341 status_t res = stream->returnBuffer(outputBuffers[i], timestamp); 2379 // Sanity check - if sensor timestamp matches shutter timestamp in the 2383 SET_ERR("sensor timestamp (%" PRId64 2384 ") for frame %d doesn't match shutter timestamp (%" PRId64 ")", 2495 // Check that there's a timestamp in the result metadata 2496 camera_metadata_entry timestamp local 2335 returnOutputBuffers( const camera3_stream_buffer_t *outputBuffers, size_t numBuffers, nsecs_t timestamp) argument 2860 monitorMetadata(TagMonitor::eventSource source, int64_t frameNumber, nsecs_t timestamp, const CameraMetadata& metadata) argument [all...] |
H A D | Camera3IOStreamBase.cpp | 83 lines.appendFormat(" Frames produced: %d, last timestamp: %" PRId64 " ns\n", 219 nsecs_t timestamp, 236 res = returnBufferCheckedLocked(buffer, timestamp, output, 269 mLastTimestamp = timestamp; 217 returnAnyBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output) argument
|
H A D | Camera3InputStream.cpp | 96 nsecs_t timestamp, 101 (void)timestamp; 166 return returnAnyBufferLocked(buffer, /*timestamp*/0, /*output*/false); 94 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
|
H A D | Camera3OutputStream.cpp | 185 nsecs_t timestamp) { 188 status_t res = returnAnyBufferLocked(buffer, timestamp, /*output*/true); 194 mLastTimestamp = timestamp; 202 nsecs_t timestamp, 256 * MONOTONIC time, causing time misalignment if camera timestamp is 259 mUseMonoTimestamp ? timestamp - mTimestampOffset : timestamp); 261 ALOGE("%s: Stream %d: Error setting timestamp: %s (%d)", 183 returnBufferLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp) argument 200 returnBufferCheckedLocked( const camera3_stream_buffer &buffer, nsecs_t timestamp, bool output, sp<Fence> *releaseFenceOut) argument
|
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/av/services/camera/libcameraservice/utils/ |
H A D | TagMonitor.cpp | 102 void TagMonitor::monitorMetadata(eventSource source, int64_t frameNumber, nsecs_t timestamp, argument 108 if (timestamp == 0) { 109 timestamp = systemTime(SYSTEM_TIME_BOOTTIME); 154 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); 166 mMonitoringEvents.emplace(source, frameNumber, timestamp, entry); 191 event.frameNumber, event.timestamp, 295 TagMonitor::MonitorEvent::MonitorEvent(eventSource src, uint32_t frameNumber, nsecs_t timestamp, argument 299 timestamp(timestamp),
|
H A D | TagMonitor.h | 61 nsecs_t timestamp, const CameraMetadata& metadata); 83 * Stores a new metadata field value and the timestamp at which it changed. 88 MonitorEvent(eventSource src, uint32_t frameNumber, nsecs_t timestamp, 94 nsecs_t timestamp; member in struct:android::TagMonitor::MonitorEvent
|