Data recording apparatus, reproduction apparatus, recording/reproduction method, and imaging apparatus

Abstract
The present invention provides a recording/reproduction apparatus and a method therefor with superior cost-effectiveness and data durability with respect to vibrations, and an efficient configuration of the memory for storing data for recording/reproduction processing when compressing image data or the like and recording the data to a recording medium or reproducing the data therefrom. In the present invention, the memory for compression and expansion processing and the buffer memory for recording and reproduction are allocated to the same memory chip. When recording/reproduction becomes impossible because of vibrations or the like, the capacity of the buffer memory for recording/reproduction is maximized by expansion. The memory capacity for compression/expansion processing is modified according to the required image quality.
Description


CROSS-REFERENCES TO RELATED APPLICATIONS

[0001] Not Applicable



STATEMENT AS TO RIGHTS TO INVENTIONS MADE UNDER FEDERALLY SPONSORED RESEARCH OR DEVELOPMENT

[0002] Not Applicable



REFERENCE TO A “SEQUENCE LISTING,” A TABLE, OR A COMPUTER PROGRAM LISTING APPENDIX SUBMITTED ON A COMPACT DISK

[0003] Not Applicable



BACKGROUND OF THE INVENTION

[0004] 1. Field of the Invention


[0005] The present invention relates to an optimal configuration for a compression/expansion processing memory and recording/reproduction buffer memory associated with a recording apparatus or a reproduction apparatus that compresses data, and records the data on a recording medium, and that can reproduce and expand data from the recording medium. The present invention further provides a method for carrying out such operations.


[0006] 2. Description of the Related Art


[0007] Apparatus for compressing and recording data to a recording medium include audio recorders, electronic still cameras, and video cameras. Because these devices are small, light, and can record information for a long period of time, they are becoming widely disseminated.


[0008] A problem with portable devices is that the devices become unable to record to or reproduce from a recording medium because of vibration or the like. Use of a recording medium which requires tracking control, such as a hard disk drive or optical disc as the recording medium, is particularly affected: tracking is thrown off due to vibrations and the device easily enters a state where recording and reproduction are not possible. One approach for resolving this problem is disclosed in Japanese Patent Laid-open Publication No. H08-307811, wherein recording data are temporarily placed in memory, and then read from memory and recorded to the recording medium. When vibrations are detected, the reading from memory and recording to the recording medium are stopped. In addition, a recording and reproduction apparatus requires memory for holding the intermediate data necessary in compression and expansion processing. A related technology is disclosed in Japanese Patent Laid-open Publication No. H11-146246, wherein the intermediate data for compression processing and the data to be recorded to the recording medium are both held in one memory.



BRIEF SUMMARY OF THE INVENTION

[0009] In the above conventional art, technology wherein one memory holds both the intermediate data for compression processing and the data for recording is disclosed, however the efficient, cost-effective allocation of memory capacity is not provided. In effect, the allocation of a memory of fixed capacity to each of the intermediate data and recording data worsens cost-effectiveness in relation to capacity. The conventional art concerns an electronic still camera, and has the object of not losing a shot, but little consideration is given to memory capacity becoming insufficient and image quality deteriorating.


[0010] The present invention provides a recording or reproduction apparatus with superior cost-effectiveness and an efficient configuration of the memory for holding data for recording and reproduction processing. To achieve this functionality, a data recording apparatus according to the present invention comprises: a data compressor which compresses input data; a data recorder which records compressed data to a recording medium; a memory which holds first data which undergoes compression, and second data, which is recorded to the recording medium; and a memory controller which controls the size of the regions in the memory for holding the first data and second data.


[0011] To compress input data, the data compressor comprises a standard compression mode for compression processing using a plurality of intermediate data, and a simple compression mode for performing the compression process using part of the intermediate data. The memory controller sets the first data region in memory according to the mode of the data compressor and sets the remaining region of the memory as the second data region. When the data compressor is operating in the standard compression mode and the data recorder becomes unable to record, the data compressor automatically switches to the simple compression mode.


[0012] The standard compression mode is a high-image-quality processing mode for performing noise reduction processing or dynamic range expansion processing using the correlation with image data of the consecutive video frames or consecutive video fields, for example. The simple compression mode is a mode which omits the correlation with image data of consecutive video frames or video fields.


