US20050024486A1 - Video codec system with real-time complexity adaptation - Google Patents

Video codec system with real-time complexity adaptation Download PDF

Info

Publication number
US20050024486A1
US20050024486A1 US10/631,155 US63115503A US2005024486A1 US 20050024486 A1 US20050024486 A1 US 20050024486A1 US 63115503 A US63115503 A US 63115503A US 2005024486 A1 US2005024486 A1 US 2005024486A1
Authority
US
United States
Prior art keywords
algorithm
setting
weighted average
target range
instructions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/631,155
Inventor
Viresh Ratnakar
William Chen
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to US10/631,155 priority Critical patent/US20050024486A1/en
Assigned to EPSON RESEARCH AND DEVELOPMENT, INC. reassignment EPSON RESEARCH AND DEVELOPMENT, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: RATNAKAR, VIRESH
Assigned to EPSON RESEARCH AND DEVELOPMENT, INC. reassignment EPSON RESEARCH AND DEVELOPMENT, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CHEN, WILLIAM
Assigned to SEIKO EPSON CORPORATION reassignment SEIKO EPSON CORPORATION ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: EPSON RESEARCH AND DEVELOPMENT, INC.
Priority to US10/783,696 priority patent/US20050024487A1/en
Priority to EP04015638A priority patent/EP1503595A3/en
Priority to JP2004222985A priority patent/JP2005057760A/en
Publication of US20050024486A1 publication Critical patent/US20050024486A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/57Motion estimation characterised by a search window with variable size or shape
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/103Selection of coding mode or of prediction mode
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/12Selection from among a plurality of transforms or standards, e.g. selection between discrete cosine transform [DCT] and sub-band transform or selection between H.263 and H.264
    • H04N19/122Selection of transform size, e.g. 8x8 or 2x4x8 DCT; Selection of sub-band transforms of varying structure or type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/102Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
    • H04N19/132Sampling, masking or truncation of coding units, e.g. adaptive resampling, frame skipping, frame interpolation or high-frequency transform coefficient masking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/156Availability of hardware or computational resources, e.g. encoding based on power-saving criteria
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/17Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
    • H04N19/172Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/169Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
    • H04N19/186Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being a colour or a chrominance component
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/50Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
    • H04N19/503Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
    • H04N19/51Motion estimation or motion compensation
    • H04N19/523Motion estimation or motion compensation with sub-pixel accuracy

Abstract

