Method and apparatus for a virtual system time clock for digital audio/video processor
First Claim
1. A method of operating a digital audio/video processor comprising a demultiplexer receiving raw audio and video data representing respective audio and images to be displayed and providing demultiplexed audio and video data for storage in a memory and a CPU for decoding the demultiplexed audio and video data from the memory and playing back decoded audio and video data in response to user selections to selectively play back the audio and video data in a standard mode or a trick play mode, the audio and video data including respective audio and video presentation time stamp (“
- PTS”
) values, each audio and video PTS value representing a desired time and sequence of presentation of respective audio and video data, and the video data including video PTS values representing a desired time and sequence of presentation of the video data, the method comprising;
incrementing a first system time clock in real time to provide first time values;
comparing in response to the standard play mode, the first time values of the first system time clock with the audio and video PTS values;
generating in response to the standard play mode, a playback and display of the audio and video data associated with respective audio and video PTS values in response to each of the respective audio and video PTS values being approximately equal to the first time values in the first system time clock; and
incrementing a second system time clock with the CPU in response to the decoded data to provide second time values.
1 Assignment
0 Petitions
Accused Products
Abstract
A digital video processor and operating method for a receiving raw audio and video data representing images and sound to be played. The processor includes a demultiplexer for receiving the raw audio and video data and providing demultiplexed audio and video data to a memory. A first system time clock provides first time values in response to being continuously clocked by the demultiplexer. A CPU decodes and plays back the audio and video data as a function of the audio and video PTS values. The processor further includes a second system time clock providing second time values in response to being periodically incremented by the CPU. The CPU periodically sets the second system time clock to a second time value equal to a current first time value of the first system time clock in response to a standard play mode, and the CPU periodically sets the first system time clock to a first time value equal to a current second time value of the second system time clock in response to a trick play mode.
-
Citations
11 Claims
-
1. A method of operating a digital audio/video processor comprising a demultiplexer receiving raw audio and video data representing respective audio and images to be displayed and providing demultiplexed audio and video data for storage in a memory and a CPU for decoding the demultiplexed audio and video data from the memory and playing back decoded audio and video data in response to user selections to selectively play back the audio and video data in a standard mode or a trick play mode, the audio and video data including respective audio and video presentation time stamp (“
- PTS”
) values, each audio and video PTS value representing a desired time and sequence of presentation of respective audio and video data, and the video data including video PTS values representing a desired time and sequence of presentation of the video data, the method comprising;incrementing a first system time clock in real time to provide first time values;
comparing in response to the standard play mode, the first time values of the first system time clock with the audio and video PTS values;
generating in response to the standard play mode, a playback and display of the audio and video data associated with respective audio and video PTS values in response to each of the respective audio and video PTS values being approximately equal to the first time values in the first system time clock; and
incrementing a second system time clock with the CPU in response to the decoded data to provide second time values. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
comparing in response to the trick play mode, the second time values of the second system time clock with the video PTS values;
generating in response to the trick play mode, a playback and display of video data associated with the respective video PTS values in response to each of the respective video PTS values being approximately equal to the second time values in the second system time clock.
- PTS”
-
5. The method of claim 4 further comprising periodically setting the first system time clock to a first time value equal to a current second time value of the second system time clock in response to the trick play mode.
-
6. The method of claim 1 further comprising:
-
generating in response to the trick play mode, a display of unchanging video; and
halting in response to the trick play mode the incrementing of the second system time clock by the CPU to provide a constant time value in the second system time clock.
-
-
7. The method of claim 6 further comprising:
-
detecting a selection by the user of the standard play mode;
updating the first system time clock with the constant time value from the second system time clock;
comparing in response to the standard play mode, the first time values of the first system time clock with the audio and video PTS values; and
generating in response to the standard play mode, a playback of audio and video data associated with the respective audio and video PTS values in response to each of the respective audio and video PTS values being approximately equal to the first time values in the system time clock.
-
-
8. The method of claim 6 wherein the decoded video data includes a series of frames of video data further comprising:
-
updating the first system time clock with the constant time value from the second system time clock;
advancing the second system time clock by an increment corresponding to a frame of video data to provide a new time value; and
generating a playback and display of a frame of video data associated with the new time value in the second system time clock.
-
-
9. The method of claim 8 further comprising iterating the steps of updating, advancing and generating in response to a continued selection of the trick play mode by the user.
-
10. The method of claim 1 further comprising:
-
detecting in response to the trick play mode a next video PTS value being less than a current video PTS value;
detecting in response to the trick play mode a next audio PTS value being less than a current audio PTS value;
setting in response to the trick play mode the second system time clock to a value equal to the next video PTS value; and
setting in response to the trick play mode the first system time clock to a value equal to the next audio PTS value.
-
-
11. A digital audio/video processor receiving audio and video data representing images to be displayed, selected portions of the audio and video data including respective audio and video presentation time stamp (“
- PTS”
) values, each audio and video PTS value representing a desired time and sequence of presentation of respective audio and video data, the processor being responsive to user selections to selectively play back the video data in a standard play mode and a trick play mode, the processor comprising;a demultiplexer for receiving the raw video data and providing demultiplexed video data;
a memory for storing the demultiplexed video data;
a first system time clock providing first time values in response to being continuously clocked by the demultiplexer;
a CPU for decoding the demultiplexed audio and video data from the memory and playing back decoded audio and video data as a function of the respective audio and video PTS values;
a second system time clock providing second time values in response to being periodically incremented by the CPU in response to the decoded video data, the CPU periodically setting the second system time clock to a second time value equal to a current first time value of the first system time clock in response to the standard play mode, and periodically setting the first system time clock to a first time value equal to a current second time value of the second system time clock in response to the trick play mode.
- PTS”
Specification