The present invention relates to a detachable encoding or decoding device which compresses and codes video signals and audio signals, and a recording/reproduction terminal from which the encoding or decoding device is removed.
According to start of terrestrial digital broadcasting and wide use of a portable telephone with a camera function, codec techniques for storing video and audio into a hard disk, a storage medium, and the like have been diversified. For example, in the field of video, MPEG-2, MPEG-4, MPEG4-AVC, and the like are known, while in the field of audio, AMR, MPEG4-AAC, and the like are known. A products, such as a DVD recorder, a portable telephone with a camera function, and an in-vehicle terminal, carries the above multiple codec techniques as purpose-built LSIs or software in order to have audio-visual (AV) interaction between devices, in addition to original main functions of the product. Thereby, a cost of the product is increased. Further, when the codec techniques used in the standards and the like are changed, even if an old product has a means for receiving data which has been encoded by the new codec technique, the old product does not have a means for decoding such data, so that video or audio cannot be reproduced from the received encoded data. Still further, it is a manufacturer who determines what kind of codec technique is to be used in a decoding device built in the product and a user cannot select necessary codec techniques on purchase of the product, so that the user needs to pay a price even for the codec technique which would not be used frequently.
As examples for solving the above problems, the following patent references are disclosed.
The first example relates to a data reproduction device compliant with various coding methods.
The second example is concerned with efficiency improvement of video data transfer between PC cards. An example of a structure of a moving picture encoder system using this system is shown in
Patent Reference 1: Japanese Patent Laid-Open No. 2000-13237 publication
Patent Reference 2: Japanese Patent Laid-Open No. 9-237166 publication
However, in the patent reference 1, the portable data reproduction device 700 needs to be embedded with an LSI for realizing the decoding means 702, which does not result in reduction of a cost of the reproduction device, so that the above problem is not able to be solved completely. Moreover, detail of a recording device is not described in the patent reference 1.
Furthermore, in the patent reference 2, it is necessary to prepare a plurality of PCI slots in a recording device and include a PC card controller having the inter-card direct path, so that a mounting load of the recording device is large. Still further, the encoded data is stored into the memory in the encoder system, so that it is impossible to store the encoded data into the encoder card 803 and then insert the encoder card 803 into another device in order to decode the data, which is not suitable for interaction among AV devices, for example, for sharing of data such as video data among the AV devices.
The present invention is provided to solve the above problems and an object of the present invention is to provide an encoding or decoding device compliant with various codec techniques and a recording/reproduction terminal having such encoding or decoding device.
In order to solve above problems, the present invention provides a recording/reproduction terminal to which an encoding or decoding device is detachably connected and which records or reproduces a signal representing audio or video, the recording/reproduction terminal including: a terminal information storage unit which stores terminal information which is information regarding a recording/reproduction ability of the recording/reproduction terminal, and to output the terminal information to the encoding or decoding device when the encoding or decoding device is connected to the recording/reproduction terminal; and a signal transmission unit which transmits, to the encoding or decoding device, the signal representing audio or video to be encoded, when the signal representing audio or video is recorded.
Further, according to the present invention, the recording/reproduction terminal may further include storing encoded data obtained by encoding the signal representing audio or video into the encoding or decoding device.
Still further, according to the present invention, the terminal information may include information which indicates existence of a built-in encoding or decoding device built in the recording/reproduction terminal, the recording/reproduction terminal may make the encoding or decoding device encode the signal including audio or video, when the built-in encoding or decoding device does not exist.
Still further, according to the present invention, the recording/reproduction terminal may include a reproduction unit which receives, from the encoding or decoding device, the signal representing audio or video which is obtained by decoding the encoded data stored in the encoding or decoding device using the encoding or decoding device, and reproduces the signal, when the built-in encoding or decoding device does not exist.
Still further, according to the present invention, the terminal information may include coding format information which indicates a coding format used by the built-in encoding or decoding device, the recording/reproduction terminal further including a built-in encoding or decoding device may encode or decode the signal representing audio or video using a predetermined coding format, wherein the reproduction unit may receive the signal including audio or video which is decoded using the encoding or decoding device, and reproduce the signal when a coding format of the encoded data stored in the encoding or decoding device is different from the coding format indicated in the coding format information, and the built-in encoding or decoding device may receive the encoded data without decoding the encoded data, and decode the data when the coding format of the encoded data stored in the encoding or decoding device is the same as the coding format indicated in the coding format information.
Still further, according to the present invention, the recording/reproduction terminal may further include: a coding format notification receiving unit which receives from the encoding or decoding device a notification regarding selectable coding formats when the encoding or decoding device can encode or decode using a plurality of coding formats which are different from one another; and a coding format selection unit which displays the plurality of coding formats notified by the encoding or decoding device and to receive selection of one coding format made by a user, and wherein the recording/reproduction terminal makes the encoding or decoding device encode the signal representing audio or video using the coding format selected by the user.
Still further, according to the present invention, the terminal information may include information which indicates existence of a built-in encoding or decoding device built in the recording/reproduction terminal, and a coding format information which indicates a coding format used by the built-in encoding or decoding device when the built-in encoding or decoding device exists, the recording/reproduction terminal including an encoded data receiving unit which (1) receives encoded data whose coding format is converted into a coding format indicated in the coding format information when the coding format of the encoded data stored in the encoding or decoding device is different from the coding format indicated in the coding format information, and (2) receives the encoded data without converting the coding format of the encoded data, when the coding format of the encoded data stored in the encoding or decoding device is the same as the coding format indicated in the coding format information.
Still further, according to the present invention, the recording/reproduction terminal may further include: a memory which provides a working area for encoding or decoding processing performed by the encoding or decoding device; a memory use request receiving unit which receives a use request for the memory from the encoding or decoding device; and a memory control unit which makes the encoding or decoding device use a part or all of the area in the memory when the use request is received.
Still further, according to the present invention, the terminal information may include memory information which indicates an available capacity of the memory in the recording/reproduction terminal, the recording/reproduction terminal may further include an available capacity detection unit may regularly detect the available capacity of the memory, and the memory control unit may update the memory information in the terminal information with a value of the newly detected available capacity.
Still further, according to the present invention, the encoding or decoding device which is detachably connected to a recording/reproduction terminal which records or reproduces a signal representing audio or video, and the encoding or decoding device may include: a terminal information obtainment unit which obtains, from the recording/reproduction terminal, terminal information which is information regarding a recording/reproduction ability of the recording/reproduction terminal when the encoding or decoding device is connected to the recording/reproduction terminal; and an encoding or decoding unit which encodes or decodes the signal representing audio or video based on the obtained terminal information.
Still further, according to the present invention, the terminal information may include information which indicates existence of a built-in encoding or decoding device built in the recording/reproduction terminal, and a coding format information which indicates a coding format used by the built-in encoding or decoding device when the built-in encoding or decoding device exists, the encoding and decoding unit may further include a trans-coding unit which (1) converts a coding format of the encoded data stored in the encoded data storage unit into a coding format indicated in the coding format information when the coding format of the encoded data is different from the coding format indicated in the coding format information, and (2) transmits the encoded data without converting the coding format of the encoded data, to the recording/reproduction terminal when the coding format of the encoded data is the same as the coding format indicated in the coding format information.
Still further, according to the present invention, the encoding or decoding unit may include a plurality of encoding or decoding sub-units which encodes or decodes using coding formats which are different from one another, and the encoding or decoding unit may encodes the signal representing audio or video by an encoding or decoding sub-unit whose coding format has the least number of bits of the encoded data among the plurality of the coding formats.
Still further, according to the present invention, the encoding or decoding unit may convert at least one of a frame rate and resolution of the moving picture signal depending on an available capacity of the encoded data storage unit when the signal including audio or video is the moving picture signal, and to encode the converted signal.
Still further, according to the present invention, the encoded data storage unit may be included in a memory card which is detachably connected to the encoding or decoding device.
Still further, according to the present invention, the encoding or decoding unit may perform at least one of video encoding, video decoding, audio encoding, audio decoding, video trans-coding, and audio trans-coding.
Still further, the present invention can be realized not only as such encoding or decoding device and recording/reproduction terminal, but also as an encoding or decoding method and a recording and reproducing method having steps that are implemented by the characterized units included in the encoding or decoding device and the recording/reproduction terminal, or as a program causing a computer to execute the steps. Note that it is apparent that such a program can be distributed via a recording medium such as a CD-ROM and a transmission medium such as the Internet.
As described above, the recording/reproduction terminal of the present invention has an effect that only connecting of the removable encoding or decoding device to the recording/reproduction terminal makes it possible to encode and decode signals representing audio or video. Furthermore, the present invention has another effect that it is not necessary to embed a Codec LSI or a software Codec into the recording/reproduction terminal, which results in an effect of cost reduction. Still further, the present invention has still another effect that even if the Codec techniques used in the standards and the like are modified, by inserting an encoding or decoding device compliant with the new codec techniques, even old recording/reproduction terminal becomes compliant with the new Codec techniques. Still further, the present invention has still another effect that the user can replace the encoding or decoding device depending on a purpose of usage, so that the recording/reproduction terminal can be provided based on user's desire.
Still further, the present invention has still another effect that, by replacing the encoding or decoding device with another encoding or decoding device, encoding, decoding, and trans-coding of video or audio can be switched.
Still further, the present invention has still another effect that, when the encoding or decoding device is inserted into the recording/reproduction terminal, the encoding or decoding device can obtain terminal information of the recording/reproduction terminal, so that it is not necessary to obtain the terminal information every time video or the like is encoded and decoded.
Still further, the present invention has still another effect that, the generated encoded data is stored in the encoded data storage unit in the encoding or decoding device, which makes it possible to exchanging the encoding or decoding device among various recording/reproduction terminals in order to reproduce the encoded data stored in the encoded data storage unit in the encoding or decoding device, so that AV interaction among the recording/reproduction terminals can be simplified.
Still further, the present invention has another effect that, by obtaining the information regarding maximum data transfer between the recording/reproduction terminal and the encoding or decoding device, a frame rate or resolution of video decoded by the encoding or decoding device can be converted based on the maximum data transfer amount information, so that it is possible to reproduce video having quality that is higher than quality of video which is produced at real time by the recording/reproduction terminal or video which is decoded.
Still further, the present invention has another effect that, by obtaining the resolution information suitable for a display device of the recording/reproduction device, resolution of video decoded by the encoding or decoding device can be converted based on the recording/reproduction device, so that it is possible to output video having resolution suitable for each terminal into which the encoding or decoding device is inserted.
Still further, the present invention has another effect that, by obtaining built-in encoding device information stored in the recording/reproduction terminal, and transferring encoded data whose coding format can be decoded by the recording/reproduction terminal, it is possible to restrain transfer amount more than when decoded video whose data amount is large is transferred.
Still further, the present invention has another effect that the encoded data generated by the recording/reproduction terminal can be stored as it is into an internal memory in the encoding or decoding device, so that the internal memory can hold data of a plurality of coding formats.
Still further, the present invention has another effect that, by reducing a frame rate and resolution of video received from the recording/reproduction terminal based on an available capacity of the internal memory in the encoding or decoding device, it is possible to prevent shortage of the available capacity of the internal memory during recording.
Still further, the present invention has another effect that, even if the recording/reproduction terminal is an old product which is not compliant with the new Codec format, only by holding a general-purpose slot such as a SD slot, reproduction can be performed by trans-coding data into encoded data in the new codec format by the encoding or decoding device.
Still further, the present invention has another effect that the encoded data storage unit storing the encoded data can be removed from the encoding or decoding device, so that when an available capacity of the memory storing the encoded data is short, replacing of only semiconductor memory not of a whole encoding or decoding device makes it possible to encode and decode new video.
100 removable coding device
101 terminal information acquisition unit
102 signal conversion unit
103 recording/reproduction terminal
104 SD slot
105 terminal information storage unit
106 internal memory
107 camera
108 display
140 recording/reproduction terminal
141 control unit
142 memory
143 terminal information storage unit
150 removable coding device
151 terminal information obtainment unit
152 signal conversion unit
201 control unit
202 MPEG-AVC encoding unit
203 MPEG-AVC decoding unit
204 resolution conversion unit
205 frame rate conversion unit
207 data bus
301 resolution conversion determination unit
302 unit
303 pixel interpolation unit
401 frame rate conversion determination unit
402 unit
403 frame interpolation unit
500 signal conversion unit
501 trans-coding unit
502 control unit
600 removable coding device
602 signal conversion unit
604 mini SD slot
606 mini SD card
700 portable data reproduction device
701 semiconductor memory card
702 decoding means
703 memory
802 video capturing board
803 encoder card
804 inter-card direct path
805 bus
807 memory
808 CPU
1400 removable coding device
1401 recording/reproduction terminal
1402 MPEG-SP decoding device
2200 IC card
2201 refrigerator
2202 television set
2203 vehicle navigation
2204 microwave
2205 PDA
2206 portable telephone
2210 card slot
2300 removable coding device
2301 signal conversion unit
2401 control unit
2402 MPEG-ASP encoding unit
2403 MPEG-SP encoding unit
2404 MPEG-AVC encoding unit
2405 encoding unit
The following describes embodiments according to the present invention with reference to the drawings.
A recording/reproduction device according to the first embodiment does not have a built-in coding device, but encodes video data captured by a built-in camera or other data by a removable coding device which can be removed from the recording/reproduction device, and stores the encoded video data into a built-in memory in the removable coding device. Note that the first embodiment describes: an MPEG4-AVC codec as an example of a signal conversion unit in the removable coding device; a SD slot as an example of a connection slot in the recording/reproduction terminal; and a YUV format as an example of a video data format. Note that, in the first embodiment, the recording/reproduction terminal does not have a built-in coding device.
The recording/reproduction terminal 103 includes: the SD slot 104 which is used to transfer data between the recording/reproduction terminal 103 and the removable coding device 100; a terminal information storage unit 105 which stores the terminal information regarding the recording/reproduction terminal 103; a camera 107 which captures video or still pictures; and a display 108 which displays image or a text.
When the removable coding device 100 is inserted into the SD slot 104, the recording/reproduction terminal 103 transfers the terminal information stored in the terminal information storage unit 105 to the removable coding device 100 via, for example, SD interface. Furthermore, video data captured by the built-in camera 107 or the like, other encoded data except the video data, which has been encoded and obtained by communication or the like, and data such as a text file are transferred to the removable coding device 100, so that the recording/reproduction terminal 103 uses the terminal information obtainment unit 101 in the removable coding device 100 as a storage unit for the data. Then, when the video data is reproduced or the text data is displayed, the recording/reproduction terminal 103 reads the object data from the removable coding device 100 and displays the read data on a display.
The removable coding device 100 receives, using the terminal information obtainment unit 101, the terminal information transferred from the recording/reproduction terminal 103 via the SD interface, and obtains information of maximum amount of data transfer (maximum data transfer amount information), information of resolution (resolution information), and information of the built-in coding device (built-in coding device information) regarding the recording/reproduction terminal 103. Then, when data is transferred from the recording/reproduction terminal 103, conversion processing is performed depending on a kind of the data, and after that the converted data is stored in the internal memory 106. Moreover, when data in the internal memory 106 is transferred to the recording/reproduction terminal 103, the conversion processing is also performed depending on a kind of the data, and after that the converted data is transferred to the recording/reproduction terminal 103. When, for example, data in the internal memory 106 is encoded using MPEG-2, the encoded data is decoded using MPEG-2 and sent out to the recording/reproduction terminal 103.
Next, data transfer from the recording/reproduction terminal 103 to the internal memory 106 of the removable coding device 100 according to the first embodiment is described with reference to
Next, a flow of data transfer from the internal memory 106 of the removable coding device 100 to the recording/reproduction terminal 103 according to the first embodiment is described with reference to
If the data for which the reproduction request has been generated is encoded data and can be decoded by the recording/reproduction terminal 103, then the signal conversion unit 102 determines whether or not the encoded data can be decoded in the removable coding device 100 (Step S24), and if the encoded data can be decoded, then the encoded data in the internal memory 106 is decoded. Then, a frame rate and resolution are converted using the maximum data transfer amount information and the resolution information obtained by the terminal information obtainment unit 101, and video data after being converted is transferred to the recording/reproduction terminal 103 (Step S25). If the encoded data cannot be decoded even in the removable coding device, then a signal indicating impossibility of reproduction is sent to the recording/reproduction terminal 103 (Step S26).
Note that in a case where the recording/reproduction terminal 103 has a built-in coding device, if the data received from the removable coding device 100 is encoded data, then the recording/reproduction terminal 103 decodes the encoded data by the built-in coding device to be reproduced, and if the data received from the removable coding device 100 is video data or text data which is not encoded, then the data is reproduced and displayed without being decoded.
Note that the step S21 may be performed between the step S22 and the step S23. Note also that the signal indicating impossibility of reproduction at step S26 may be any other method such as an error signal, as far as the method can notify the recording/reproduction terminal 103 of the impossibility of reproduction.
Next, an example of a format of the terminal information regarding the recording/reproduction terminal 103 which is obtained by the terminal information obtainment unit 101 is described with reference to
Next, a structure of the signal conversion unit 102 according to the first embodiment is described.
Next, an operation performed by the signal conversion unit 102 when data is transferred from the recording/reproduction terminal 103 to the data bus 207 with reference to
Note that an order of the frame rate conversion at step 532 and the resolution conversion at step S33 may be inversed.
Next, the first predetermined method for deciding the conversion parameter of video data is described.
Note that the above describes that and the resolution is decreased (Steps S43 to S44) after the frame rate is decreased (Steps S41 to S42), but the order of the processing may be inversed.
The conversion of the frame rate and the resolution of the video data indicated in
Next, an operation performed by the signal conversion unit 102 in a case that data is transferred from the inside memory 106 via the data bus 207 to the outside is described.
Note also that the signal indicating impossibility of reproduction at step S58 may be any other method such as an error signal, as far as the method can notify the recording/reproduction terminal 103 of the impossibility of reproduction.
Next, the second predetermined method for deciding the conversion parameters for converting the frame rate and the resolution of the video to be transferred to the recording/reproduction terminal 103 is described.
framerate=4 Mbyte/sec÷(640×480×1.5)Byte/frame=9.1 fps
Next, a determination is made as to whether or not the variable “framerate” is equal to or less than “1” (Step S62), and if the determination result is true, then a value of the variable “resolution” is decreased by “1” (Step S63). Then, the variable “resolution” becomes smaller than “0”, the determination is made that transfer is impossible, and ends the processing (Step S64). If the variable “resolution” is more than “0”, then by repeating the steps S64 to Step S61 again, the frame rate and the resolution are adjusted. If the variable “framerate” becomes greater than “1” at step S62, then clipping of a maximum value of the frame rate is performed (Steps S65 and S66) and ends the processing. The control unit 201 sets the variables “framerate” and “resolution” obtained by the above processing to as conversion parameters and sends the conversion parameters to the frame rate conversion unit 205 and the resolution conversion unit 204, respectively.
Note that the above has described that a minimum value of the frame rate is “1” at the step S62, but the minimum value may be a value that is more than “1”. Note also that the above has described that a maximum value of the frame rate is “30” at the steps S65 and S66, but the maximum value may be a value that is more than “30”.
Next, a structure of the resolution conversion unit 204 is described.
Next, an operation performed by the resolution conversion unit 204 is described with reference to
Next, a structure of the frame rate conversion unit 205 is described.
Next, an operation performed by the frame rate conversion unit 205 is described with reference to a flowchart of
According to the above structure of the first embodiment, when the recording/reproduction terminal 103 holds a general-purpose slot such as a SD slot and a storage unit such as a memory storing the terminal information, even if the recording/reproduction terminal 103 does not have a built-in coding device, the recording/reproduction terminal 103 can encode and decode video captured by an built-in camera or the like, only by inserting the removable coding device 100 into the recording/reproduction terminal 103.
Further, the recording/reproduction terminal 103 does not need to embedded with a codec LSI or a software codec, which results in cost reduction.
Still further, by setting the coding device and the encoded data storage memory (internal memory 106) to be detachable from the recording/reproduction terminal, AV interaction among recording/reproduction terminals can be performed only by replacing the removable coding devices, so that the AV interaction can be performed easily.
Still further, by setting the coding device and the encoded data storage memory to be detachable from the recording/reproduction terminal, even if the codec techniques used in the standards and the like are modified, even old recording/reproduction terminal can deal with the modification by inserting the removable coding device compliant with the new codec techniques into the old recording/reproduction terminal.
Still further, by setting the coding device and the encoded data storage memory to be detachable from the recording/reproduction terminal, a user can replace the removable coding device with another device depending on a purpose of usage, so that it is possible to provide the recording/reproduction terminal 103 based on a user's desire.
Still further, by obtaining by the terminal information obtainment unit 101 the resolution information appropriate for the display 108 of the recording/reproduction terminal 103, the removable coding device 100 can convert the resolution of the decoded video depending on the recording/reproduction terminal 103. This makes it possible to output video data having resolution appropriate for each recording/reproduction terminal 103 to be inserted into the removable coding device 100.
Still further, by obtaining maximum transfer amount information regarding a general-purpose slot included in the recording/reproduction terminal 103, the removable coding device 100 can convert the frame rate and the resolution of decoded video depending on the transfer amount. Thereby, the video data decoded by the removable coding device 100 can be reproduced at real time by decreasing the frame rate or the resolution during the real-time reproduction by the recording/reproduction terminal 103, even if the data transfer amount is short. Still further, if the data transfer amount is enough, by increasing the frame rate and the resolution of the decoded video data, it is possible to reproduce video data having higher image quality.
Still further, by obtaining the built-in coding device information which the recording/reproduction terminal 103 has and transferring as encoded data a coding format which the recording/reproduction terminal 103 can decode, transfer amount can be restrained more than a transfer amount of decoded video whose decoded data amount is large.
Still further, the coded data generated by the recording/reproduction terminal 103 can be stored into the internal memory 106 in the removable coding device 100 without being decoded, so that encoded data which are encoded using a plurality of coding formats can be held in the internal memory 106.
Still further, by decreasing the frame rate and the resolution of the video data received from the recording/reproduction terminal 103 depending on a remaining amount of the internal memory 106 in the removable coding device 100, it is possible to prevent the remaining amount in the internal memory 106 from being consumed during recording of the video data.
Note that in this first embodiment, the MPEG4-AVC is used as an example of the codec techniques, but a video codec such as MPEG-2 or MPEG-4, or an audio codec such as AMR or MPEG4-AAC can be also used.
Note also that the first embodiment has described that the recording/reproduction terminal 103 does not have a built-in coding device, but the recording/reproduction terminal 103 may have a built-in coding device.
Note also that the first embodiment has described that the codec can be replaced with a codec different from the codec included in the removable coding device 100 which is currently used, only by replacing the removable coding devices 100. However, the replacement of the codecs is not limited to the replacement of the removable coding devices 100. In addition to such replacment, by using a removable coding device having a slot of a mini SD card, it is possible to replace the mini SD cards storing upgrade codecs, for example. Note also that the recording/reproduction terminal 103 may download the upgrade codec via a communication line network such as the Internet.
Note also that a SD slot has been described as an example of the unit for transferring data between the recording/reproduction terminal 103 and the removable coding device 100, but the data transfer unit may be USB interface or a general-purpose slot such as a PCI slot.
Note also that the terminal information storage unit 105 may use a part of the memory held in the recording/reproduction terminal 103.
Note also that the removable coding device may perform encoding and decoding using the memory which the recording/reproduction terminal has. This is because the internal memory 106 which the removable coding device has memory restraints to some extent since the removable coding device is a SD card or the like.
The recording/reproduction terminal 140 has a large-amount memory to some extent, and provides a memory area that is a working area for encoding or decoding depending on a request from the removable coding device 150. The recording/reproduction terminal 140 includes a SD slot 104, a camera 107, a display 108, a control unit 141, a memory 142, and a terminal information storage unit 143. The control unit 141 checks an available capacity of the memory 142 regularly, and updates terminal information to indicate the current available capacity of the memory 142.
The removable coding device 150, for example, depending on an picture size of a moving picture to be encoded or decoded, uses the memory 142 included in the recording/reproduction terminal 140 as a frame memory. The removable coding device 150 includes a terminal information obtainment unit 151 and a signal conversion unit 152. The signal conversion unit 152 includes an internal memory 106. The terminal information obtainment unit 151 obtains as the terminal information, from the terminal information storage unit 143 of the recording/reproduction terminal 140, a memory available capacity in addition to the maximum data transfer amount information, the resolution information, and the built-in coding device information. The signal conversion unit 152 performs encoding or decoding by, for example, using the memory 142 of the recording/reproduction terminal 140 when a size of picture to be encoded or decoded is a high-definition (HD) size, and using the internal memory 106 when the size of picture is a standard-definition (SD) size. More specifically, if the picture size is a HD size, the signal conversion unit 152 sends a use request of the memory 142 to the control unit 141 of the recording/reproduction terminal 140, receives a notification regarding available memory area, and write data of the moving picture into the area. However, in the case where the terminal information obtained by the terminal information obtainment unit 151 indicates that an ID indicating an available capacity of the memory 142 is “0” and therefore there is no enough available capacity used as the frame memory for the HD-sized moving picture, a message “Memory capacity is short. Please exit out of any of the applications” or the like is displayed on the display 108 under control of the control unit 141, for example. With the above structure, the removable coding device 150 can perform encoding or decoding without any troubles, by borrowing the memory 142 included in the recording/reproduction terminal 140, even if the data to be encoded or decoded is a moving picture having a large screen and high image quality for which a large amount of memory area is required.
Note that the above another example has described that the control unit 141 monitors an available capacity of the memory 142 and updates the terminal information each time, but this is not limited to the above and the terminal information may indicate only the memory space of the memory 142 or existence of the memory 142. Note also that the it has been described that the removable coding device 150 borrow the memory 142 depending on a size of the picture to be encoded or decoded, but this is not limited to the above and the removable coding device 150 may borrow the memory 142 depending on a data size except the picture size or may always borrow the memory 142 to perform encoding or decoding when the recording/reproduction terminal 140 may include the memory 142. Note also that the above example has described that the determination is made, depending on whether the picture size is a HD size or a SD size, as to whether or not the memory 142 of the recording/reproduction terminal 140 is used, but the present invention is not limited to the above. For example, it is also possible to use the memory 142 of the recording/reproduction terminal 140, when a data amount of the picture to be encoded or decoded by the removable coding device 150 exceeds a predetermined threshold value. Note also that the above example has described that, when the memory 142 of the recording/reproduction terminal 140 is used by the removable coding device 150, the memory 142 is used as a frame memory for encoding or decoding. However, the present invention is not limited to the above but the memory 142 may be used for other usage (motion vector memory, for example). Note also that the above example has described that when the available capacity of the memory 142 is not enough to be used as the frame memory of the HD-sized moving picture, an error message “Memory capacity is short . . . ” or the like is displayed, but the present invention is not limited to the above. For example, when an available capacity of the memory 142 is short, firstly audio signals of the video data may be cut off not to be encoded. Note also that in addition to the memory 142 of the recording/reproduction terminal 140, the internal memory 106 of the removable coding device 150 and a mini SD card may be used.
Note also that the first embodiment has described the video data in the YUV format as an example, but the format may be other video format such as YUY2 or RGB.
Note also that the first embodiment has described that the built-in coding device information is classified into codec techniques such as MPEG-2, MPEG4-SP, and MPEG4-ASP, but the information may be classified in more detail into MPEG-2 encoding, MPEG-2 decoding, MPEG-2 codec, and the like.
The second embodiment differs from the first embodiment in that the recording/reproduction terminal includes an MPEG4-SP decoding device and the signal conversion unit in the removable coding device further includes a video trans-coding unit which performs coding format conversion from a certain coding format to another coding format. The including of the video trans-coding unit makes it possible to reproduce encoded data, even if the recording/reproduction terminal can reproduce the video data only using the built-in MPEG4-SP decoding device. The recording/reproduction terminal according to the second embodiment also includes a SD slot as a connection slot in the same manner as described in the first embodiment.
Next, an operation performed by the signal conversion unit 500 according to the second embodiment is described with reference to
The above description is explained more specifically using an example. For example, in a case where the recording/reproduction terminal 1401 generates a transfer request for encoded data in MPEG4-AVC format in the internal memory 106, firstly the control unit 502 determines, based on the built-in coding device information in the received terminal information, that the recording/reproduction terminal 1401 includes the MPEG4-SP decoding device 1402. Next, a determination is made as to whether or not the trans-coding unit 501 can trans-code the data from the MPEG4-AVC to MPEG4-SP, then if it is possible, such trans-coding is performed, and the generated encoded data in the MPEG4-SP format is outputted. The recording/reproduction terminal 1401 receives the encoded data in MPEG4-SP format from the removable coding device 1400, and decodes the data by the built-in MPEG4-SP decoding device 1402 to be reproduced.
According to the above second embodiment, even if the recording/reproduction terminal 1401 has only the built-in MPEG4-SP decoding device 1402 and at the same time does not have a display unit for directly displaying video in YUV format received from the removable coding device 1400, by trans-coding the data by the removable coding device 1400 into encoded data in MPEG4-SP format, it is possible to reproduce encoded data, such as MPEG4-AVC, using the MPEG4-SP decoding device in the recording/reproduction terminal 1401. Thereby, even an old product which is not compliant with new codec formats such as MPEG4-AVC can reproduce encoded data in new codec formats such as MPEG4-AVC by using the removable coding device of the second embodiment, as far as the old product holds a general-purpose slot such as a SD slot.
Note that the second embodiment has described the conversion from MPEG4-AVC into MPEG4-SP as an example of the video trans-coding techniques, but the conversion may be video trans-coding from MPEG-2 into MPEG-4 or the like, or audio trans-coding into AMR or MPEG4-AAC.
Note also that the second embodiment has described the example in which the recording/reproduction terminal includes the MPEG4-SP decoding device, but the recording/reproduction terminal may include other decoding devices.
Note also that the second embodiment has described the example in which the recording/reproduction terminal includes the decoding device such as the MPEG4-SP decoding device, but the recording/reproduction terminal may decode encoded data by executing a program for decoding data such as MPEG4-SP data using a built-in CPU. In such a case, the removable coding device 1400 may switch trans-coding methods based on processing performance information which is regarding the CPU in the recording/reproduction terminal and stored in the terminal information storage unit 105. For example, in a case where the internal memory 106 in the removable coding device 1400 stores encoded data, such as MPEG-4AVC data, whose decoding processing load is heavy, it is possible that the removable coding device 1400 obtains the CPU processing performance information which is regarding the recording/reproduction terminal and stored in the terminal information storage unit 105, and if the CPU processing performance is high, then the encoded data, such as MPEG4-AVC data, whose decoding processing load is heavy is transferred without any operation, and on the other hand if the CPU processing performance is low, then trans-coding performed from the encoded data such as MPEG4-AVC data whose decoding processing load is heavy into encoded data such as MPEG4-SP data whose decoding processing load is low and, after the trans-coding, the encoded data is transferred.
Note also that the second embodiment has described the SD slot as an example of a unit for transferring data between the recording/reproduction terminal 1401 and the removable coding device 1400, but the data transfer unit may be USB interface or a general-purpose slot such as a PCI slot.
Note also that the recording/reproduction terminal 1401 does not need to have a special memory that is the terminal information storage unit 105 for storing the terminal information, but a part of memory held by the recording/reproduction terminal 1401 may be used as the terminal information storage unit 105.
A recording/reproduction device according to the third embodiment is basically same as the recording/reproduction device according to the first embodiment, but differs from the recording/reproduction device according to the first embodiment in that a mini SD card is detachably connected to the removable coding device via a mini SD slot and the mini SD card is used instead of the internal memory. Note that the third embodiment uses: an MPEG4-AVC codec as a signal conversion unit in the removable coding device; a SD slot as a connection slot in the recording/reproduction terminal; and a mini SD slot as a memory slot of the removable coding device.
Block diagrams according to the third embodiment are shown in
The signal conversion unit 602 according to the third embodiment performs MPEG4-AVC codec processing by each processing unit described in the first embodiment, by using, instead of the internal memory 106 of the first embodiment, a mini SD card 606 inserted to a mini SD slot of the removable coding device 600 as a storing and working memory for encoded data.
As described above, according to the removable coding device 600 of the third embodiment, the internal memory storing encoded data can be detached from the removable coding device. Thereby, when an available capacity of the memory storing encoded data is short, it is possible to encode and decode new video by replacing the semiconductor memory such as the mini SD card, without replacing the whole removable coding device.
Note also that the third embodiment has described the MPEG4-AVC as an example of the codec techniques, but the codec technique may be a video codec such as an MPEG-2 codec or an MPEG-4 codec, or an audio codec such as a AMR codec or an MPEG4-AAC codec.
Note also that here the SD slot has been described as an example of the unit for transferring data between the recording/reproduction terminal and the removable coding device, but the data transfer unit may be USB interface or a general-purpose slot such as a PCI slot.
Note also that here the mini SD slot has been described as an example of the unit for transferring data between the removable coding device and the semiconductor memory, but the data transfer unit may be USB interface or a general-purpose slot such as a PCI slot.
Note also that as the terminal information storage unit, a part of memory held in the recording/reproduction terminal may be used.
Note also that the third embodiment has described the video in the YUV format as an example, but the video may be in other video format such as YUY2 or RGB.
Note also that the third embodiment has described that the built-in coding device information is classified into codec techniques such as MPEG-2, MPEG4-SP, and MPEG4-ASP, but the information may be classified in more detail into MPEG-2 encoding, MPEG-2 decoding, MPEG-2 codec, and the like.
A recording/reproduction device according to the fourth embodiment has a recording/reproduction terminal which is basically same as the recording/reproduction terminal according to the first embodiment, but the fourth embodiment differs from the first embodiment in that a removable coding device includes a plurality of encoding units each of which uses different coding format from one another.
A specific operation performed by the signal conversion unit 2301 having the above structure is described with reference to the drawings.
Note that, in addition to the above processing, it is also possible to present a user with a plurality of coding formats which the encoding units in the signal conversion unit 2301 can execute, so that the user can select one coding format from the presented coding formats.
As described above, according to the recording/reproduction device of the fourth embodiment, the signal conversion unit 2301 in the removable coding device 2300 includes a plurality of encoding units which perform encoding using a plurality of codec techniques, so that it is possible to perform encoding by selecting a codec technique that is the most appropriate for input video data, for example, a codec technique having high data-compressibility. Moreover, the user obtains an effect that encoding can be performed using a codec technique which the user likes.
Note that the fourth embodiment has described that the signal conversion unit 2301 has the plurality of encoding units, but the signal conversion unit 2301 may have, instead of the encoding units, a plurality of decoding units which decode data encoded using various different coding formats. Note also that the signal conversion unit 2301 may have both of the plurality of encoding units and the plurality of decoding units. Thus, by including the plurality decoding units in the removable coding device 2300, it is possible, for example, that various household appliances can decode video data downloaded from the Internet or the like, only by sharing the removable coding device 2300 among the household appliances.
Note that the fourth embodiment has described that the signal conversion unit 2301 includes the MPEG4-ASP encoding unit 2402, the MPEG4-SP encoding unit 2403, the MPEG4-AVC encoding unit 2404, and the MPEG-2 encoding unit 2405, but the signal conversion unit 2301 does not have to include all of these units and may include two or more units among them. Furthermore, the signal conversion unit 2301 may include other encoding units and decoding units that are compliant to coding formats different from the above coding formats.
Note also that the recording/reproduction terminal described in the above embodiments has been assumed as a device which performs both of recording and reproducing of audiovisual data and the like, but the recording/reproduction terminal may be a device which performs only displaying or a device which performs only recording.
Note also that the functional blocks in the block diagrams (
Note also that the integrated circuit is here referred to as a LSI, but the integrated circuit can be called an IC, a system LSI, a super LSI or an ultra LSI depending on their degrees of integration.
Note also that the integrated circuit technique is not limited to the LSI, and it may be realized as a dedicated circuit or a general-purpose processor. It is also possible to use a Field Programmable Gate Array (FPGA) that can be programmed after manufacturing the LSI, or a reconfigurable processor in which connection and setting of circuit cells inside the LSI can be reconfigured.
Note also that, if due to the progress of semiconductor technologies or their derivations, new technologies for integrated circuits appear to be replaced with the LSIs, it is, of course, possible to use such technologies to realize the functional blocks as an integrated circuit. For example, biotechnology can be applied to the above realization.
Note also that only a means for storing data to be encoded or decoded, among these functional blocks, may be realized as another structure, without being integrated into the single chip.
The present invention is useful, in the field of broadcast, communication, and accumulation, as a device which records and reproduces video and audio, or the like. Further, the present invention is also useful as an integrated circuit in which functions for recording and reproducing video and audio are integrated into a single chip. Furthermore, the present invention can be applied as a device which records and reproduces still pictures. The present invention is further useful as a recording medium, such as an IC card, which records audiovisual data and an encoding/decoding program.
Number | Date | Country | Kind |
---|---|---|---|
2004-199821 | Jul 2004 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP05/11286 | 6/20/2005 | WO | 11/2/2006 |