An encoder/decoder (codec) is configured to cause the coding/decoding algorithms used by the codec to dynamically adapt according to the available computational resources in response to actual complexity measurements performed at run-time. In a system in which multiple video codecs have to operate simultaneously in real-time, sharing the system's available resources, this invention provides a way to increase the number of simultaneous codecs that can co-exist. The principles of the invention are also applicable to an individual encoder and an individual decoder.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention
  • The present invention relates to video encoding and decoding. More particularly, the invention pertains to a codec (encoder/decoder), an encoder, and a decoder in which the algorithm(s) adapt to available computational resources in response to complexity measurement performed at run-time. The invention further relates to a method for controlling the manner in which the algorithm(s) so adapt and a program in which the method can be embodied.
  • 2. Description of the Related Art
  • As a tool for providing real-time transmission of video and sound between two or more sites, video conferencing is widely used in modern business world, and is becoming more popular in other aspects of life as well. Such transmission may be accompanied by the transmission of graphics and other data, depending on the environment in which the system is employed. Most video conferences involve two-way, interactive exchanges, although one-way broadcasts are sometimes used in educational settings. The overall quality of a video conference depends on a number of factors, including the quality of the data capture and display devices, the amount of bandwidth used, and the quality and capabilities of the video conferencing system's basic component: the codec (coder/decoder).
  • The codec includes the algorithms used to compress and decompress the video/image and sound data so that such data is easier for the processors to manage. Codecs define the video settings such as frame rate and size and the audio settings such as bits of quality. Most codecs only have rate-control. That is, such systems can adapt to available bandwidth. However, for a system (such as a video conferencing server) with multiple codecs using up shared computational resources, it is very important to be able to adaptively modify the complexity of the codecs. Some codecs have parameters for specifying the complexity, but do not have complexity parameters grouped into algorithm settings. Moreover, conventional codecs do not measure run-time complexity and change algorithm settings automatically in response to them.
  • OBJECTS AND SUMMARY OF THE INVENTION OBJECTS OF THE INVENTION
  • It is therefore an object of the present invention to overcome these shortcomings.
  • It is another object of this invention to provide a codec (encoder/decoder) that is configured such that, during operation, one or more of its algorithms change operating setting according to available computational resources in response to, actual complexity measurements performed at run-time.
  • It is further object of this invention to- provide a system in which multiple video codecs (encoder/decoder) have to operate simultaneously in real-time, sharing the system's available resources, this invention provides a way to increase the number of simultaneous codecs that can co-exist.
  • SUMMARY OF THE INVENTION
  • According to one aspect of the invention, a codec (encoder/decoder) with real-time complexity adaptation is provided. Such a codec comprises both an encoder and a decoder. The encoder includes a first plurality of variable parameters that are used to specify different settings at which a coding algorithm applied to incoming video data operates. Similarly, the decoder includes a second plurality of variable parameters that are used to specify different settings at which a decoding algorithm applied to outgoing video data operates. In accordance with this aspect of the invention, the codec is configured such that, during operation, at least one of the coding algorithm and decoding algorithm is able to dynamically change its operating setting according to available computational resources in response to actual complexity measurements performed at run-time.
  • Preferably, the first plurality of variable parameters that are used to specify the different settings at which the coding algorithm operates include motion-search window, motion-search algorithm, motion-search sum-of-absolute-differences measurement sub-sampling factor, and motion-search half-pel refinement none/x-only/x-and-y.
  • Preferably, the second plurality of variable parameters that are used to specify the different settings at which the decoding algorithm operates include IDCT, chroma-skipping, and frame-display skipping.
  • In accordance with another aspect of the invention, a video conferencing system comprises a plurality of codecs configured to share the system's resources. Each codec comprises an encoder that includes an associated set of parameters that are used to define different settings at which an associated coding algorithm applied to incoming video data operates, and a decoder that includes an associated set of parameters that are used to define different settings at which an associated decoding algorithm applied to outgoing video data operates. In accordance with this aspect of the invention, each of the codecs is configured such that its algorithms in use dynamically adapt their operating settings during operation according to available computational resources in response to actual complexity measurements performed at run-time.
  • According to a further aspect of the invention, a device for processing a video stream is provided. The device may be an encoder or decoder. In any case, such device includes a plurality of variable parameters that are used to specify different settings at which an algorithm applied to the video stream operates. In accordance with this aspect of the invention, the device is configured such that, during operation, the algorithm is able to dynamically change its operating setting according to available computational resources in response to actual complexity measurements performed at run-time.
  • If the device comprises an encoder, preferably the algorithm comprises a coding algorithm. Also, the plurality of variable parameters that are used to specify the different settings at which the coding algorithm operates include motion-search window, motion-search algorithm, motion-search sum-of-absolute-differences measurement sub-sampling factor, and motion-search half-pel refinement none/x-only/x-and-y.
  • If the device comprises a decoder, preferably the algorithm comprises a decoding algorithm. Also, the plurality of variable parameters that are used to specify the different settings at which the decoding algorithm operates include IDCT, chroma-skipping, and frame-display skipping.
  • In another aspect, the invention involves a method for processing a video stream, comprising the steps of: measuring the real-time used by an algorithm for a previous frame; averaging the measured real-time used for the previous frame with a previously measured real-time for the algorithm to obtain a weighted average time value; comparing the weighted average time value with a target range; and controlling a setting of the algorithm. The controlling step is accomplished by downgrading the algorithm setting, if the weighted average time value is greater than an upper bound of the target range, and upgrading the algorithm setting, if the weighted average time value is less than a lower bound of the target range and has been so over a predetermined number of frames.
  • Preferably, the controlling a setting of the algorithm further comprises periodically upgrading the algorithm setting, if the weighted average time value is between the lower bound of the target range and a target value within the target range. More preferably, the step of upgrading the algorithm periodically is also carried out, if the weighted average time value is less than the lower bound of the target range but has not been so for at least the predetermined number of frames.
  • In accordance with further aspects of the invention, the above-described method or any of the steps thereof may be embodied in a program of instructions (e.g., software) which may be stored on, or conveyed to, a computer or other processor-controlled device for execution. Alternatively, the method or any of the steps thereof may be implemented using functionally equivalent hardware (e.g., ASIC, digital signal processing circuitry, etc.) or a combination of software and hardware.
  • Other objects and attainments together with a fuller understanding of the invention will become apparent and appreciated by referring to the following description and claims taken in conjunction with the accompanying drawings.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1 is a block diagram of an exemplary video conferencing system in which a codec (encoder/decoder) is installed at each site.
  • FIG. 2 is a block diagram of an encoder configured in accordance with aspects of the invention.
  • FIG. 3 is a block diagram of a decoder configured in accordance with aspects of the invention.
  • FIG. 4 is a flow diagram describing the manner in which the algorithm(s) of the codec, encoder and/or decoder adapt (i.e., change setting) in response to actual complexity measurements performed at run-time.
  • DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • The invention enables an encoder, decoder, and/or encoder/decoder (codec) to dynamically adapt its algorithms according to the available computational resources. Moreover, the adaptation is done in response to actual measurements performed at run-time, rather than off-line line tables for various platforms. More specifically, such device is configured to automatically changing its operating setting according to available computational resources in response to actual complexity measurements performed at run-time. In a system in which multiple codecs are operating simultaneously in real-time, sharing the system's available resources, the invention advantageously provides a way to increase the number of such simultaneous codecs that can co-exist.
  • The data flow of an exemplary video conferencing system 11 is shown schematically in FIG. 1. The illustrated system includes only two sites, but that is by way of example only. The system may include additional sites, subject to the system's available resources. A codec 12 a/12 b is installed at each videoconferencing site, along with other devices that enable the participant at that site to see and communicate with the other participants. Such other devices (not shown) typically include camera(s), microphone(s), monitor(s), and speaker(s). The codecs 12 a/12 b are in communication with one another through a network 13.
  • The codec 12 digitizes and compresses video and audio signals, as well as any other data to be transmitted, multiplexes those signals, and delivers the combined signal (e.g., a baseband digital signal) to the network 13 for transmission to other codecs 12 in the system 11. Each codec 12 is also configured to accept a similarly encoded signal from the network 13, demultiplex the received signal, decompress the video, audio and any other data, and provide analog video and audio outputs and an output for any other received data. Thus, each codec 12 performs the functions of both an encoder and a decoder.
  • Referring now to FIG. 2, an encoder 21 is shown. The encoder 21 may be part of a codec such as that shown in FIG. 1, or it may be a stand alone module. In any case, the encoder 21 includes parameters 22 which are used to specify different settings at which the encoder's coding (e.g., compression) algorithm operates. In accordance with aspects of the invention, each encoder 21 is implemented so as to be operable at algorithm settings 1 to E (with E being a small number such as 10). The various intermediate algorithm settings are obtained by varying one or more parameters including:
      • 1. Motion-search window width and height,
      • 2. Motion-search algorithm,
      • 3. Motion-search SAD (sum-of-absolute-differences) measurement sub-sampling factor, and
      • 4. Motion-search half-pel refinement none/x-only/x-and-y.
  • During an off-line design phase, the particular parameter choices corresponding to each of the E algorithm settings are determined by performing measurements on a large set of representative video streams and identifying the upper envelope of the quality (PSNR) vs. complexity (running-time) curve and choosing E roughly equi-spaced (along the complexity axis) points. Thus, after this off-line design phase, the E algorithm settings are selected to provide a smooth transition across the operating range of the encoder 21, and each algorithm setting 1 to E is correlated with a particular group of parameter settings from which that algorithm setting is obtained, as is schematically shown by table 23 in encoder 21.
  • A decoder 31, which is similarly implemented, is shown in FIG. 3. Each decoder 31 is implemented so as to be operable at decoding (e.g., decompression) algorithm settings 1 to D (with D being a small number such as 5). For the decoder 31, variable parameters 32 which are used to specify different settings at which the decoder's decoding (e.g., decompression) algorithm operates include:
      • 1. Inverse Discrete Cosine Transform (IDCT): very approximate, approximate or actual,
      • 2. Chroma-skipping (off or on), and
      • 3. Frame-display skipping (some k% of frames).
  • Again, the parameter choices for D different settings are determined off-line. The different algorithm settings are selected to provide a smooth transition across the operating range of the decoder 31, and each algorithm setting 1 to D is correlated with a particular group of parameter settings from which that algorithm setting is obtained, as is schematically shown by table 33 in decoder 31.
  • The manner in which each codec dynamically adjusts its algorithm settings is described next with reference to the flow diagram of FIG. 4. At run-time, each encoder and each decoder measures the time (real-time) used for the last frame (step 401). This time is averaged with the previous measured time value for the current algorithm setting (step 402); thus, the value that gets used (Tavg) is the weighted average over the entire history for that algorithm setting, with the most recent measurement carrying a weight of 0.5, the one before that of 0.25, and so on. This time value Tavg is then compared with a target time value T. The target time value T is either specified by the system (based upon the total number of concurrent video streams and other load), or is heuristically set to be half the value determined by the stream's frames-per-second speed. If the measured value Tavg is greater than the target value T plus a tolerance t+ (the additive sum represented by Ttol+), then the algorithm setting is downgraded by 1. If the measured value Tavg is less than the target value T then typically no change is made, with the following exceptions: (a) if the measured value Tavg is lower than some extra tolerance t− below the target value, the lower boundary represented by Ttol−, and is consistently so over a certain number of frames, then the algorithm is upgraded by 1; and (b) periodically, the algorithm setting is upgraded by 1 to test the waters, as it were, to check if possibly the computational load on the system has come down and a higher setting is possible. Tolerance values t+ and t− may be a certain percentage of the target T. A typical choice would be a small tolerance on the high side, say 2% above T, and a moderate tolerance on the low end, say 10% below T. Such a setting is conservative in the sense that the algorithm is not upgraded aggressively, but is downgraded almost as soon as the running time overshoots the target.
  • Thus, one way in which such control can be realized is described below. Continuing with the flow diagram of FIG. 4, in step 403, it is determined if Tavg>Ttol+. If so, then the algorithm setting is downgraded by 1 in step 404. If not, it is next determined in step 405 if Tavg<T. If so, it is then determined in step 406 whether Tavg<Ttol− and has been so consistently over a predetermined number of frames n, where n is typically in the range of about 5 to about 100, bearing in mind that smaller values make the system more sensitive to change. If the decision in step 406 is “yes,” the algorithm setting is upgraded by 1 in step 407. If the decision in step 406 is “no,” which means that Tavg is either between Ttol− and T, or is less than Ttol− but has not been consistently so over n frames, then it is determined in step 408 if a periodic upgrade of the algorithm setting is in order. If so, the algorithm setting is upgraded by 1 in step 409. If not, the algorithm setting remains unchanged in step 410. The algorithm setting also remains unchanged if Tavg is between T and Ttol+ (step 405 returns “no”). After the algorithm setting is either downgraded (step 404), upgraded (step 407 or 409), or left unchanged (step 410), the control process loops back to step 401 where another real-time measurement is made. The process continues during run-time until there are no more frames to consider.
  • As will be readily apparent from the foregoing description, the codec, as well as the individual encoder and decoder, of this invention provide a number of advantages over the prior art. The codec of the present invention offers much more than just rate-control, i.e., the ability to adapt to available bandwidth. The codec of this invention is also advantageously configured to adaptively modify its complexity, which is a very important feature for codecs in a system (such as a video conferencing server) with multiple codecs using up shared computational resources. Moreover, the codec of the present invention not only has parameters for specifying the complexity, but also has such complexity parameters grouped into algorithm settings which automatically change in response to actual measured run-time complexity as described above. Actual measurements at run-time do away with inaccurate estimates based upon cycle-counts that fail to take into account real-time variations in systems owing to varying load, multithreading, IO, number of clients, etc.
  • The functions of the codec, encoder and decoder of this invention may conveniently implemented in software. An equivalent hardware implementation may be obtained using application specific integrated circuits ASICs, digital signal processing circuitry, or the like.
  • With these implementation alternatives in mind, it is to be understood that the figures and accompanying description provide the functional information one skilled in the art would require to write program code (i.e., software) or to fabricate circuits (i.e., hardware) to perform the processing required. Accordingly, the claim language “machine-readable medium” further includes hardware having a program of instructions hardwired thereon.
  • While the invention has been described in conjunction with several specific embodiments, many further alternatives, modifications, variations and applications will be apparent to those skilled in the art that in light of the foregoing description. Thus, the invention described herein is intended to embrace all such alternatives, modifications, variations and applications as may fall within the spirit and scope of the appended claims.

