The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which:
Preferred embodiments of the present invention will be described herein below with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.
The present invention provides a method and apparatus for, when image frames are cumulatively stored during a video telephony operation of a portable terminal selectively displaying the cumulatively-stored image frames to prevent a processing delay of the image frame.
Referring to
The controller 300 processes and controls voice communication and data communication. According to the present invention when a video telephony event occurs the controller 300 receives an image signal and a per-second frame rate FRremote from the communication module 310 and outputs the received image signal and the received frame rate FRremote respectively to image processor 304 and the frame determiner 306.
The camera 302 includes a camera sensor for converting an optical signal sensed during image photographing into an electrical signal and a signal processor for converting an analog image signal sensed by the camera sensor into digital data. The camera 302 outputs the digital image signal to the image processor 304.
The image processor 304 is also called an image CODEC (coder-decoder). The image processor 304 encodes an image signal received from the camera 302 in a predetermined scheme, and decodes encoded frame image data into original frame image data. In addition the image processor 304 processes an output image signal of the camera 302 on a frame by frame basis to output the resulting signal in accordance with the feature and size of the display unit 308, and decodes an image signal received from the controller 300 into an original image frame to output the original image frame to the display unit 308 during the video telephony operation. In particular the image processor 304 includes a buffer for temporarily storing an image frame. The image processor 304 determines whether the image signals received from the controller 300 (i.e., image frames received from a video telephony counterpart terminal) accumulate in the buffer. When the image frames accumulate in the buffer, the image processor 304 outputs a signal indicating the accumulation of the image frames (hereinafter a frame accumulation indicating signal) to the frame determiner 306. Thereafter, the image processor 304 receives image frames to be skipped, i.e., the number NFskip of image frames to be not displayed (hereinafter the frame skip number NFskip) from the frame determiner 306 to select NFskip image frames among the decoded original image frames, and outputs only the remaining image frames other than the selected image frames to the display unit 308.
Every time when receiving the per-second frame rate FRremote of the counterpart terminal from the controller 300 the frame determiner 306 divides 1 second by the frame rate FRremote (1 sec/FRremote) to calculate the maximum processing time Tprocess
The display unit 308 displays a predetermined number of characters and status information generated during an operation of the portable terminal. In particular, the display unit 308 displays the image frames received from the image processor 304 according to the present invention.
The communication module 310 TX/RX-processes radio-frequency (RF) signals transmitted/received through an antenna (not shown). For example, the communication module 310 converts a baseband signal, which is obtained by performing channel coding and spreading on data to be transmitted into an RF signal and transmits the RF signal through the antenna. In addition, the communication module 310 converts a received RF signal into a baseband signal and performs despreading and channel decoding on the received data to recover original data. In particular according to the present invention, the communication module 310 receives an image signal and a per-second frame rate FRremote from a video telephony counterpart terminal and provides the same to the controller 300. The per-second frame rate FRremote changes during the video telephony operation. Therefore, every time when the per-second frame rate FRremote changes, the communication module 310 receives the per-second frame rate FRremote and provides the same to the controller 300.
The voice processor 312 is also called a voice CODEC. The voice processor 312 I/O-processes voice signals through the speaker 314 and the microphone 316. For example, the voice processor 312 converts Pulse Code Modulation (PCM) data received from the controller 300 into analog audio signals and outputs the analog audio signals to the speaker 314. In addition, the voice processor 312 converts audio signals received from the microphone 316 into PCM data and provides the PCM data to the controller 300.
Referring to
In step 405, the portable terminal determines if image frames received from the counterpart terminal are cumulatively stored in the buffer. If not, the procedure returns to step 403: and if so, the procedure proceeds to step 407.
In step 407, the portable terminal decodes all the cumulatively-stored image frames, measures the number of cumulatively-stored image frames, and determines the frame skip number NFskip using the measured video telephony system resources. The frame skip number NFskip may be obtained by calculating the over processing time (Tover=NFdec×(Tdec+Tdisp)−Tprocess
In step 409, the portable terminal selects NFskip image frames among the decoded image frames. In step 411, the portable terminal displays the remaining image frames other than the selected image frames on the display unit 308. Thereafter, the procedure is ended.
Alternate embodiments of the present invention can also comprise computer readable codes on a computer readable medium. The computer readable medium includes any data storage device that can store data that can be read by a computer system. Examples of a computer readable medium include magnetic storage media (such as ROM, floppy disks, and hard disks, among others), optical recording media (such as CD-ROMs or DVDs), and storage mechanisms such as carrier waves (such as transmission through the Internet). The computer readable medium can also be distributed over network coupled computer systems so that the computer readable code is stored and executed in a distributed fashion. Also, functional programs, codes, and code segments for accomplishing the present invention can be construed by programmers of ordinary skill in the art to which the present invention pertains.
As described above when the image frames received from the counterpart terminal are cumulatively stored during the video telephony operation of the portable terminal the present invention selectively displays the cumulatively-stored image frames to prevent a processing delay of the image frame. Accordingly, it is possible to stabilize the CPU occupation rate of an image decoder of the portable terminal.
While the invention has been shown and described with reference to certain preferred embodiments thereof it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2006-0071943 | Jul 2006 | KR | national |