[0013] A data reproduction apparatus according to a preferred embodiment of the present invention includes: a data reproducer which reproduces compressed data from a recording medium; a data expander which expands reproduced data; memory which holds first data reproduced from the recording medium and second data which undergoes expansion processing; and a memory controller which controls the size of the region in memory for holding the first and second data. Also, in the data recording method relating to the present invention, first data, which undergo compression, and second data, which are recorded to the recording medium, are held in memory, and the sizes of the regions in memory for holding the first and second data are controlled according to the recording data quality level. Alternatively, the sizes of the regions in memory for holding the first and second data are controlled according to whether recording is possible. Furthermore, in the data reproduction method relating to the present invention, first data, which are reproduced from the recording medium, and second data, which undergo expansion, are held in memory, and the sizes of the regions in memory for holding the first and second data are controlled according to the reproduction data quality level. Alternatively, the sizes of the regions in memory for holding the first and second data are controlled according to whether reproduction is possible.







BRIEF DESCRIPTION OF THE DRAWINGS

[0014] These and other features and advantages of the present invention will become readily apparent from the following detailed description taken in conjunction with the accompanying drawings, wherein:


[0015]
FIG. 1 is a block diagram showing an embodiment of an imaging apparatus according to the present invention;


[0016]
FIG. 2 is an example of an address map (standard compression/expansion mode) in the memory in FIGS. 1, 6, and 7;


[0017]
FIG. 3 is an example of an address map (simple compression/expansion mode) in the memory in FIGS. 1, 6, and 7;


[0018]
FIG. 4 is another example of an address map (standard compression/expansion mode) in the memory in FIGS. 1, 6, and 7; and


[0019]
FIG. 5 is another example of an address map (standard compression/expansion mode) in the memory in FIGS. 1, 6, and 7.


[0020]
FIG. 6 is a block diagram showing an embodiment of the recording apparatus relating to the present invention;


[0021]
FIG. 7 is a block diagram showing an embodiment of the reproduction apparatus according to the present invention;







DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] The preferred embodiments of the present invention are explained below with reference to the drawings. FIG. 1 is a block diagram of an imaging apparatus relating to the present invention. This embodiment shows an apparatus for performing both recording and reproduction. A video signal captured with an imaging device 2 undergoes data compression, is stored in a memory 1 and is recorded on a disk drive 3, or data reproduced from disk drive 3 are expanded after being taken from memory 1 and are displayed on a display 4. Circuit blocks 5 through 14 perform compression and recording, and reproduction and expansion, and can be integrated in a single integrated circuit (LSI).


[0023] This circuit includes the following: a camera processing circuit 5a and a display processing circuit 5b, a compression processing circuit 6a, an expansion processing circuit 6b, a recording control circuit 7a, a reproduction control circuit 7b, a data time division multiplexing circuit 8, an address generating circuit 9 for camera processing and display processing, an address generating circuit 10 for compression and expansion processing, an address generating circuit 11 for recording and reproduction control, an address time division multiplexing circuit 12, a ring buffer minimum address setting circuit 13, a ring buffer maximum address setting circuit 14, and a compression and expansion mode switching circuit 15.


[0024] The operation of the apparatus shown in FIG. 1 during recording is described next. Camera processing circuit 5a converts the signal output from imaging device 2 to digital picture data. At this time, image preprocessing is carried out, such as frame or field noise reduction processing (FNR) for reducing noise using the correlation of picture data from the preceding frame or the preceding field, or wide dynamic range processing (WDR) for synthesizing captured images with different exposure times and expanding the dynamic range. For this reason, one frame or one field of image data is stored in memory 1 as intermediate data and used in this processing.


[0025] Compression processing circuit 6a compresses the image data, for which preprocessing is completed, using an encoding scheme such as MPEG2. In MPEG2, it is necessary to perform a reordering process for the image to undergo bidirectional prediction, and to hold the reference pictures used in prediction]. Image data are held as intermediate data in memory 1 and used for this process.


[0026] Recording control circuit 7a temporarily stores compressed data in memory 1 and intermittently reads and sends the data to disk drive 3. The data sent are recorded on the disk which is the recording medium in disk drive 3. When the disk drive 3 cannot record because of factors such as vibrations, the reading and sending of data from memory 1 are stopped.


[0027]
FIG. 2 shows an address map in memory 1. Image data read and written by compression processing circuit 6a and expansion processing circuit 6b are stored in compression/expansion image memory region 20. Image data read and written by camera processing circuit 5a and display processing circuit 5b are stored in FNR, WDR image memory region 21. Compressed data read and written by recording control circuit 7a and reproduction control circuit 7b are stored in recording/reproduction ring buffer region 22. Each of the memory regions here is used for both the recording operation and the reproduction operation. Needless to say, however, these regions are used for one operation only in a recording apparatus or reproduction apparatus.