Claims (15)

1. A codec, comprising:
an encoder that includes a first plurality of variable parameters that are used to specify different settings at which a coding algorithm applied to incoming video data operates; and
a decoder that includes a second plurality of variable parameters that are used to specify different settings at which a decoding algorithm applied to outgoing video data operates;
wherein the codec is configured such that, during operation, at least one of the coding algorithm and decoding algorithm is able to dynamically change its operating setting according to available computational resources in response to actual complexity measurements performed at run-time.
2. A codec as recited in claim 1, wherein the first plurality of variable parameters that are used to specify the different settings at which the coding algorithm operates include
motion-search window,
motion-search algorithm,
motion-search sum-of-absolute-differences measurement sub-sampling factor, and
motion-search half-pel refinement none/x-only/x-and-y.
3. A codec as recited in claim 1, wherein the second plurality of variable parameters that are used to specify the different settings at which the decoding algorithm operates include
IDCT,
chroma-skipping, and
frame-display skipping.
4. A video conferencing system, comprising:
a plurality of codecs configured to share the system's resources, each codec comprising
an encoder that includes an associated set of parameters that are used to define different settings at which an associated coding algorithm applied to incoming video data operates, and
a decoder that includes an associated set of parameters that are used to define different settings at which an associated decoding algorithm applied to outgoing video data operates;
wherein each of the codecs is configured such that its algorithms in use dynamically adapt their operating settings during operation according to available computational resources in response to actual complexity measurements performed at run-time.
5. A device for processing a video stream, comprising:
a plurality of variable parameters that are used to specify different settings at which an algorithm applied to the video stream operates;
wherein the device is configured such that, during operation, the algorithm is able to dynamically change its operating setting according to available computational resources in response to actual complexity measurements performed at run-time.
6. A device as recited in claim 5, wherein the device comprises an encoder, and the algorithm comprises a coding algorithm.
7. A device as recited in claim 6, wherein the plurality of variable parameters that are used to specify the different settings at which the coding algorithm operates include
motion-search window,
motion-search algorithm,
motion-search sum-of-absolute-differences measurement sub-sampling factor, and
motion-search half-pel refinement none/x-only/x-and-y.
8. A device as recited in claim 5, wherein the device comprises a decoder, and the algorithm comprises a decoding algorithm.
9. A device as recited in claim 8, wherein the plurality of variable parameters that are used to specify the different settings at which the decoding algorithm operates include
IDCT,
chroma-skipping, and
frame-display skipping.
10. A method for processing a video stream, comprising the steps of:
measuring the real-time used by an algorithm for a previous frame;
averaging the measured real-time used for the previous frame with a previously measured real-time for the algorithm to obtain a weighted average time value;
comparing the weighted average time value with a target range; and
controlling a setting of the algorithm by:
downgrading the algorithm setting, if the weighted average time value is greater than an upper bound of the target range, and
upgrading the algorithm setting, if the weighted average time value is less than a lower bound of the target range and has been so over a predetermined number of frames.
11. A method as recited in claim 10, wherein the controlling a setting of the algorithm further comprises:
periodically upgrading the algorithm setting, if the weighted average time value is between the lower bound of the target range and a target value within the target range.
12. A method as recited in claim 11, wherein the step of upgrading the algorithm periodically is also carried out, if the weighted average time value is less- than the lower bound of the target range but has not been so for, at least the predetermined number of frames.
13. A machine-readable medium embodying a program of instructions for directing a device to process a video stream, the program of instructions comprising:
instructions for measuring the real-time used by an algorithm for a previous frame;
instructions for averaging the measured real-time used for the previous frame with a previously measured real-time for the algorithm to obtain a weighted average time value;
instructions for comparing the weighted average time value with a target range; and
instructions for controlling a setting of the algorithm including:
instructions for downgrading the algorithm setting, if the weighted average time value is greater than an upper bound of the target range, and
instructions for upgrading the algorithm setting, if the weighted average time value is less than a lower bound of the target range and has been so over a predetermined number of frames.
14. A machine-readable medium as recited in claim 13, wherein the instructions for controlling a setting of the algorithm further comprises:
instructions for periodically upgrading the algorithm setting, if the weighted average time value is between the lower bound of the target range and a target value within the target range.
15. A machine-readable medium as recited in claim 14, wherein the instructions for upgrading the algorithm periodically is also executed, if the weighted average time value is less than the lower bound of the target range but has not been so for at least the predetermined number of frames.
US10/631,155 2003-07-31 2003-07-31 Video codec system with real-time complexity adaptation Abandoned US20050024486A1 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
US10/631,155 US20050024486A1 (en) 2003-07-31 2003-07-31 Video codec system with real-time complexity adaptation
US10/783,696 US20050024487A1 (en) 2003-07-31 2004-02-20 Video codec system with real-time complexity adaptation and region-of-interest coding
EP04015638A EP1503595A3 (en) 2003-07-31 2004-07-02 Video codec system with real-time complexity adaptation
JP2004222985A JP2005057760A (en) 2003-07-31 2004-07-30 Video codec system with real-time complexity adaptation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US10/631,155 US20050024486A1 (en) 2003-07-31 2003-07-31 Video codec system with real-time complexity adaptation

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US10/783,696 Continuation-In-Part US20050024487A1 (en) 2003-07-31 2004-02-20 Video codec system with real-time complexity adaptation and region-of-interest coding

