Method and apparatus for estimating frame rate for data rate control
First Claim
Patent Images
1. A method for managing data in a video sequence, comprising:
- estimating a frame rate of the video sequence using time stamps of instructions received from an application program interface, the time stamps being real-time representations of when the instructions are received from the application program interface; and
allocating a number of bits for encoding frames in the video sequence based on a data rate and the frame rate.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for managing data in a video sequence includes estimating a frame rate of the video sequence using time stamps of instructions received from an application program interface. A number of bits is allocated for encoding frames in the video sequence according to a data rate and the frame rate.
20 Citations
22 Claims
-
1. A method for managing data in a video sequence, comprising:
-
estimating a frame rate of the video sequence using time stamps of instructions received from an application program interface, the time stamps being real-time representations of when the instructions are received from the application program interface; and allocating a number of bits for encoding frames in the video sequence based on a data rate and the frame rate. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-readable medium having stored thereon sequences of instructions, the sequences of instructions including instructions which, when executed by a processor, causes the processor to perform:
-
estimating a frame rate of a video sequence using time stamps of instructions received from an application program interface, the time stamps being real-time representations of when the instructions are received from the application program interface; and allocating a number of bits for encoding frames in the video sequence based on a data rate and the frame rate. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A video encoder, comprising:
-
a coding manager that calculates a bit allocation number to encode frames in a video sequence using time stamps of instructions received from an application program interface, the time stamps being real-time representations of when the instructions are received from the application program interface; and a video coding unit coupled to the coding manager that encodes the frames in the video sequence based on the bit allocation number. - View Dependent Claims (12, 13, 14)
-
-
15. A computer system, comprising:
-
a bus; a processor coupled to the bus; and a video encoder that includes a coding manager that calculates a bit allocation number to encode frames in a video sequence using time stamps of instructions received from an application program interface and a video coding unit coupled to the coding manager that encodes the frames in the video sequence according to the bit allocation number, and wherein the time stamps being real-time representations of when the instructions are received from the application program interface. - View Dependent Claims (16, 17, 18)
-
-
19. A method for managing data in a video sequence, comprising:
-
estimating a frame rate of the video sequence using time stamps of instructions received from an application program interface, and wherein estimating the frame rate of the video sequence including; determining when a first function call is made to compress data corresponding to a first frame in the video sequence from the application program interface, recording a time when the first function call was made; determining when a second function call is made to compress data corresponding to a second frame in the video sequence from the application program interface, recording a time when the second function call was made, and dividing a number of frames that have been called to be compressed after the first frame by a time elapsed between when the first function call and the second function call were made; and allocating a number of bits for encoding frames in the video sequence based on a data rate and the frame rate.
-
-
20. A computer-readable medium having stored thereon sequences of instructions, the sequences of instructions including instructions which, when executed by a processor, causes the processor to perform:
-
estimating a frame rate of a video sequence using time stamps of instructions received from an application program interface, and wherein estimating the frame rate of the video sequence including; determining when a first function call is made to compress data corresponding to a first frame in the video sequence from the application program interface, recording a time when the first function call was made, determining when a second function call is made to compress data corresponding to a second frame in the video sequence from the application program interface, recording a time when the second function call was made, and dividing a number of frames that have been called to be compressed after the first frame a time elapsed between when the first function call and the second function call were made; and allocating a number of bits for encoding frames in the video sequence based on a data rate and the frame rate.
-
-
21. A video encoder, comprising:
-
a coding manager that calculates a bit allocation number to encode frames in a video sequence using of instructions received from an application program interface, the coding manager including; a data rate storage unit that stores a data rate value which the video sequence is to be transmitted, a frame rate estimating unit that estimates a frame rate of the video sequence, the frame estimating unit including; a time stamp unit that records a first time when a first function call is made to compress data corresponding a first frame in the video sequence from the application program interface and a second time when a second function call is made to compress data corresponding to a second frame in the video sequence from the application program interface, a frame counter that records a number of frames that have been called to be compressed after the first frame, and a frame rate estimator coupled to the time stamp unit and the frame counter that estimates the frame rate by dividing the number of frames that have been called to be compressed after the first frame by a time elapsed between when the first function call and the second function call were made with, and a bit allocation unit coupled to the data rate storage unit and the frame rate estimation unit that calculates the bit allocation number based on the data rate value and the frame rate; and a video coding unit coupled to the coding manager that encodes the frames in the video sequence based on the bit allocation number.
-
-
22. A computer system, comprising:
-
a bus; a processor coupled to the bus; and a video encoder that includes a coding manager that calculates a bit allocation number to encode frames in a video sequence using of instructions received from an application program interface and a video coding unit coupled to the coding manager that encodes the frames in the video sequence based on the bit allocation number, the coding manager including; a data rate storage unit that stores a data rate value which the video sequence is to be transmitted, a frame rate estimating unit that estimates a frame rate of the video sequence, the frame rate estimating unit including; a time stamp unit that records a first time when a first function call is made to compress data corresponding a first frame in the video sequence from the application program interface and a second time when a second function call is made to compress data corresponding to a second frame in the video sequence from the application program interface, a frame counter that records a number of frames that have been called to be compressed after the first frame, and a frame rate estimator, coupled to the time stamp unit and the frame counter, that estimates the frame rate by dividing the number of frames that have been called to be compressed after the first frame by a time elapsed between when the first function call and the second function call were made, and a bit allocation unit coupled to the data rate storage unit and the frame rate estimation unit that calculates the bit allocation number based on the data rate value and the frame rate.
-
Specification