[0028] The time division multiplexing circuit 8 shown in FIG. 1 performs time division multiplexing of data read and written by camera processing circuit 5a, compression processing circuit 6a, and recording control circuit 7a ; outputs this data to memory 1; and thereby reconciles the reading/writing of each circuit. Address generating circuit 9 generates the address of FNR, WDR image memory region 21; address generating circuit 10 generates the address of compression/expansion image memory region 20; and address generating circuit 11 generates the address of recording/reproduction ring buffer region 22. Address time division multiplexing circuit 12 performs time division multiplexing of these addresses and supplies them to memory 1. Data are thereby read from and written to each region.


[0029] Address generating circuit 11 for recording/reproduction control generates an address between the address shown by the ring buffer minimum address setting circuit 13 and the address shown by the ring buffer maximum address setting circuit 14. The address shown by ring buffer minimum address setting circuit 13 is the primary address 22a of the memory region, excluding compression/expansion image memory region 20 and FNR, WDR image memory region 21. The address shown by read buffer maximum address setting circuit 14 matches the address 22e of memory 1.


[0030] The switching of the compression mode is explained next. FIG. 2 is an example of an address map in the standard compression mode and FIG. 3 is an example of the address map in the simple compression mode. In the address map of the simple compression mode in FIG. 3, the FNR, WDR image memory region 21 is eliminated and the recording/reproduction ring buffer region 22 is expanded into that portion.


[0031] The switching of the compression mode is carried out according to a command from compression/expansion mode changing circuit 15 shown in FIG. 1. Upon receiving the command to switch to the simple compression mode, camera processing circuit 5a stops image preprocessing, such as noise reduction processing (FNR), or wide dynamic range processing (WDR) to synthesize captured images with different exposure times and expand the dynamic range. Address generating circuit 9 stops address generation for FNR, WDR image memory region 21; data time division multiplexing circuit 8 stops multiplexing data read/written by camera processing circuit 5a ; and address time division multiplexing circuit 12 stops multiplexing addresses from address generating circuit 9. Further, upon receiving the command to switch to the simple compression mode, ring buffer minimum address setting circuit 13 switches to show the primary address 22b of the region, excluding compression/expansion image memory region 20. Recording/reproduction ring buffer region 22 is expanded by switching to the simple compression mode. As a result, the memory capacity for temporarily holding recording data can be expanded to maximum size according to the picture quality level of the recording data. Memory can therefore be used efficiently and the situation wherein data quality is sacrificed due to a lack of memory can be avoided.


[0032] The automatic switching of the compression mode is explained next. Address generating circuit 11 for recording/reproduction control calculates how much data is currently stored in recording/reproduction ring buffer region 22. If the disk drive remains in a state where recording is not possible for a long period as an effect of vibrations or the like continuing for a long time, the amount of data stored in recording/reproduction ring buffer region 22 increases and the memory region quickly becomes full. When this type of situation arises in the standard compression mode shown in FIG. 2, address generating circuit 11 outputs a command to compression/expansion mode changing circuit 15, which switches from the standard compression mode to the simple compression mode. Accordingly, because recording/reproduction ring buffer region 22 automatically expands in response to the state where recording is impossible due to factors such as vibrations, as shown in FIG. 3, durability (margin) of the recording capacity can be provided. Moreover, if the recording state of disk drive 3 stabilizes and the amount of data stored in recording/reproduction ring buffer region 22 returns to normal, the system may switch to the standard compression mode. Although not shown, a switch to manually choose whether to perform this switching automatically can be provided and the user can employ this as well. Furthermore, a display portion showing whether the current operating mode is the standard mode or simple mode can also be provided.


[0033] Another embodiment of compression mode switching is explained next. FIG. 4 shows the address map of another embodiment of the standard compression mode. The locations of compression/expansion image memory region 20 and FNR, WDR image memory region 21 are repositioned relative to the embodiment in FIG. 2. Image data for sequential reordering of images for bidirectional prediction are stored as intermediate data in compression/expansion image memory region 20. The image data (B picture)which undergo bidirectional prediction must be retained because of being encoded after the future image. Reordering memory regions 30, 31 hold this B picture. In the standard compression mode, the encoding of up to two successive B pictures (maximum interval of I or P picture=3) can be carried out.


[0034] Moreover, FIG. 5 shows an address map of the simple compression mode. One reordering memory region 31 is eliminated and recording/reproduction ring buffer memory 22 is expanded by that amount, as exemplified by the change shown from minimum address 22c to 22d. In the simple compression mode, the encoding of up to one successive B picture (maximum interval of I or P picture=2) is carried out.