Publications (1)

Publication Number Publication Date
US20050024486A1 true US20050024486A1 (en) 2005-02-03

Family

ID=33541510

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/631,155 Abandoned US20050024486A1 (en) 2003-07-31 2003-07-31 Video codec system with real-time complexity adaptation

Country Status (3)

Country Link
US (1) US20050024486A1 (en)
EP (1) EP1503595A3 (en)
JP (1) JP2005057760A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070160127A1 (en) * 2006-01-10 2007-07-12 International Business Machines Corporation Bandwidth adaptive stream selection
US20120170767A1 (en) * 2010-12-29 2012-07-05 Henrik Astrom Processing Audio Data
US20140002625A1 (en) * 2011-03-25 2014-01-02 Olympus Corporation Image processing device
KR101441886B1 (en) * 2008-06-25 2014-09-25 에스케이텔레콤 주식회사 Method and Apparatus for Complexity Measurement of Video Codec

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3802521B2 (en) 2003-09-02 2006-07-26 ソニー株式会社 Encoding apparatus, encoding control method, and encoding control program
US20070074007A1 (en) 2005-09-28 2007-03-29 Arc International (Uk) Limited Parameterizable clip instruction and method of performing a clip operation using the same
US9479794B2 (en) 2005-11-10 2016-10-25 Freescale Semiconductor, Inc. Resource efficient video processing via prediction error computational adjustments
EP1838108A1 (en) * 2006-03-23 2007-09-26 Texas Instruments France Processing video data at a target rate
EP2025159A4 (en) * 2006-05-30 2013-04-10 Google Inc Apparatus, arrangement, method and computer program product for digital video processing
US9883202B2 (en) 2006-10-06 2018-01-30 Nxp Usa, Inc. Scaling video processing complexity based on power savings factor
US8879636B2 (en) 2007-05-25 2014-11-04 Synopsys, Inc. Adaptive video encoding apparatus and methods
US9055301B2 (en) 2008-03-18 2015-06-09 Texas Instruments Incorporated Changing motion estimation precision to maintain encoding within desired time
JP5924211B2 (en) * 2012-09-21 2016-05-25 ソニー株式会社 Image processing apparatus, image processing method, and program
GB2559783A (en) 2017-02-17 2018-08-22 British Broadcasting Corp Image or video encoding and decoding
GB2605795B (en) * 2021-04-13 2023-05-17 British Telecomm Algorithm selection for processor-controlled device

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6178204B1 (en) * 1998-03-30 2001-01-23 Intel Corporation Adaptive control of video encoder's bit allocation based on user-selected region-of-interest indication feedback from video decoder
US20020025001A1 (en) * 2000-05-11 2002-02-28 Ismaeil Ismaeil R. Method and apparatus for video coding
US6356664B1 (en) * 1999-02-24 2002-03-12 International Business Machines Corporation Selective reduction of video data using variable sampling rates based on importance within the image
US20020092030A1 (en) * 2000-05-10 2002-07-11 Qunshan Gu Video coding using multiple buffers
US20020141498A1 (en) * 1998-12-18 2002-10-03 Fernando C. M. Martins Real time bit rate control system
US6490319B1 (en) * 1999-06-22 2002-12-03 Intel Corporation Region of interest video coding
US20020196848A1 (en) * 2001-05-10 2002-12-26 Roman Kendyl A. Separate plane compression
US20020199199A1 (en) * 2001-06-12 2002-12-26 Rodriguez Arturo A. System and method for adaptive video processing with coordinated resource allocation
US20030020803A1 (en) * 2001-07-16 2003-01-30 Yang Chin-Lung Method and apparatus for continuously receiving frames from a plurality of video channels and for alternately continuously transmitting to each of a plurality of participants in a video conference individual frames containing information concerning each of said video channels
US6519662B2 (en) * 1994-09-07 2003-02-11 Rsi Systems, Inc. Peripheral video conferencing system
US20030095598A1 (en) * 2001-11-17 2003-05-22 Lg Electronics Inc. Object-based bit rate control method and system thereof
US20030103678A1 (en) * 2001-11-30 2003-06-05 Chih-Lin Hsuan Method for transforming video data by wavelet transform signal processing
US20030223492A1 (en) * 2002-05-30 2003-12-04 David Drezner Bit rate control through selective modification of DCT coefficients
US6782052B2 (en) * 2001-03-16 2004-08-24 Sharp Laboratories Of America, Inc. Reference frame prediction and block mode prediction for fast motion searching in advanced video coding
US6850564B1 (en) * 1998-06-26 2005-02-01 Sarnoff Corporation Apparatus and method for dynamically controlling the frame rate of video streams

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6519662B2 (en) * 1994-09-07 2003-02-11 Rsi Systems, Inc. Peripheral video conferencing system
US6178204B1 (en) * 1998-03-30 2001-01-23 Intel Corporation Adaptive control of video encoder's bit allocation based on user-selected region-of-interest indication feedback from video decoder
US6850564B1 (en) * 1998-06-26 2005-02-01 Sarnoff Corporation Apparatus and method for dynamically controlling the frame rate of video streams
US20020141498A1 (en) * 1998-12-18 2002-10-03 Fernando C. M. Martins Real time bit rate control system
US6356664B1 (en) * 1999-02-24 2002-03-12 International Business Machines Corporation Selective reduction of video data using variable sampling rates based on importance within the image
US6490319B1 (en) * 1999-06-22 2002-12-03 Intel Corporation Region of interest video coding
US20020092030A1 (en) * 2000-05-10 2002-07-11 Qunshan Gu Video coding using multiple buffers
US20020025001A1 (en) * 2000-05-11 2002-02-28 Ismaeil Ismaeil R. Method and apparatus for video coding
US6782052B2 (en) * 2001-03-16 2004-08-24 Sharp Laboratories Of America, Inc. Reference frame prediction and block mode prediction for fast motion searching in advanced video coding
US20020196848A1 (en) * 2001-05-10 2002-12-26 Roman Kendyl A. Separate plane compression
US20020199199A1 (en) * 2001-06-12 2002-12-26 Rodriguez Arturo A. System and method for adaptive video processing with coordinated resource allocation
US20030020803A1 (en) * 2001-07-16 2003-01-30 Yang Chin-Lung Method and apparatus for continuously receiving frames from a plurality of video channels and for alternately continuously transmitting to each of a plurality of participants in a video conference individual frames containing information concerning each of said video channels
US20030095598A1 (en) * 2001-11-17 2003-05-22 Lg Electronics Inc. Object-based bit rate control method and system thereof
US20030103678A1 (en) * 2001-11-30 2003-06-05 Chih-Lin Hsuan Method for transforming video data by wavelet transform signal processing
US20030223492A1 (en) * 2002-05-30 2003-12-04 David Drezner Bit rate control through selective modification of DCT coefficients

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070160127A1 (en) * 2006-01-10 2007-07-12 International Business Machines Corporation Bandwidth adaptive stream selection
WO2007081397A1 (en) * 2006-01-10 2007-07-19 International Business Machines Corporation Bandwidth adaptive stream selection
US20080225953A1 (en) * 2006-01-10 2008-09-18 Krishna Ratakonda Bandwidth adaptive stream selection
US8345766B2 (en) * 2006-01-10 2013-01-01 International Business Machines Corporation Bandwidth adaptive stream selection
KR101441886B1 (en) * 2008-06-25 2014-09-25 에스케이텔레콤 주식회사 Method and Apparatus for Complexity Measurement of Video Codec
US20120170767A1 (en) * 2010-12-29 2012-07-05 Henrik Astrom Processing Audio Data
US20140002625A1 (en) * 2011-03-25 2014-01-02 Olympus Corporation Image processing device
US9332233B2 (en) * 2011-03-25 2016-05-03 Olympus Corporation Image processing device for processing a plurality of data formats corresponding to different image qualities

