This disclosure relates to a display control apparatus, a display control method, and a program, and more particularly, to a display control apparatus, a display control method, and a program capable of suppressing, for example, an image distortion generated when an image transmitted from a data transmission line such as a network is displayed with a low delay.
In recent years, telesurgery has been proposed, in which a surgical operation for a patient is performed by operating a robot arm in a remote place. In this telesurgery, an operating surgeon operates a robot arm while the operating surgeon watches a moving picture obtained by shooting a surgical operation state. Therefore, it is desirable to transmit the moving picture with a low delay equal to or lower than several frames or fields (nearly in a real-timely manner).
In this regard, a coding technique has been proposed, in which several lines of each picture included in the moving picture are set as block data, and a wavelet transform coding (compression) is performed for each block data (for example, refer to Patent Document 1)
In this coding technique, a transmitter initiates the coding without waiting for overall input for each block data in a picture and transmits the resulting coded data, and a receiver initiates decoding (decompression) before overall coded data are received from the transmitter.
For this reason, the receiver can make the picture in a displayable state by decoding the coded data until a predetermined display timing for displaying the picture. Therefore, receiver can display the picture on a monitor in synchronization with the display timing.
However, for example, in a case where congestion occurs in a data transmission line such as a network, it may be difficult for a transmitter to transmit a moving picture with a low delay equal to or lower than several frames.
In this case, it is difficult for a receiver to make a picture in a displayable state until a predetermined display timing. The picture that is not in the displayable state until the display timing is skipped without being displayed on a monitor. Therefore, this may generate a distortion and the like in an image displayed on the monitor.
In view of such a situation, this disclosure has been made to suppress an image distortion generated when an image transmitted from a data transmission line is displayed with a low delay.
According to an aspect of this disclosure, there is provided a display control apparatus including: a receive unit that receives an image; a write unit that writes the image in a holding unit that temporarily holds the received image; a first computation unit that computes an allowable delay time indicating a delay time allowed when it is difficult to terminate the writing within a predetermined elapsed time from a write start time at which the image starts to be written; a second computation unit that computes a necessary duration that is necessary at least until a display timing, at which the image starts to be displayed, from the write start time of the image written within a delay time equal to or shorter than the allowable delay time; a comparison unit that compares the allowable delay time and the necessary duration; a display adjustment unit that adjusts the display timing based on a result of the comparison in the comparison unit; and a display control unit that displays the image in synchronization with the adjusted display timing.
The display control apparatus may further include a first measurement unit that measures a write time necessary to write the image, and the first computation unit may compute the allowable delay time based on a distribution of the write time.
The display control apparatus may further include a second measurement unit that measures a write preparation duration necessary to start the write the image, and the second measurement unit may compute the necessary duration based on the distribution of the write preparation duration.
In the display control apparatus described above, the display control may terminate display of the image at a predetermined time from the display timing in synchronization with the adjusted display timing, and the display adjustment unit may adjust the display timing to shorten the necessary duration as long as a condition that the necessary duration is longer than the allowable delay time is satisfied in a case where the necessary duration is longer than the allowable delay time as a result of the comparison.
In the display control apparatus described above, wherein the display adjustment unit may adjust the display timing to obtain the necessary duration longer than the allowable delay time in a case where the necessary duration is not longer than the allowable delay time as a result of the comparison.
In the display control apparatus described above, the write unit may start to write the image after the first display timing in a case where the necessary duration is not longer than the delay time as a result of the comparison, and the display control unit may display the image in synchronization with a second display timing later than the first display timing.
In the display control apparatus described above, the display control unit may display the image written with a delay time equal to or shorter than the allowable delay time in synchronization with the adjusted display timing.
According to another aspect of this disclosure, there is provided a display control method of a display control apparatus for displaying an image, the display control method including: a receiving step of receiving the image; a writing step of writing the image to a holding unit that temporarily holds the received image; a first computing step of computing an allowable delay time indicating a delay time allowable when it is difficult to terminate the writing within a predetermined elapsed time from a write start time at which the image starts to be written; a second computing step of computing a necessary duration that is necessary at least until a display timing, at which the image starts to be displayed, from the write start time of the image written within a delay time equal to or shorter than the allowable delay time; a comparing step of comparing the allowable delay time and the necessary duration; a display adjusting step of adjusting the display timing based on a result of the comparison in the comparing step; and a display controlling step of displaying the image in synchronization with the adjusted display timing.
According to still another aspect of this disclosure, there is provided a program causing a computer to serve as: a receiving control unit that receives an image; a write unit that writes the image in a holding unit that temporarily holds the received image; a first computation unit that computes an allowable delay time indicating a delay time allowed when it is difficult to terminate the writing within a predetermined elapsed time from a write start time at which the image starts to be written; a second computation unit that computes a necessary duration that is necessary at least until a display timing, at which the image starts to be displayed, from the write start time of the image written within a delay time equal to or shorter than the allowable delay time; a comparison unit that compares the allowable delay time and the necessary duration; a display adjustment unit that adjusts the display timing based on a result of the comparison in the comparison unit; and a display control unit that displays the image in synchronization with the adjusted display timing.
According to further another aspect of this disclosure, an image is received, the image is written to a holding unit that temporarily holds the received image, an allowable delay time indicating a delay time allowed when it is difficult to terminate the writing within a predetermined elapsed time from the write start time at which the image starts to be written is computed, a necessary duration necessary at least until a display timing, at which the image starts to be displayed, from the write start time of the image written with a delay time equal to or shorten than the allowable delay time is computed, the allowable delay time and the necessary duration are compared, the display timing is adjusted based on a result of the comparison, the image is displayed in synchronization with the adjusted display timing.
According to this disclosure, it is possible to suppress an image distortion and the like generated when an image transmitted from a data transmission line is displayed with a low delay.
Hereinafter, an embodiment of this disclosure (hereinafter, referred to as an embodiment) will be described. Description will be made in the following sequence.
1. First Embodiment: an example of suppressing an image distortion and the like by adjusting a display timing Vblank
2. Second Embodiment: an example of suppressing an image distortion and the like without adjusting a display timing Vblank
3. Modifications
<Exemplary Configuration of Transceiver System 1>
The transceiver system 1 includes a transmitter 21, a receiver 22, and a network 23 such as the Internet.
In the receiver 22 side of the transceiver system 1, an image is displayed with a low delay without generating a distortion and the like in the image transmitted from the transmitter 21, for example, by adjusting a display timing Vblank for displaying the image.
<Exemplary Configuration of Transmitter 21>
The transmitter 21 includes a capturing unit 41, a coding unit 42, a packet creating unit 43, a real-time transport protocol (RTP) transmit unit 44, an operation unit 45, and a control unit 46.
The capturing unit 41 obtains (captures) image data (corresponding to VIDEO IN) input from the outside and supplies the image data to the coding unit 42.
The coding unit 42 performs a coding process for coding the image data from the capturing unit 41 and supplies the coded data obtained through the coding process to the packet creating unit 43.
As the coding process, a wavelet coding process may be employed, in which image data are compressed, for example, by performing a wavelet transform-based coding.
The packet creating unit 43 packetizes (or converts) the coded data from the coding unit 42 into a plurality of RTP packets and outputs the RTP packets to the RTP transmit unit 44. The RTP packet refers to a packet based on a RTP standard specified in the Internet engineering task force (IETF) request for comments (RFC) 3550.
The RTP transmit unit 44 adds, for example, a transmission time point, as a time stamp, indicating when the RTP packet is transmitted to the receiver 22, to the RTP packet from the packet creating unit 43 according to the RTP. In addition, the RTP transmit unit 44 transmits the RTP packet having the added time stamp to the receiver 22 via the network 23.
The operation unit 45 is an operation button and the like manipulated by a user. The operation unit 45 supplies an operation signal corresponding to user's operation to the control unit 46.
The control unit 46 controls each of the capturing unit 41, the coding unit 42, the packet creating unit 43, and the RTP transmit unit 44, for example, based on the operation signal from the operation unit 45.
<Exemplary Configuration of Receiver 22>
The receiver 22 includes a RTP receive unit 61, a packet assembling unit 62, a decoding unit 63, a write control unit 64, a buffer 65, a display control unit 66, a display unit 67, a write information measurement unit 68, a write information storing unit 69, a display adjustment unit 70, an operation unit 71, and a control unit 72.
The RTP receive unit 61 receives the RTP packet transmitted from the RTP transmit unit 44 via the network 23 and supplies the RTP packet to the packet assembling unit 62.
The packet assembling unit 62 creates coded data as a decoding target by assembling the RTP packets from the RTP receive unit 61 and supplies the coded data to the decoding unit 63.
The decoding unit 63 performs a decoding process corresponding to the coding process of the coding unit 42 for the coded data from the packet assembling unit 62 and supplies the resulting image data to the write control unit 64. Here, the decoding process may include, for example, an inverse wavelet transform for decompression.
The write control unit 64 supplies the image data from the decoding unit 63 to the buffer 65, and the image data is stored in (written to) the buffer 65. In addition, the write control unit 64 supplies the write information measurement unit 68 with a write start time Ts indicating time when each image data starts to be written to the buffer 65 and a write end time Te indicating time when the writing to the buffer 65 is terminated.
The buffer 65 temporarily holds the image data from the write control unit 64.
The display control unit 66 reads the image data from the buffer 65 and supplies the image data to the display unit 67. In addition, the display control unit 66 causes the display unit 67 to display the image data read from the buffer 65 in synchronization with the display timing Vblank from the display adjustment unit 70.
Next,
It is assumed that the image data n includes an odd-numbered field image nodd corresponding to odd-numbered line out of lines of the image data n and an even-numbered field image neven corresponding to even-numbered line out of lines of the image data n.
In
The display timing Vblank(nodd) refers to a time point when the odd-numbered field image nodd starts to be displayed. Similarly, the display timing Vblank(neven) refers to a time point when the even-numbered field image neven starts to be displayed.
The display control unit 66 reads the odd-numbered field image nodd from the buffer 65 and displays the odd-numbered field image nodd on the display unit 67 in synchronization with the display timing Vblank(nodd) from the display adjustment unit 70. In addition, the display control unit 66 reads the even-numbered field image neven from the buffer 65 in synchronization with the display timing Vblank(neven) from the display adjustment unit 70 and displays the even-numbered field image neven on the display unit 67.
The display unit 67 displays each image data n, for example, in an interlace mode. That is, the display unit 67 alternately displays the odd-numbered field image nodd and the even-numbered field image neven under control of the display control unit 66. The display unit 67 may be included in the receiver 22 as an element as illustrated in
The write information measurement unit 68 measures write information of the even-numbered field image neven written to the buffer 65. In addition, the write information measurement unit 68 may measure the write information of the odd-numbered field image nodd written to the buffer 65 instead of the write information of the even-numbered field image neven or along with the write information of the even-numbered field image neven. This will be described below with reference to
For example, in a case where the display unit 67 displays each image data n in a progressive mode, each image data n is converted into a progressive image, and the write information measurement unit 68 measures the write information of the progressive image. This will be described below with reference to
Hereinafter, description will be made by assuming that the write information measurement unit 68 measures the write information of the even-numbered field image neven written to the buffer 65.
The write information measurement unit 68 measures, for example, a write preparation duration Xn necessary until the even-numbered field image neven starts to be written and a buffer write duration Pn necessary to write the even-numbered field image neven as the write information of the even-numbered field image neven written to the buffer 65.
Next,
Here, in
In addition, the write information measurement unit 68 is supplied with the write start time Ts and the write end time Te of the even-numbered field image neven from the write control unit 64 and the display timings Vblank(n−1even) and Vblank(neven) from the display adjustment unit 70.
The write information measurement unit 68 measures the write preparation duration Xn(=Vblank(n−1even)−Ts) based on the write start time Ts from the write control unit 64 and the display timing Vblank(n−1even) from the display adjustment unit 70 as illustrated in
For example, the write information measurement unit 68 measures the buffer write duration Pn(=Te−Ts) based on the write end time Te and the write start time Ts from the write control unit 64 as illustrated in
The write information measurement unit 68 supplies the write preparation duration Xn and the buffer write duration Pn measured for each even-numbered field image neven to the write information storing unit 69 to store the write preparation duration Xn and the buffer write duration Pn in the write information storing unit 69.
Returning to
The display adjustment unit 70 performs a display timing adjustment process for adjusting the display timing Vblank based on the write information stored in the write information storing unit 69. The display timing adjustment process will be described in detail with reference to
The display adjustment unit 70 supplies the display timing Vblank adjusted through the display timing adjustment process to the display control unit 66 and the write information measurement unit 68.
The operation unit 71 includes an operation button manipulated by a user and supplies an operation signal corresponding to the user's operation to the control unit 72.
The control unit 72 controls each of the RTP receive unit 61, the packet assembling unit 62, the decoding unit 63, the write control unit 64, the display control unit 66, the write information measurement unit 68, and the display adjustment unit 70 based on the operation signal from the operation unit 71.
Next, a display timing adjustment process performed by the display adjustment unit 70 will be described with reference to
In
The display adjustment unit 70 creates X-distribution information indicating a distribution of the write preparation durations Xn of
In addition, the display adjustment unit 70 computes a threshold value Xth for distinguishing a higher rank α % (for example, α=95) of the write preparation durations Xn of and a lower rank (100−α) % of the remaining write preparation durations Xn obtained by sorting the write preparation durations Xn in an ascending order based on the X-distribution information of the write preparation duration Xn.
Here, the threshold value Xth is set to a value equal to or greater than the maximum value of a higher rank α % (for example, α=95) of the write preparation durations Xn and smaller than the minimum value of a lower rank (100−α) % of the write preparation durations Xn obtained by sorting the write preparation durations Xn in an ascending order. The value α is predetermined, for example, through user's operation.
Next,
In
The display adjustment unit 70 creates P-distribution information indicating a distribution of the buffer write durations Pn of
The display adjustment unit 70 computes a threshold value Pth for distinguishing a higher rank α % of the buffer write durations Pn and a lower rank (100−α) % of the buffer write durations Pn obtained by sorting the buffer write durations Pn in an ascending order based on the P-distribution information of the buffer write durations Pn.
Here, the threshold value Pth is set to a value equal to or greater than the maximum value of a higher rank α % of the buffer write durations Pn and smaller than the minimum value of a lower rank (100−α) % of the buffer write duration Pn obtained by sorting the buffer write durations Pn in an ascending order.
Next,
The display adjustment unit 70 computes the allowable delay time Yth based on the threshold value Pth computed from the P-distribution information of the buffer write durations Pn using Equation (1) as illustrated in
Yth=Pth−( 1/60) (1)
Here, the allowable delay time Yth refers to a delay time when it is impossible to terminate the writing within a predetermined anticipated write time 1/60 from the write start time Ts at which the even-numbered field image neven starts to be written. The allowable delay time Yth is a delay time allowed to perform display with a possibility of at least α % without generating a distortion in the even-numbered field image neven.
The anticipated write time 1/60 refers to a write time of the even-numbered field image neven (or odd-numbered field image nodd) anticipated in a case where no delay is generated in the data writing in the write control unit 64.
The anticipated write time 1/60 is determined, for example, depending on time necessary to display the even-numbered field image neven (or odd-numbered field image nodd). In this case, the display unit 67 displays each of the odd-numbered field image and the even-numbered field image with a display time 1/60. Therefore, for example, the anticipated write time is also set to 1/60 in this manner. In addition, in a case where the display unit 67 displays each the odd-numbered field image and even-numbered field image with a display time 1/m, for example, the anticipated write time is set to 1/m.
For example, the display adjustment unit 70 computes a necessary duration Y of the even-numbered field image neven received with a possibility of α % based on the threshold value Xth computed from X-distribution information of the write preparation duration Xn, that is, a necessary duration Y of the even-numbered image neven written with a delay time equal to or shorter than the allowable delay time Yth.
Here, the necessary duration Y refers to time necessary at least from the write start time Ts to the display timing (neven) in the even-numbered field image neven written to the buffer 65 with a delay time equal to or shorter than the allowable delay time Yth.
For example, the display adjustment unit 70 computes the necessary duration Y based on the display interval Vblank_Interval between the display timing Vblank(n−1even) and the display timing (neven), and the threshold value Xth using the following Equation (2) as illustrated in
Y=Vblank_Interval−Xth (2)
The display adjustment unit 70 determines whether or not display can be performed with a possibility of at least α % without generating a distortion and the like in the even-numbered field image neven based on whether or not the computed necessary duration Y satisfies the following Equation (3). In addition, the display adjustment unit 70 adjusts the display timing Vblank based on the determination result.
Y>Yth (3)
In a case where the Equation (3) is satisfied, the line(i) corresponding to the line number i of the even-numbered field image neven is written to the buffer 65 before the display timing of the line(i) as illustrated in
If the Equation (3) is not satisfied, out of the line(i) of the line number i in the even-numbered field image neven, for example, the line(i) (i≧L) following the line number L is written to the buffer 65 after the display timing of the line(i) (i≧L) as illustrated in
The display adjustment unit 70 appropriately performs the display timing adjustment process also after the display timing Vblank. This is because the transmission duration of the image data changes depending on a congestion situation of the network 23 and the like, and the state of
Next,
In
As illustrated in
Therefore, the time necessary for the transmission process, that is, the transmission duration changes depending on a congestion situation of the network 23 and the like. Accordingly, the state illustrated in
<Description of Operations in Receiver 22>
Next, a display control process performed by the receiver 22 will be described with reference to the flowchart of
In step S21, the RTP receive unit 61 receives a RTP packet transmitted from the RTP transmit unit 44 via the network 23 and supplies the RTP packet to the packet assembling unit 62.
In step S22, the packet assembling unit 62 assembles the RTP packets from the RTP receive unit 61 to generate coded data as a decoding target and supplies the coded data to the decoding unit 63.
In step S23, the decoding unit 63 performs a decoding process corresponding to the coding process of the coding unit 42 for the coded data from the packet assembling unit 62 and supplies the resulting image data to the write control unit 64. Here, the decoding process may include, for example, an inverse wavelet transform for decompression.
In step S24, the write control unit 64 supplies the image data (including the odd-numbered field image and the even-numbered field image) from the decoding unit 63 to the buffer 65, the image data are stored in (or written to) the buffer 65. In addition, the write control unit 64 supplies the write information measurement unit 68 with the write start time Ts at which the writing to the buffer 65 starts and the write end time Te at which the writing to the buffer 65 terminates for each even-numbered field image neven.
In step S25, the display control unit 66 reads the image data including the odd-numbered field image and the even-numbered field image from the buffer 65 and displays the image data on the display unit 67 in synchronization with the display timing Vblank from the display adjustment unit 70.
In step S26, the write information measurement unit 68 measures the write preparation duration Xn of the even-numbered field image neven based on the write start time Ts from the write control unit 64 and the display timing Vblank from the display adjustment unit 70 and supplies the write preparation duration Xn to the write information storing unit 69. Then, the write preparation duration Xn is stored in the write information storing unit 69.
In step S27, the write information measurement unit 68 measures the buffer write duration Pn of the even-numbered field image neven based on write start time Ts and the write end time Te from the write control unit 64 and supplies the buffer write duration Pn to the write information storing unit 69. Then, the buffer write duration Pn is stored in the write information storing unit 69.
In step S28, the display adjustment unit 70 determines whether or not a time count counted by a built-in time count unit (not illustrated) exceeds a predetermined time. If it is determined that the time count does not exceed the predetermined time, the process returns to step S21 to repeat the same operation.
If the display adjustment unit 70 determines that the time count exceeds the predetermined time in step S28, the process advances to step S29, in which a display timing adjustment process is performed to adjust the display timing Vblank based on the write preparation duration Xn and the buffer write duration Pn stored in the write information storing unit 69.
In step S29, the display adjustment unit 70 deletes the write preparation duration Xn and the buffer write duration Pn stored in the write information storing unit 69 after the display timing adjustment process. In addition, the display adjustment unit 70 resets the time count of the built-in time count unit and restarts the time counting. Then, the process returns to step S21 to repeat the same operation.
Next, the display timing adjustment process in step S29 of
In step S41, the display adjustment unit 70 reads the write preparation duration Xn from the write information storing unit 69 and computes the X-distribution information indicating a distribution of the write preparation durations Xn.
In step S42, the display adjustment unit 70 computes the threshold value Xth based on the X-distribution information computed in step S41.
In step S43, the display adjustment unit 70 computes the necessary duration Y based on the display interval Vblank_Interval and the threshold value Xth using the Equation (2).
In step S44, the display adjustment unit 70 reads the buffer write duration Pn from the write information storing unit 69 and computes the P-distribution information indicating a distribution of the buffer write durations Pn.
In step S45, the display adjustment unit 70 computes the threshold value Pth based on the P-distribution information computed in step S41.
In step S46, the display adjustment unit 70 computes the allowable delay time Yth based on the anticipated write time 1/60 and the threshold value Pth computed in step S45 using the Equation (1).
In step S47, the display adjustment unit 70 determines whether or not the Equation (3) is satisfied based on the necessary duration Y computed in step S43 and the allowable delay time Yth computed in step S46. If it is determined that the Equation (3) is satisfied, the process advances to step S48.
In step S48, the display adjustment unit 70 adjusts the display timing Vblank to advance by time Z as illustrated in
In step S47, if the display adjustment unit 70 determines that the Equation (3) is not satisfied based on the necessary duration Y computed in step S43 and the allowable delay time Yth computed in step S46, the process advances to step S49.
In step S49, the display adjustment unit 70 adjusts the display timing Vblank to delay by time Z as illustrated in
After the process in step S48 or S49 is terminated as described above, the process returns to step S29 of
As described above, in the display control process, the display timing Vblank is adjusted to satisfy the Equation (3), for example, depending on the write information of the even-numbered field image neven. Therefore, it is possible to suppress an image distortion that may be generated when a part of the image is skipped. That is, the display control unit 66 can display the even-numbered field image neven and the odd-numbered field image nodd written to the buffer 65 with a delay time equal to or shorter than the allowable delay time Yth without generating an image distortion and the like in synchronization with the display timing Vblank from the display adjustment unit 70.
For example, in the display control process, even when the Equation (3) is satisfied, the display timing Vblank is adjusted to reduce the necessary duration Y as short as possible as long as the Equation (3) is satisfied.
For this reason, in the odd-numbered field image nodd and the even-numbered field image neven, the time necessary from the write start time to the display timing is shortened as a whole. Therefore, it is possible to display an image with a minimum delay.
<Example when Display Timing Vblank is not Adjusted>
In the receiver 22, the display timing Vblank is adjusted based on a comparison result between the necessary duration Y and the allowable delay time Yth as illustrated in
Alternatively, it is possible to suppress an image distortion and the like, for example, without adjusting the display timing Vblank.
That is, in the receiver 22, it is possible to suppress an image distortion and the like if the Equation (3) is satisfied. Therefore, it is possible to display an image in synchronization with the original display timing Vblank without adjusting the display timing Vblank.
In a case where the Equation (3) is not satisfied, for example, the receiver 22 suppress an image distortion and the like by delaying the display timing of the image as illustrated in
If the Equation (3) is not satisfied, as illustrated in
In this case, if the even-numbered field image neven is displayed at the time point t2 as the display timing Vblank(neven), a distortion and the like may be generated in the even-numbered field image neven.
Therefore, the write control unit 64 performs control such that the even-numbered field image neven is written to the buffer 65 at the time point t4 after the time point t2 as illustrated in
In this case, it is assumed that the write control unit 64 has built-in memory (not illustrated), and the write timing to the buffer 65 is adjusted while the even-numbered field image neven from the decoding unit 63 is held in a built-in memory (not illustrated).
As a result, the display control unit 66 can display the even-numbered field image neven by setting the display timing Vblank(neven) to the time point t4 by shifting the display timing Vblank(neven) from the time point t2 to the time point t4.
It may be possible to suppress an image distortion and the like by combining both a case where the display timing Vblank is adjusted and a case where the display timing Vblank is not adjusted.
Specifically, for example, if the Equation (3) is satisfied, the display timing Vblank may be adjusted as illustrated in
For example, if the Equation (3) is satisfied, an image may be displayed at the original display timing Vblank without adjustment. If the Equation (3) is not satisfied, the display timing Vblank may be adjusted as illustrated in
According to the first and second embodiments, the necessary duration Y and the allowable delay time Yth are computed based on the write information of the even-numbered field image neven. Alternatively, for example, as illustrated in
For example, in a case where an image is displayed on the display unit 67 in a progressive mode, each image is converted into a progressive image, and the necessary duration Y and the allowable delay time Yth are computed based on the write information of the progressive image as illustrated in
When the X-distribution information indicating a distribution of the write preparation durations Xn of
However, the display adjustment unit 70 may create the X-distribution information by increasing the frequency of the write preparation duration Xn for the more recent measurement time. It is conceived that this is because the more recently measured write preparation duration Xn more accurately represents the write preparation duration of the image received from that time.
The same applies to the case where the P-distribution information indicating a distribution of the buffer write durations Pn is created as illustrated in
As a result, using the display adjustment unit 70, it is possible to create the X-distribution information by more accurately reflecting the write preparation duration of the image received from that time and create the P-distribution information by more accurately reflecting the buffer write duration of the image received from that time.
For this reason, the display adjustment unit 70 can more accurately compute the necessary duration Y and the allowable delay time Yth of the image received from that time based on the X-distribution information and the P-distribution information. Therefore, it is possible to more appropriately adjust the display timing Vblank depending on the received image.
The present technique may also be embodied as follows.
(1) A display control apparatus including: a receive unit that receives an image; a write unit that writes the image in a holding unit that temporarily holds the received image; a first computation unit that computes an allowable delay time indicating a delay time allowed when it is difficult to terminate the writing within a predetermined elapsed time from a write start time at which the image starts to be written; a second computation unit that computes a necessary duration that is necessary at least until a display timing, at which the image starts to be displayed, from the write start time of the image written within a delay time equal to or shorter than the allowable delay time; a comparison unit that compares the allowable delay time and the necessary duration; a display adjustment unit that adjusts the display timing based on a result of the comparison in the comparison unit; and a display control unit that displays the image in synchronization with the adjusted display timing.
(2) The display control apparatus according to the paragraph (1), further including a first measurement unit that measures a write time necessary to write the image, wherein the first computation unit computes the allowable delay time based on a distribution of the write time.
(3) The display control apparatus according to the paragraph (1) or (2), further including a second measurement unit that measures a write preparation duration necessary to start the write the image, wherein the second measurement unit computes the necessary duration based on the distribution of the write preparation duration.
(4) The display control apparatus according to any one of the paragraphs (1) to (3), wherein the display control terminates display of the image at a predetermined time from the display timing in synchronization with the adjusted display timing, and the display adjustment unit adjusts the display timing to shorten the necessary duration as long as a condition that the necessary duration is longer than the allowable delay time is satisfied in a case where the necessary duration is longer than the allowable delay time as a result of the comparison.
(5) The display control apparatus according to the paragraph (4), wherein the display adjustment unit adjusts the display timing to obtain the necessary duration longer than the allowable delay time in a case where the necessary duration is not longer than the allowable delay time as a result of the comparison.
(6) The display control apparatus according to claim (4), wherein the write unit starts to write the image after the first display timing in a case where the necessary duration is not longer than the delay time as a result of the comparison, and the display control unit displays the image in synchronization with a second display timing later than the first display timing.
(7) The display control apparatus according to any one of the paragraphs (1) to (3), wherein the display control unit displays the image written with a delay time equal to or shorter than the allowable delay time in synchronization with the adjusted display timing.
A series of the aforementioned processes may be executed using hardware or software. In a case where a series of processes are executed using software, a program embodied in the software is installed from a program recording medium, for example, to a computer integrated into dedicated hardware or a general-purpose computer capable of executing various functionalities by installing various programs.
<Exemplary Computer Configuration>
A central processing unit (CPU) 201 executes various processes depending on a program stored in a read-only memory (ROM) 202 or a storing unit 208. A random access memory (RAM) 203 appropriately stores a program or data executed by the CPU 201. The CPU 201, the ROM 202, and the RAM 203 are connected to each other via a bus 204.
An input/output (I/O) interface 205 is connected to the CPU 201 via a bus 204. An input unit 206 such as a keyboard, a mouse, and a microphone and an output unit 207 such as a loudspeaker are connected to the I/O interface 205. The CPU 201 executes various processes depending on an instruction input from the input unit 206. In addition the CPU 201 outputs the processing result to the output unit 207.
The storing unit 208 connected to the I/O interface 205 includes, for example, a hard disk and stores various data or programs executed by the CPU 201. A communication unit 209 communicates with an external device via a network such as the Internet or a local area network (LAN).
The program may be obtained using the communication unit 209 and may be stored in the storing unit 208.
When a remote medium such as a magnetic disc, an optical disc, an opto-magnetic disc, or a semiconductor memory is installed, the drive 210 connected to the I/O interface 205 drives the remote medium 211 to obtain a program, data, and the like recorded therein. The obtained program or data are transmitted to the storing unit 208 and stored therein as necessary.
A recording medium that records (stores) a program installed in a computer in an executable state includes a magnetic disc (such as a flexible disc), an optical disc (such as a compact disc-read only memory (CD-ROM) or a digital versatile disc (DVD)), an opto-magnetic disc (such as mini-disc (MD)), a remote medium 211 as a package medium such as a semiconductor memory, a ROM 202 where a program is stored temporarily or permanently, or a hard disk included in the storing unit 208 as illustrated in
In the present specification, steps that describe a series of the aforementioned processes may be performed in a time-series manner in the order of description or may be executed in parallel or individually without being necessarily processed in a time-series manner.
The embodiments of the present invention are not limited to the first and second embodiments described above. Instead, the invention may be variously changed or modified without departing from the spirit and scope of the invention.
22 Receiver, 61 RTP receive unit, 62 Packet assembling unit, 63 Decoding unit, 64 Write control unit, 65 Buffer, 66 Display control unit, 67 Display unit, 68 Write information measurement unit, 69 Write information storing unit, 70 Display adjustment unit, 71 Operation unit, 72 Control unit
Number | Date | Country | Kind |
---|---|---|---|
2011-087233 | Apr 2011 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2012/058379 | 3/29/2012 | WO | 00 | 10/4/2013 |