[0035] By switching between the states in FIG. 4 and FIG. 5, it becomes possible to use memory effectively according to the quality of the compressed images. In this case, as well, if recording/reproduction ring buffer region 22 becomes full because of the effects of vibrations or the like, durability can be improved by automatically switching from the standard compression mode to the simple compression mode.


[0036] The operation of the apparatus shown in FIG. 1 during reproduction is explained next. Reproduction control circuit 7b exerts control to read data intermittently from disk drive 3. Reproduction control circuit 7b temporarily stores reproduction data received from disk drive 3 in memory 1 and sends the data to expansion processing circuit 6b. When disk drive 3 is unable to reproduce data because of the influence of vibrations or the like, the supply of data from disk drive 3 stops. Expansion processing circuit 6b expands data supplied from reproduction control circuit 7b. When expanding data compressed with MPEG2, it is necessary to retain reference pictures used in prediction, and image data are stored in memory 1 and used for this processing.


[0037] Display processing circuit 5b converts expanded image data to a video signal in a format corresponding to display 4. At this time, image post-processing such as noise reduction using the correlation with the image data from the preceding frame or the preceding field is carried out. Image data of one frame or one field is stored in memory 1 and used for this purpose. Display 4 displays the video signal after image processing.


[0038] The address map in memory 1 is now as shown in FIG. 2 in the standard expansion mode, during recording. The functions of the following elements are analogous to their roles during recording: data time division multiplexing circuit 8 and address generating circuit 9 for display processing, address generating circuit 10 for compression/expansion processing, address generating circuit 11 for recording/reproduction control, address time division multiplexing circuit 12, ring buffer minimum address setting circuit 13, and the ring buffer maximum address setting circuit 14.


[0039] Expansion mode switching is explained next. The address map for the simple expansion mode is as shown in FIG. 3, as it is during recording. This switching of the expansion mode is carried out on command from compression/expansion mode changing circuit 15. Display processing circuit 5b, which received the command, stops image post-processing, such as noise reduction processing. Address generating circuit 9 stops address generation for the FNR, WDR image memory region 21; data time division multiplexing circuit 8 stops multiplexing data read/written by the camera processing and display processing circuit 5; and address time division multiplexing circuit 12 stops multiplexing addresses from address generating circuit 9. Ring buffer minimum address setting circuit 13, which received the command, changes to show the primary address 22b of the region, excluding compression/expansion image memory region 20.


[0040] As a result, the memory capacity for temporarily holding reproduction data can be expanded to the maximum size according to the picture quality level of the reproduction data. Memory can therefore be used efficiently and the situation wherein data quality is sacrificed due to a lack of memory can be avoided.


[0041] The automatic switching of the expansion mode is explained next. Address generating circuit 11 for recording/reproduction control calculates how much data is currently stored in recording/reproduction ring buffer region 22. When disk drive 3 remains in a state where reproduction is not possible for a long period as an effect of vibrations or the like continuing for a long time, the amount of data stored in recording/reproduction ring buffer region 22 decreases and the memory region is quickly emptied. When this type of situation arises in the standard expansion mode shown in FIG. 2, compression/expansion mode changing circuit 15 changes from the standard expansion mode to the simple expansion mode upon a command from address generating circuit 11. Accordingly, because recording/reproduction ring buffer region 22 expands as shown in FIG. 3, durability (margin) of recording capacity can be provided in response to a situation where reproduction is not possible because of vibrations or the like. Moreover, if the reproduction state of disk drive 3 stabilizes and the amount of data stored in the recording/reproduction ring buffer region 22 returns to normal, the system may switch to the standard expansion mode. Moreover, a switch to manually choose whether to perform this switching automatically can be provided and the user can employ this as well. Furthermore, a display portion showing whether the current operating mode is the standard mode or simple mode can also be provided. An anomaly in the reproduction state can be identified by looking at the data occupancy in recording/reproduction ring buffer region 22, or by looking at how often data are not returned from disk drive 3 because reproduction is impossible.


[0042]
FIG. 6 is a block diagram of a data recording apparatus according to the present invention. A video signal inputted from a video data input terminal 16 undergoes data compression using memory 1 and is recorded on disk drive 3. Circuit blocks 5 through 14 perform compression and recording and can be implemented as a single LSI.


[0043] This circuit includes the following: video preprocessing circuit 5c, compression processing circuit 6a, recording control circuit 7a, data time division multiplexing circuit 8, address generating circuit 9 for video preprocessing, address generating circuit 10 for compression processing, address generating circuit 11 for recording control, address time division multiplexing circuit 12, ring buffer minimum address setting circuit 13, ring buffer maximum address setting circuit 14, and compression mode changing circuit 15a.


[0044] The operation of the apparatus shown in FIG. 6 is explained. Video preprocessing circuit 5c converts the signal input from video data input terminal 16 to digital picture data. At this time, image preprocessing is carried out, such as frame or field noise reduction processing (FNR) using the correlation of picture data from the previous frame or the previous field. For this reason, one frame or one field of image data is stored in the memory 1 as intermediate data and used in this processing.


[0045] Compression processing circuit 6a compresses the image data, for which preprocessing is completed, using an encoding scheme such as MPEG2. In MPEG2, it is necessary to perform a reordering process for the image (picture) to undergo bidirectional prediction, and to hold reference pictures used in prediction. Image data are held as intermediate data in memory 1 and used for this reordering process.


[0046] Recording control circuit 7a temporarily stores compressed data in memory 1 and intermittently reads and sends the data to disk drive 3. The data sent are recorded to the disk which is the recording medium in disk drive 3. When disk drive 3 cannot record because of factors such as vibrations, the reading and sending of data from memory 1 are stopped.


[0047] The address map in memory 1 has the space allocation shown in FIG. 2 in the standard compression mode for the recording/reproduction apparatus of FIG. 1. Image data read and written by compression processing circuit 6a are stored in compression image memory region 20. Image data read and written by video preprocessing circuit 5c are stored in FNR image memory region 21. Compressed data read and written by recording control circuit 7a are stored in recording ring buffer region 22.


[0048] The time division multiplexing circuit 8 shown in FIG. 6 performs time division multiplexing of data read and written by video preprocessing circuit 5c, compression processing circuit 6a, and recording control circuit 7a; outputs this data to memory 1; and thereby reconciles the reading/writing of each circuit. Address generating circuit 9 generates the address of FNR image memory region 21; address generating circuit 10 generates the address of compression image memory region 20; and address generating circuit 11 generates the address of recording ring buffer region 22. Address time division multiplexing circuit 12 performs time division multiplexing of these addresses and supplies them to memory 1. Data are thereby read from and written to each region.


[0049] Address generating circuit 11 for recording control generates an address between the address shown by ring buffer minimum address setting circuit 13 and the address shown by ring buffer maximum address setting circuit 14. The address shown by ring buffer minimum address setting circuit 13 is the primary address 22a of the region, excluding compression image memory region 20 and the FNR image memory region 21. The address shown by read buffer maximum address setting circuit 14 matches the address 22e of memory 1.


[0050] Compression mode switching is explained next. The address map in memory 1 is as shown in FIG. 3 in the simple compression mode, as for the recording/reproduction apparatus shown in FIG. 1. In FIG. 3, FNR image memory region 21 is eliminated and recording ring buffer region 22 is expanded into that portion.


[0051] The switching of the compression mode is carried out according to a command from compression mode changing circuit 15a shown in FIG. 6. Upon receiving the command to switch to the simple compression mode, video preprocessing circuit 5c stops image preprocessing, such as noise reduction processing (FNR). Address generating circuit 9 stops address generation for FNR image memory region 21; data time division multiplexing circuit 8 stops multiplexing data read/written by video preprocessing circuit 5c; and address time division multiplexing circuit 12 stops multiplexing addresses from address generating circuit 9. Moreover, upon receiving the command to switch to the simple compression mode, ring buffer minimum address setting circuit 13 switches to show the primary address 22b of the region, excluding the compression image memory region 20. Recording ring buffer region 22 is expanded by switching to the simple compression mode.


[0052] As a result, the memory capacity for temporarily holding recording data can be expanded to the maximum level according to the quality level (picture quality) of the recording data. Memory can therefore be used efficiently and the situation wherein data quality is sacrificed due to a lack of memory can be avoided.


[0053] The automatic switching of the compression mode is explained next. Address generating circuit 11 for recording control calculates how much data is currently stored in recording ring buffer region 22. When the disk drive remains in a state where recording is not possible for a long period as an effect of vibrations or the like continuing for a long time, the amount of data stored in recording ring buffer region 22 increases and the memory region quickly becomes full. When this type of situation arises in the standard compression mode shown in FIG. 2, address generating circuit 11 outputs a command to compression mode changing circuit 15a, and compression mode changing circuit 15a changes from the standard compression mode to the simple compression mode. Accordingly, because recording ring buffer region 22 automatically expands, as shown in FIG. 3, in response to the state where recording is impossible due to factors such as vibrations, durability (margin) of the recording capacity can be provided. Moreover, if the recording state of disk drive 3 stabilizes and the amount of data stored in recording ring buffer region 22 returns to normal, this system may switch to the standard compression mode.


[0054] Although not shown, a switch to manually choose whether to perform this switching automatically can be provided and the user can employ this as well. Furthermore, a display portion showing whether the current operating mode is the standard mode or simple mode also can be provided.


[0055] Another embodiment for compression mode switching is explained next. FIG. 4 shows the address map of another embodiment of the standard compression mode, like the recording/reproduction apparatus as shown in FIG. 1. The locations of the compression image memory region 20 and the FNR image memory region 21 are reordered relative to the embodiment in FIG. 2. Image data for sequential reordering of images for bidirectional prediction are stored as intermediate data in the compression image memory region 20. The image data (B picture) which undergo bidirectional prediction must be retained because of being encoded after the future image. The reordering memory regions 30, 31 are regions for holding this B picture. In the standard compression mode, the encoding of up to two successive B pictures (maximum interval of I or P picture=3) can be carried out thereby.


[0056] Meanwhile, FIG. 5 shows an address map of the simple compression mode, like the recording/reproduction apparatus as shown in FIG. 1. One reordering memory region 31 is eliminated and the recording ring buffer memory 22 is expanded by that amount from the minimum address 22c to 22d. In the simple compression mode, the encoding of up to one successive B picture (maximum interval of I or P picture=2) is carried out thereby.


[0057] By switching between the states in FIG. 4 and FIG. 5, it becomes possible to use memory effectively according to the quality of the compressed images. In this case as well, if the recording ring buffer region 22 becomes full because of the effects of vibrations or the like, durability can be improved by automatically switching from the standard compression mode to the simple compression mode.


[0058]
FIG. 7 is a block diagram of a data reproduction apparatus according to the present invention. Data reproduced from disk drive 3 are expanded using memory 1 and are displayed on display 4. Circuit blocks 5 through 14 perform reproduction and expansion.


[0059] This circuit includes the following: display processing circuit 5b, expansion processing circuit 6b, reproduction control circuit 7b, data time division multiplexing circuit 8, address generating circuit 9 for display processing, address generating circuit 10 for expansion processing, address generating circuit 11 for reproduction control, address time division multiplexing circuit 12, ring buffer minimum address setting circuit 13, ring buffer maximum address setting circuit 14, and expansion mode changing circuit 15b.


[0060] The operation of the apparatus shown in FIG. 7 is explained next. The reproduction control circuit 7b exerts control to read data intermittently from disk drive 3. Reproduction control circuit 7b temporarily stores reproduction data received from disk drive 3 to memory 1 and sends the data to expansion processing circuit 6b. When disk drive 3 is unable to reproduce data because of the influence of vibrations or the like, the supply of data from disk drive 3 stops. Expansion processing circuit 6b expands data supplied from reproduction control circuit 7b. In the case of expanding data compressed with MPEG2, it is necessary to retain reference pictures used in prediction, and image data are stored in memory 1 and used for this processing.


[0061] Display processing circuit 5b converts expanded image data to a video signal in a format corresponding to display 4. At this time, image post-processing such as noise reduction, using the correlation with the image data from the previous frame or the previous field, is carried out. Image data of one frame or one field is stored in memory 1 and used for this purpose. Display 4 displays the video signal after image processing.


[0062] The address map in memory 1 has the space allocation shown in FIG. 2 in the standard expansion mode for the recording/reproduction apparatus shown in FIG. 1. The functions of the following elements are analogous to their in relation to the recording/reproduction apparatus: data time division multiplexing circuit 8, address generating circuit 9 for display processing, address generating circuit 10 for expansion processing, address generating circuit 11 for reproduction control, address time division multiplexing circuit 12, ring buffer minimum address setting circuit 13, and ring buffer maximum address setting circuit 14.


[0063] Expansion mode switching is explained next. The address map for the simple expansion mode is as shown in FIG. 3, as for the recording/reproduction apparatus as shown in FIG. 1. This switching of the expansion mode is carried out on command from expansion mode changing circuit 15b. Display processing circuit 5b, which received the command, stops image post-processing, such as noise reduction. Address generating circuit 9 stops address generation for FNR image memory region 21; data time division multiplexing circuit 8 stops multiplexing data read/written by display processing circuit 5b ; and address time division multiplexing circuit 12 stops multiplexing addresses from address generating circuit 9. Ring buffer minimum address setting circuit 13, which received the command, changes to show the primary address 22b of the region, excluding the expansion image memory region 20.


[0064] As a result, the memory capacity for temporarily holding reproduction data can be expanded to the maximum level according to the quality level (picture quality) of the reproduction data. Memory can therefore be used efficiently and the situation wherein data quality is sacrificed due to a lack of memory can be avoided.


[0065] The automatic switching of the expansion mode is explained next. Address generating circuit 11 for reproduction control calculates how much data is currently stored in reproduction ring buffer region 22. When disk drive 3 remains in a state where reproduction is not possible for a long period as an effect of vibrations or the like continuing for a long time, the amount of data stored in reproduction ring buffer region 22 decreases and the memory region is quickly emptied. When this type of situation arises in the standard expansion mode shown in FIG. 2, expansion mode changing circuit 15b changes from the standard expansion mode to the simple expansion mode upon a command from address generating circuit 11. Accordingly, because reproduction ring buffer region 22 expands, as shown in FIG. 3, durability (margin) of the recording capacity can be provided in response to a situation where reproduction is not possible because of vibrations or the like. Moreover, if the reproduction state of disk drive 3 stabilizes and the amount of data stored in reproduction ring buffer region 22 returns to normal, the system may switch to the standard expansion mode.


[0066] In addition, a switch to manually chose whether to perform this switching automatically can be provided and the user can employ this as well. Furthermore, a display portion showing whether the current operating mode is the standard mode or simple mode can also be provided. An anomaly in the reproduction state can be identified by looking at the data occupancy in reproduction ring buffer region 22, or by looking at how often data are not returned from disk drive 3 because of reproduction is impossible.


[0067] In the embodiments discussed above, audio signals were not described. The compression of audio data, however, and the multiplexing of compressed image data and compressed audio data are performed by compression/expansion processing circuit 6a, 6b, and the multiplexed data are stored in recording /reproduction ring buffer region 22. As a result, images with sound can be recorded in exactly the same way as images without sound. During reproduction, the multiplexed data are stored in recording/reproduction ring buffer region 22 and the separation of compressed image data and compressed audio data, and the expansion of audio data are carried out in compression/expansion processing circuit 6a, 6b. As a result, images with sound can be reproduced. In the above-mentioned embodiments, memory 1 for storing compressed (or expanded) data and recording (or reproduction) data is a single shared memory, but the present invention can also apply when there are multiple memories. Furthermore, the present invention can also be applied to an imaging apparatus containing an imaging device or display, as well as to a recording or reproduction apparatus.


[0068] With the present invention, it becomes possible to provide a recording or reproduction apparatus with superior cost-effectiveness and an efficient configuration of the regions in memory for storing data for recording/reproduction processing.


[0069] The invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiment is therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being defined by the appended claims rather than by the foregoing description and the range of equivalency of the claims are therefore intended to be included in that delineation..


Claims
  • 1. A data recording apparatus, for recording input data to a recording medium after compressing, comprising: a data compressor which compresses said data; a data recorder which records compressed data to said recording medium; memory which stores first data which undergoes said compression process and second data which is recorded to said recording medium; and a memory controller which controls the size of the regions for storing first data and second data in said memory.
  • 2. The data recording apparatus, according to claim 1, wherein said data compressor has a standard compression mode for performing the compression process using a plurality of intermediate data to compress input data, and a simple compression mode for performing the compression process using part of the intermediate data; and said memory controller sets said first data region in said memory according to the mode of said data compressor and sets the remaining region in the memory as said second data region.
  • 3. The data recording apparatus, according to claim 2, wherein the mode of said data compressor is switched to said simple compression mode when said data compressor is operating in said standard compression mode and said data recorder becomes unable to record.
  • 4. The data recording apparatus, according to claim 2, wherein the mode of said data and compressor is switched to said simple compression mode when said data compressor is operating in said standard compression mode and said second data region in said memory becomes full of data.
  • 5. The data recording apparatus, according to claim 2, wherein, in the case where that data recording apparatus receives vibrations greater than or equal to a prescribed amount, the mode of said data compressor is switched to said simple compression mode and said data recorder stops recording or records intermittently.
  • 6. The data recording apparatus, according to claim 2, wherein said input data is image data; said intermediate data includes third data to undergo high image quality processing before input data are compressed; said standard compression mode is a mode for performing high image quality processing using said third data; and said simple compression mode is a mode for performing processing without said third data.
  • 7. The data recording apparatus, according to claim 6, wherein noise reduction processing or dynamic range expansion processing, using the correlation with image data of the consecutive video frames or consecutive video fields, is performed as said high image quality processing.
  • 8. The data recording apparatus, according to claim 2, wherein said data compressor compresses input image data using bidirectional prediction; said intermediate data includes fourth data comprising a prescribed number of frames of picture data stored for sequential reordering of images during compression using bidirectional prediction; said standard compression mode is a mode for compressing using all of said fourth data; and said simple compression mode is a mode for compressing using part of said fourth data.
  • 9. A data recording apparatus, for recording input data to a recording medium after compressing, comprising: a data compressor which compresses said data; and a data recorder which records compressed data to said recording medium; wherein said data recorder records in a simple compression mode, where high quality processing is not performed, in the case where that data recording apparatus receives vibrations greater than or equal to a prescribed amount.
  • 10. A data reproduction apparatus, for reproducing compressed data from a recording medium and expanding same, comprising: a data reproducer which reproduces compressed data from said recording medium; a data expander which expands said reproduced data; memory which stores first data reproduced from said recording medium and second data which undergo said expansion processing; and a memory controller which controls the sizes of the regions in said memory for storing first data and second data.
  • 11. The data reproduction apparatus, according to claim 10, wherein said data expander has a standard expansion mode for expansion processing using a plurality of intermediate data for expansion processing of reproduced data, and a simple expansion mode for performing expansion processing using part of the intermediate data; and wherein said memory controller sets said second data region in said memory according to the mode of said data expander, and sets the remaining region in memory as said first data region.
  • 12. The data reproduction apparatus, according to claim 11, wherein the mode of said data expander is switched to said simple expansion mode when said data expander is operating in said standard expansion mode and said data reproducer becomes unable to reproduce.
  • 13. The data reproduction apparatus, according to claim 11, wherein the mode of said data expander is switched to said simple expansion mode when said data expander is operating in said standard expansion mode and said first data region in said memory becomes emptied of data.
  • 14. The data reproduction apparatus, according to claim 11, wherein, in the case where that data reproduction apparatus receives vibrations greater than or equal to a prescribed amount, the mode of said data expander is switched to said simple expansion mode, and said data reproducer stops reproducing or reproduces intermittently.
  • 15. The data reproduction apparatus, according to claim 11, wherein said reproduced data is image data; said intermediate data includes third data to undergo high image quality processing before reproduced data are expanded; said standard expansion mode is a mode for performing high image quality processing using said third data; and said simple expansion mode is a mode for performing processing without using said third data.
  • 16. The data reproduction apparatus, according to claim 15, wherein noise reduction processing, using the correlation with image data of the consecutive video frames or consecutive video fields, is performed as said high image quality processing.
  • 17. A data reproduction apparatus, for reproducing compressed data from a recording medium and expanding same, comprising: a data reproducer which reproduces compressed data from said recording medium; and a data expander which expands said reproduced data; wherein said data reproducer reproduces in a simple expansion mode without performing high quality processing, in the case where the data reproduction apparatus receives vibrations greater than or equal to a prescribed amount.
  • 18. An imaging apparatus, for capturing an object image and recording the captured object image to a recording medium, comprising: an imaging device which converts the object image to an electronic signal; a camera processor which converts the converted electronic signal to digital image data; and the data recording apparatus, according to claim 1, for recording digital image data to a recording medium after compressing.
  • 19. The imaging apparatus, according to claim 18, further comprising the data reproduction apparatus, according to claim 10, for reproducing digital image data from a recording medium and expanding the data.
  • 20. The imaging apparatus, according to claim 19, further comprising a display circuit which performs processing to display expanded digital image data, and a display which displays the digital image data.
  • 21. A data recording method, for compressing data input using memory and recording data to a recording medium, comprising the steps of: storing to memory first data which undergo compression processing, and second data which are recorded to said recording medium; and controlling the size of regions in said memory which stores said first data and said second data according to the recording data quality level.
  • 22. A data recording method, for compressing data input using memory and recording data to a recording medium, comprising the steps of: storing first data which undergo compression processing, and second data which are recorded to said recording medium to memory; and controlling the size of regions in said memory which stores said first data and said second data according to whether recording is possible.
  • 23. A data reproduction method, for expanding data reproduced from a recording medium using memory, comprising the steps of: storing first data reproduced from said recording medium, and second data which undergo expansion processing to memory; and controlling the size of regions in said memory which stores said first data and said second data according to the reproduction data quality level.
  • 24. A data reproduction method, for expanding data reproduced from a recording medium using memory, comprising the steps of: storing first data reproduced from said recording medium, and second data which undergo expansion processing to memory; and controlling the size of regions in said memory which stores said first data and said second data according to whether reproduction is possible.
Priority Claims (1)
Number Date Country Kind
2002-004051 Jan 2002 JP