Also Published As

Publication number Publication date
EP1503595A3 (en) 2006-05-17
EP1503595A2 (en) 2005-02-02
JP2005057760A (en) 2005-03-03

Similar Documents

Publication Publication Date Title
Afonso et al. Video compression based on spatio-temporal resolution adaptation
US7206016B2 (en) Filtering artifacts from multi-threaded video
US20050024486A1 (en) Video codec system with real-time complexity adaptation
US8908757B2 (en) Multi-channel video communication method and system
US8289371B2 (en) Smart cropping of video images in a videoconferencing session
EP0853436B1 (en) Digital video signal filtering and encoding method and apparatus
US6438165B2 (en) Method and apparatus for advanced encoder system
US9197912B2 (en) Content classification for multimedia processing
US20050024487A1 (en) Video codec system with real-time complexity adaptation and region-of-interest coding
US7136066B2 (en) System and method for scalable portrait video
US20220038747A1 (en) Video processing apparatus and processing method of video stream
US20040233844A1 (en) Bi-level and full-color video combination for video communication
US20120200663A1 (en) Method and Apparatus For Improving The Average Image Refresh Rate in a Compressed Video Bitstream
JP2006134326A (en) Method for controlling transmission of multimedia data from server to client based on client&#39;s display condition, method and module for adapting decoding of multimedia data in client based on client&#39;s display condition, module for controlling transmission of multimedia data from server to client based on client&#39;s display condition and client-server system
US8279259B2 (en) Mimicking human visual system in detecting blockiness artifacts in compressed video streams
US20220256114A1 (en) System and method for automatically adjusting key frame quantization parameter and frame rate
JP7334470B2 (en) VIDEO PROCESSING DEVICE, VIDEO CONFERENCE SYSTEM, VIDEO PROCESSING METHOD, AND PROGRAM
WO2021057478A1 (en) Video encoding and decoding method and related apparatus
WO2021248349A1 (en) Combining high-quality foreground with enhanced low-quality background
Akramullah et al. Video quality metrics
US20150156458A1 (en) Method and system for relative activity factor continuous presence video layout and associated bandwidth optimizations
JP3202270B2 (en) Video encoding device
US20070019742A1 (en) Method of transmitting pre-encoded video
EP1921866A2 (en) Content classification for multimedia processing
JP3173809B2 (en) Television conference system

Legal Events

Date Code Title Description
AS Assignment

Owner name: EPSON RESEARCH AND DEVELOPMENT, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:RATNAKAR, VIRESH;REEL/FRAME:014365/0263

Effective date: 20030730

AS Assignment

Owner name: EPSON RESEARCH AND DEVELOPMENT, INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:CHEN, WILLIAM;REEL/FRAME:014823/0946

Effective date: 20031218

AS Assignment

Owner name: SEIKO EPSON CORPORATION, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:EPSON RESEARCH AND DEVELOPMENT, INC.;REEL/FRAME:014873/0167

Effective date: 20031223

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION