Image processing frequency managing method and image processing system
An electronic device comprising an image processing device, comprising: (a) monitoring a reception speed of image data, which is received by the electronic device; and (b) adjusting an image processing frequency of the image processing device according to the reception speed. The step (a) may monitor a queuing speed of an input buffer receiving an image data stream to acquire the reception speed.
1 . An image processing frequency managing method, applied to an electronic device comprising an image processing device, comprising:
(a) monitoring a reception speed of image data, which is received by the electronic device; and
(b) adjusting an image processing frequency of the image processing device according to the reception speed;
wherein the step (a) monitors a queuing speed of an input buffer receiving an image data stream to acquire the reception speed;
wherein the step (b) comprises:
ignoring the image processing frequencies which are first N computed image processing frequencies, wherein N is a positive integer that the N computed image processing frequencies correspond to a preload stage of the input buffer.
2 . The image processing frequency managing method of claim 1 , wherein the image processing device is an image coding device, wherein the image processing frequency is one of following frequencies: an image encoding frequency, an image decoding frequency, a frequency for image encoding and decoding.
3 . The image processing frequency managing method of claim 1 ,
wherein the step (b) comprises:
computing a second operating rate according to the reception speed, while the image processing device operates at a first operating rate, wherein the second operating rate is periodically updated every first time interval, and a target second operating rate is determined by a maximum one of a previously updated second operating rate before the first time interval and the second operating rate that is currently updated;
replacing the first operating rate with the target second operating rate if a difference between the previously updated second operating rate before the first time interval and the second operating rate that is currently updated is smaller than a first difference threshold;
wherein the target second operating rate is for adjusting an image processing frequency.
4 . The image processing frequency managing method of claim 3 ,
wherein the step (b) comprises:
replacing the first operating rate with the target second operating rate if a difference between the first operating rate and the target second operating rate is larger than a second difference threshold; and
computing the image processing frequency of the image processing device according to the first operating rate.
5 . The image processing frequency managing method of claim 1 , further comprising:
acquiring a pre-defined op rate from an operating system of the electronic device;
monitors a queuing speed of an input buffer receiving an image data stream, to generate an average op rate;
replacing the pre-defined op rate by the average op rate according to a comparison of a plurality of op rates comprising the average op rate, to adjust the image processing frequency.
6 . An image processing system, comprising:
an image processing device;
a processing circuit, configured to perform following steps:
(a) monitoring a reception speed of image data, which is received by the electronic device; and
(b) adjusting an image processing frequency of the image processing device according to the reception speed;
wherein the image system further comprises an input buffer, wherein the step (a) monitors a queuing speed of the input buffer receiving an image data stream to acquire the reception speed;
wherein the step (b) comprises:
ignoring the image processing frequencies which are first N computed image processing frequencies, wherein N is a positive integer that the N computed image processing frequencies correspond to a preload stage of the input buffer.
7 . The image processing system of claim 6 , wherein the image processing device is an image coding device, wherein the image processing frequency is one of following frequencies: an image encoding frequency, an image decoding frequency, a frequency for image encoding and decoding.
8 . The image processing system of claim 6 ,
wherein the step (b) comprises:
computing a second operating rate according to the reception speed, while the image processing device operates at a first operating rate, wherein the second operating rate is periodically updated every first time interval, and a target second operating rate is determined by a maximum one of a previously updated second operating rate before the first time interval and the second operating rate that is currently updated;
replacing the first operating rate with the target second operating rate if a difference between the previously updated second operating rate before the first time interval and the second operating rate that is currently updated is smaller than a first difference threshold;
wherein the target second operating rate is for adjusting an image processing frequency.
9 . The image processing system of claim 6 ,
wherein the step (b) comprises:
replacing the first operating rate with the target second operating rate if a difference between the first operating rate and the target second operating rate is larger than a second difference threshold; and
computing the image processing frequency of the image processing device according to the first operating rate.
10 . The image processing system of claim 6 , wherein the processing circuit is further to perform:
acquiring a pre-defined op rate from an operating system of the electronic device;
monitoring a queuing speed of an input buffer receiving an image data stream, to generate an average op rate;
replacing the pre-defined op rate by the average op rate according to a comparison of a plurality of op rates comprising the average op rate, to adjust the image processing frequency.