DATA PROCESSING APPARATUS WITH ADAPTIVE COMPRESSION/DE-COMPRESSION ALGORITHM SELECTION FOR DATA COMMUNICATION OVER CAMERA INTERFACE AND RELATED DATA PROCESSING METHOD
A data processing apparatus has a compressor and an output interface. The compressor generates an output multimedia data according to an input multimedia data. The output interface packs the output multimedia data into an output bitstream, and outputs the output bitstream to another data processing apparatus via a camera interface. The camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI). In addition, the compressor adaptively adjusts a compression algorithm according to context characteristics in the input multimedia data, power supply status, operational status of a storage device, image capture characteristic, configuration of the another data processing apparatus, and/or compression algorithm supported by the another data processing apparatus. Further, the another data processing apparatus adaptively adjusts a de-compression algorithm according to a compression algorithm supported by the compressor.
Latest MEDIATEK INC. Patents:
- Semiconductor structure and method of forming the same
- Method and apparatus for video coding with of low-precision floating-point operations
- METHOD AND APPARATUS FOR MANAGING ASSOCIATION BETWEEN CLIENT AND MEMBER ACCESS POINT IN MULTI-ACCESS POINT SYSTEM
- ARTIFICIAL INTELLIGENCE (AI)-CHANNEL STATE INFORMATION (CSI) AUTOMATED LABELING METHOD
- DIFFERENTIAL ALL-PASS COUPLING CIRCUIT WITH COMMON MODE FEEDBACK
This application claims the benefit of U.S. provisional application No. 61/729,426, filed on Nov. 23, 2012 and incorporated herein by reference.
BACKGROUNDThe disclosed embodiments of the present invention relate to transmitting and receiving multimedia data over a camera interface, and more particularly, to a data processing apparatus with adaptive compression/de-compression algorithm selection for data communication over a camera interface and related data processing method.
A camera interface is disposed between a first chip and a second chip to transmit multimedia data from the first chip to the second chip for further processing. For example, the first chip may include a camera module, and the second chip may include an image signal processor (ISP). The multimedia data may include image data (i.e., a single captured image) or video data (i.e., a video sequence composed of captured images). When a camera sensor with a higher resolution is employed in the camera module, the multimedia data transmitted over the camera interface would have a larger data size/data rate, which increases the power consumption of the camera interface inevitably. If the camera module and the ISP are both located at a portable device (e.g., a smartphone) powered by a battery device, the battery life is shortened due to the increased power consumption of the camera interface. Thus, there is a need for an innovative design which can effectively reduce the power consumption of the camera interface.
SUMMARYIn accordance with exemplary embodiments of the present invention, a data processing apparatus with adaptive compression/de-compression algorithm selection for data communication over a camera interface and related data processing method are proposed.
According to one aspect of the present invention, an exemplary data processing apparatus is disclosed. The exemplary data processing apparatus includes a compressor and an output interface. The compressor is arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data. The output interface is arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI). In addition, the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to context characteristics of the input multimedia data.
According to another aspect of the present invention, an exemplary data processing apparatus is disclosed. The exemplary data processing apparatus includes a compressor and an output interface. The compressor is arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data. The output interface is arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI). In addition, the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to a power supply status.
According to another aspect of the present invention, an exemplary data processing apparatus is disclosed. The exemplary data processing apparatus includes a compressor and an output interface. The compressor is arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data. The output interface is arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI). In addition, the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to an operational status of a storage device.
According to another aspect of the present invention, an exemplary data processing apparatus is disclosed. The exemplary data processing apparatus includes a compressor and an output interface. The compressor is arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data. The output interface is arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI). In addition, the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to at least one image capture characteristic.
According to another aspect of the present invention, an exemplary data processing apparatus is disclosed. The exemplary data processing apparatus includes a compressor and an output interface. The compressor is arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data. The output interface is arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream to another data processing apparatus via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI). In addition, the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to a de-compression algorithm supported by the another data processing apparatus.
According to another aspect of the present invention, an exemplary data processing apparatus is disclosed. The exemplary data processing apparatus includes an input interface and a de-compressor. The input interface is arranged for receiving an input bitstream from another data processing apparatus via a camera interface, and un-packing the input bitstream into an input multimedia data, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI). The de-compressor is arranged for generating a de-compressed multimedia data according to the input multimedia data when the input multimedia data is a compressed multimedia data. In addition, the de-compressor adaptively adjusts a de-compression algorithm according to a compression algorithm employed by the another data processing apparatus.
According to another aspect of the present invention, an exemplary data processing method is disclosed. The exemplary data processing method includes at least the following steps: receiving an input multimedia data; adaptively adjusts a compression algorithm according to context characteristics of the input multimedia data; generating an output multimedia data according to the compression algorithm and the input multimedia data; and packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
According to another aspect of the present invention, an exemplary data processing method is disclosed. The exemplary data processing method includes at least the following steps: receiving an input multimedia data; adaptively adjusting a compression algorithm according to a power supply status; generating an output multimedia data according to the compression algorithm and the input multimedia data; and packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
According to another aspect of the present invention, an exemplary data processing method is disclosed. The exemplary data processing method includes at least the following steps: receiving an input multimedia data; adaptively adjusting a compression algorithm according to an operational status of a storage device; generating an output multimedia data according to the compression algorithm and the input multimedia data; and packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
According to another aspect of the present invention, an exemplary data processing method is disclosed. The exemplary data processing method includes at least the following steps: receiving an input multimedia data; adaptively adjusting a compression algorithm according to at least one image capture characteristic; generating an output multimedia data according to the compression algorithm and the input multimedia data; and packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
According to another aspect of the present invention, an exemplary data processing method is disclosed. The exemplary data processing method includes at least the following steps: receiving an input multimedia data; adaptively adjusting a compression algorithm according to a de-compression algorithm supported by a data processing apparatus; generating an output multimedia data according to the compression algorithm and the input multimedia data; and packing the output multimedia data into an output bitstream, and outputting the output bitstream to the data processing apparatus via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
According to another aspect of the present invention, an exemplary data processing method is disclosed. The exemplary data processing method includes at least the following steps: receiving an input bitstream from a data processing apparatus via a camera interface, and un-packing the input bitstream into an input multimedia data, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI); adaptively adjusting a de-compression algorithm according to a compression algorithm employed by the data processing apparatus; and when the input multimedia data is a compressed multimedia data, generating a de-compressed multimedia data according to the input multimedia data and the de-compression algorithm.
These and other objectives of the present invention will no doubt become obvious to those of ordinary skill in the art after reading the following detailed description of the preferred embodiment that is illustrated in the various figures and drawings.
Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
The present invention proposes applying data compression to a multimedia data and then transmitting a compressed multimedia data over a camera interface. As the data size/data rate of the compressed multimedia data is smaller than that of the original un-compressed multimedia data, the power consumption of the camera interface is reduced correspondingly. Besides, the present invention further proposes an adaptive compression/de-compression scheme which is based on side information given by one or more signal processing elements (e.g., an image signal processor (ISP), a video/image codec, a graphic engine, a display processor, an external storage, and a battery meter). This may allow the configuration of the compressor and the counterpart de-compressor to be adjusted in a static or dynamic way. In general, data compression is exploited to remove the information redundancy under a specific pixel size (i.e., a unit size of compression) and produce a compressed data constrained by a compression ratio. In a case where the compression ratio is equal to 0.5, the size of the compressed data is half of the size of the uncompressed data. As the compression performance is strongly related to some design factors such as the unit size of compression and the constrained compression ratio, the present invention therefore proposes using the adaptive compression scheme for enabling a compression algorithm selected from a plurality of candidate compression algorithms, where the selected compression algorithm most efficiently compresses the multimedia data. Compared to a typical compression scheme using a fixed compression algorithm, the proposed adaptive compression scheme achieves better performance. Besides, the ISP may refer to side information given by the camera module to adaptively select a de-compression algorithm compliant with the compression algorithm employed by the camera module. In this way, the compressed data stream from the camera module can be correctly de-compressed by the ISP. Further details will be described as below.
The camera module 110 is coupled to the camera interface 103, and supports un-compressed data transmission and compressed data transmission. When the camera module 110 is used to transmit un-compressed data to the ISP 114, the camera module 110 generates an un-compressed multimedia data, and transmits the un-compressed multimedia data over the camera interface 103. When the camera module 110 is used to transmit compressed data to the ISP 114, the camera module 110 generates a compressed multimedia data, and transmits the compressed multimedia data over the camera interface 103.
As shown in
Regarding the ISP 114, it is coupled to the camera interface 103, and supports un-compressed data reception and compressed data reception. When the camera module 110 transmits the un-compressed data to the ISP 114, the ISP 114 is operated under a non-decompression mode to receive an un-compressed data from the camera interface 103 and generate a processed multimedia data according to the un-compressed multimedia data. When the camera module 110 transmits the compressed data to the ISP 114, the ISP 114 is operated under a de-compression mode to receive a compressed multimedia data from the camera interface 103 and generate the processed multimedia data according to a de-compressed multimedia data derived from de-compressing the compressed multimedia data. If there is no error introduced during the data transmission, the un-compressed data transmitted under the non-compression mode should be identical to the un-compressed data received under the non-decompression mode, and the compressed data transmitted under the compression mode should be identical to the compressed data received under the de-compression mode.
As shown in
As the present invention focuses on the adaptive compression and de-compression scheme for configuring the compressor 142 and the de-compressor 132, further details directed to transmitting compressed/un-compressed multimedia data from the camera module 110 to the ISP 114 via the camera interface 103 and generating the processed multimedia data based on the compressed/un-compressed multimedia data received from the camera interface 103 are omitted here for brevity.
As shown in
The image decoder 118 receives an encoded image from the external storage 108, and generates a decoded image to the display processor 120. The video decoder 124 receives an encoded video from the external storage 108, and generates a decoded video to the display processor 120. However, it is possible that the single captured image/video sequence generated from the ISP 114 may be bypassed to the display processor 120 without additional encoding and decoding operations applied thereto. The graphic engine 126 generates graphic data (e.g., a 3D graphic image) to the display processor 120.
The display processor 120 is arranged to generate a display data based on one or more of the image data, video data, graphic data, etc., and transmit the display data to a driver integrated circuit (IC) 104. Hence, the display data generated at the application processor 102 is derived from the output multimedia D1′ transmitted from the camera module 110 to the ISP 114 via the camera interface 103. For example, the display processor 120 may combine video data, text data and graphic data to generate a multimedia data of a frame, such that the display of the frame would show a graphic scene, a web-browsing text content, and a video playback content. The driver IC 104 is coupled between the display processor 120 and a display panel 106, and drives the display panel 106 according to the display data generated from the display processor 120. By way of example, the display panel 106 may be implemented using any 2D/3D display device (e.g. a retina display), and the pixel arrangement may be a rectangle layout, a triangle layout or a pentile layout.
In this embodiment, the compressor 142 supports a plurality of compression algorithms having different compression characteristics. Please refer to
The compressor 142 is capable of adaptively adjusting a compression algorithm applied to the input multimedia data D1 according to at least the side information shown as dotted lines in
In a first exemplary embodiment, the compressor 142 may adaptively adjust a compression algorithm applied to the input multimedia data D1 according to context characteristics of the input multimedia data D1. Please refer to
The contents classified by the content analysis unit 202 may include a video content, an image content, a text content (i.e., a text-rich image content), and a graphic content. For example, the content analysis unit 202 could check if the received pixel unit is data generated by a video engine (e.g., video decoder 124) by comparing the characteristic of pixels with typical video data characteristics. If the characteristic of the pixels match the characteristic of video data, the content analysis unit 202 could classify the received pixel unit as data generated by the video engine (e.g., video decoder 124). In a similar way, the content analysis unit 202 could check if the received pixel unit is data generated by an image engine (e.g., image decoder 118) by comparing the characteristic of pixels with typical image data characteristics. Also, the content analysis unit 202 could check if the received pixel unit is data generated by the graphic engine 126 by matching it with several typical graphic data patterns such as monotonic repeated pixels, monotonic gradient color, and clear sharp edges. In another exemplary design, the content analysis unit 202 may refer to the side information SI to classify the contents of the input multimedia data D1 into video contents generated by the video engine (e.g., video decoder 124), image contents are generated by the image engine (e.g., image decoder 118), and graphic contents generated by the graphic engine 126.
The compression unit 204 is arranged for referring to the content classification result CR to adaptively adjust the compression algorithm employed. In this way, a content-aware compression based on the content classification result CR is achieved.
Step 400: Start.
Step 402: Apply a content classification to each received pixel unit included in the input multimedia data D1, and accordingly generate the content classification result CR.
Step 404: Check if the content classification result CR indicates that the received pixel unit is a video content. If yes, go to step 406; otherwise, go to step 412.
Step 406: Check if the content classification result CR indicates that the received pixel unit is a low bit rate content (e.g., QP>THR). If yes, go to step 408; otherwise, go to step 410.
Step 408: Apply the compression algorithm N4. Go to step 426.
Step 410: Apply the compression algorithm N3. Go to step 426.
Step 412: Check if the content classification result CR indicates that the received pixel unit is an image content. If yes, go to step 414; otherwise, go to step 416.
Step 414: Apply the compression algorithm N2. Go to step 426.
Step 416: Check if the content classification result CR indicates that the received pixel unit is a text content. If yes, go to step 418; otherwise, go to step 420.
Step 418: Apply the compression algorithm N6. Go to step 426.
Step 420: Check if the content classification result CR indicates that the received pixel unit is a graphic content. If yes, go to step 422; otherwise, go to step 424.
Step 422: Apply the compression algorithm N1. Go to step 426.
Step 424: Apply the compression algorithm N5.
Step 426: Check if all of the received pixel units included in the input multimedia data D1 have been processed. If yes, go to step 428; otherwise, go to step 404 to process the next received pixel unit.
Step 428: End.
It should be noted that step 402 is performed by the content analysis unit 202, and steps 404-426 are performed by the compression unit 204. As a person skilled in the art can readily understand details of each step shown in
In a second exemplary embodiment, the compressor 142 may adaptively adjust a compression algorithm applied to the input multimedia data D1 according to a power supply status. As shown in
The second predetermined threshold THR2 is checked to select one compression algorithm from supported compression algorithms having different characteristics. More specifically, the compressor 142 is arranged to employ the compression algorithm N1 for compressing the input multimedia data D1 when the power supply status indicates that the available battery capacity is higher than the second predetermined threshold THR2, and employ the compression algorithm N2 for compressing the input multimedia data D1 when the power supply status indicates that the available battery capacity is not higher than the second predetermined threshold THR2, where the compression algorithm N1 is more complex than the compression algorithm N2, and/or the compression algorithm N1 has a higher compression efficiency than the compression algorithm N2. To put it another way, when the battery power is almost full or higher than the second predetermined threshold THR2, a more complex and higher compression efficiency algorithm can be selected by the compression unit 504 to get better visual quality; and when the battery power is almost empty or lower than the second predetermined threshold THR2, a less complex and lower compression efficiency algorithm can be selected by the compression unit 504 to save power dissipation of the camera interface 103.
Step 700: Start.
Step 702: Check if the battery is full. If yes, go to step 704; otherwise, go to step 706.
Step 704: Disable data compression.
Step 706: Check if the available battery capacity is higher than the first predetermined threshold THR1. If yes, go to step 704; otherwise, go to step 708.
Step 708: Check if the available battery capacity is higher than the second predetermined threshold THR2. If yes, go to step 710; otherwise, go to step 712.
Step 710: Apply the compression algorithm N1. Go to step 714.
Step 712: Apply the compression algorithm N2.
Step 714: End.
It should be noted that steps 702, 706, 708 are performed by the comparison unit 502, and steps 704, 710, 712 are performed by the compression unit 504. As a person skilled in the art can readily understand details of each step shown in
In a third exemplary embodiment, the compressor 142 may adaptively adjust a compression algorithm applied to the input multimedia data D1 according to an operational status of a storage device such as the external storage 108. The side information SI given by the external storage 108 would include the operational status indicative of a used bandwidth of the external storage 108. Please refer to
The first predetermined threshold THR1 is checked to select one compression algorithm from candidate compression algorithms having different characteristics. More specifically, the compressor 142 is arranged to employ the compression algorithm N1 for compressing the input multimedia data D1 when the side information SI indicates that the used bandwidth is lower than the first predetermined threshold THR1, and employ the compression algorithm N2 for compressing the input multimedia data D1 when the side information SI indicates that the used bandwidth is not lower than the first predetermined threshold THR1, where the compression algorithm N1 is more complex than the compression algorithm N2, and/or the compression algorithm N1 has a higher compression efficiency than the compression algorithm N2. To put it another way, when the used bandwidth is lower than the first predetermined threshold THR1, a more complex and higher compression efficiency algorithm can be selected by the compression unit 504 to get better visual quality; and when the bandwidth is almost used or the used bandwidth is not lower than the first predetermined threshold THR1, a less complex and lower compression efficiency algorithm can be selected by the compression unit 504 to save power dissipation of the camera interface 103.
Step 900: Start.
Step 902: Check if the bandwidth is not occupied yet. If yes, go to step 904; otherwise, go to step 906.
Step 904: Disable data compression. Go to step 914.
Step 906: Check if the used bandwidth is lower than the second predetermined threshold THR2. If yes, go to step 904; otherwise, go to step 908.
Step 908: Check if the used bandwidth is lower than the first predetermined threshold THR1. If yes, go to step 910; otherwise, go to step 912.
Step 910: Apply the compression algorithm N1. Go to step 914.
Step 912: Apply the compression algorithm N2.
Step 914: End.
It should be noted that steps 902, 906, 908 are performed by the comparison unit 502, and steps 904, 910, 912 are performed by the compression unit 504. As a person skilled in the art can readily understand details of each step shown in
In a fourth exemplary embodiment, the compressor 142 may adaptively adjust a compression algorithm applied to the input multimedia data D1 according to at least one image capture characteristic. The ISP 114 may be configured to perform digital gain adjustment for a focus level, an exposure level, and an ISO (International Organization for Standardization) value. Hence, the side information SI given by the ISP 114 may include at least one of the focus level, the exposure level, and the ISO value. Please refer to
Step 1000: Start.
Step 1002: Receive an image.
Step 1004: Check if the focus level of the image is lower than the first predetermined threshold THR1. If yes, go to step 1006; otherwise, go to step 1008.
Step 1006: Apply the compression algorithm N4. Go to step 1018.
Step 1008: Check if the exposure level of the image is higher than the second predetermined threshold THR2 or lower than the third predetermined threshold THR3. If yes, go to step 1010; otherwise, go to step 1012.
Step 1010: Apply the compression algorithm N3. Go to step 1018.
Step 1012: Check if the ISO value of the image is lower than the fourth predetermined threshold THR4. If yes, go to step 1014; otherwise, go to step 1016.
Step 1014: Apply the compression algorithm N2. Go to step 1018.
Step 1016: Apply the compression algorithm N1.
Step 1018: Check if all of the images have been processed. If yes, go to step 1020; otherwise, go to step 1002 to process the next image.
Step 1020: End.
It should be noted that steps 1004, 1008, 1012 are performed by the comparison unit 502, and steps 1002, 1006, 1010, 1014, 1016, 1018 are performed by the compression unit 504. As a person skilled in the art can readily understand details of each step shown in
In a fifth exemplary embodiment, the compressor 142 may adaptively adjust a compression algorithm applied to the input multimedia data D1 according to a de-compression algorithm supported by the ISP 114, and the de-compressor 132 may adaptively adjust a de-compression algorithm applied to the input multimedia data D2 according to a compression algorithm supported by the camera module 110. Please refer to
The ISP 1304 may be used in a variety of applications, and therefore supports different de-compression algorithms. Thus, in one exemplary application, the ISP 1304 is used to connect the camera module 1302_1. However, in another application, the ISP 1304 is used to connect the camera module 1302_2. When the ISP 1304 is used to connect the camera module 1302_2 via the camera interface 1303, the ISP 1304 sends side information to inform the camera module 1302_2 of the supported de-compression algorithms X′ and Y′. As the compression algorithm Y supported by the camera module 1302_2 is compliant with the de-compression algorithm Y′, the camera module 1302_2 therefore selects and enables the compression algorithm Y of the compressor. In addition, the camera module 1302_2 sends side information to inform the ISP 1304 of the employed compression algorithm Y. As the de-compression algorithm Y′ supported by the ISP 1304 is compliant with the compression algorithm Y, the ISP 1304 therefore selects and enables the de-compression algorithm Y′ of the de-compressor.
Step 1400: Start.
Step 1402: Receive side information of the ISP.
Step 1404: Refer to the ISP's side information to select and enable a compression algorithm compliant with a de-compression algorithm supported by the ISP.
Step 1406: Receive side information of the camera module.
Step 1408: Refer to the camera module's side information to select and enable a de-compression algorithm compliant with a compression algorithm employed by the camera module.
Step 1410: End.
It should be noted that steps 1402 and 1404 are performed by the camera module, and steps 1406 and 1408 are performed by the ISP. As a person skilled in the art can readily understand details of each step shown in
Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.
Claims
1. A data processing apparatus comprising:
- a compressor, arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data; and
- an output interface, arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI);
- wherein the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to context characteristics of the input multimedia data.
2. The data processing apparatus of claim 1, wherein the compressor comprises:
- a content analysis unit, arranged for analyzing the input multimedia data to classify contents included in the input multimedia data and accordingly generating a content classification result; and
- a compression unit, arranged for referring to at least the content classification result to adaptively adjust the compression algorithm.
3. The data processing apparatus of claim 2, wherein the contents are selected from a group consisting of a video content, an image content, a text content, and a graphic content.
4. The data processing apparatus of claim 2, wherein the contents comprise a first content generated using a first quantization level and a second content generated using a second quantization level which is different from the first quantization level.
5. The data processing apparatus of claim 2, wherein the contents comprise a first content with a first bit rate and a second content with a second bit rate which is different from the first bit rate.
6. A data processing apparatus comprising:
- a compressor, arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data; and
- an output interface, arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI);
- wherein the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to a power supply status.
7. The data processing apparatus of claim 6, wherein the data processing apparatus is powered by a battery device, and the power supply status indicates an available battery capacity of the battery device.
8. The data processing apparatus of claim 7, wherein the compressor is arranged to employ a first compression algorithm as the compression algorithm when the power supply status indicates that the available battery capacity is higher than a predetermined threshold, and employ a second compression algorithm as the compression algorithm when the power supply status indicates that the available battery capacity is not higher than the predetermined threshold, where the second compression algorithm is different from the first compression algorithm.
9. The data processing apparatus of claim 8, wherein the first compression algorithm is more complex than the second compression algorithm; or the first compression algorithm has a higher compression efficiency than the second compression algorithm.
10. The data processing apparatus of claim 7, wherein the compressor is arranged to disable the compression algorithm when the power supply status indicates that the available battery capacity is higher than a predetermined threshold, and enable the compression algorithm when the power supply status indicates that the available battery capacity is not higher than the predetermined threshold.
11. A data processing apparatus comprising:
- a compressor, arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data; and
- an output interface, arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI);
- wherein the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to an operational status of a storage device.
12. The data processing apparatus of claim 11, wherein the operational status indicates a used bandwidth of the storage device.
13. The data processing apparatus of claim 12, wherein the compressor is arranged to employ a first compression algorithm as the compression algorithm when the operational status indicates that the used bandwidth is lower than a predetermined threshold, and employ a second compression algorithm as the compression algorithm when the operational status indicates that the used bandwidth is not lower than the predetermined threshold, where the second compression algorithm is different from the first compression algorithm.
14. The data processing apparatus of claim 13, wherein the first compression algorithm is more complex than the second compression algorithm; or the first compression algorithm has a higher compression efficiency than the second compression algorithm.
15. The data processing apparatus of claim 12, wherein the compressor is arranged to disable the compression algorithm when the operational status indicates that the used bandwidth is lower than a predetermined threshold, and enable the compression algorithm when the operational status indicates that the used bandwidth is not lower than the predetermined threshold.
16. A data processing apparatus comprising:
- a compressor, arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data; and
- an output interface, arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI);
- wherein the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to at least one image capture characteristic.
17. The data processing apparatus of claim 16, wherein the at least one image capture characteristic includes at least one of a focus level, an exposure level, and an ISO (International Organization for Standardization) value.
18. A data processing apparatus comprising:
- a compressor, arranged for receiving an input multimedia data and generating an output multimedia data according to the input multimedia data; and
- an output interface, arranged for packing the output multimedia data into an output bitstream, and outputting the output bitstream to another data processing apparatus via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI);
- wherein the compressor adaptively adjusts a compression algorithm applied to the input multimedia data according to a de-compression algorithm supported by the another data processing apparatus.
19. A data processing apparatus comprising:
- an input interface, arranged for receiving an input bitstream from another data processing apparatus via a camera interface, and un-packing the input bitstream into an input multimedia data, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI); and
- a de-compressor, arranged for generating a de-compressed multimedia data according to the input multimedia data when the input multimedia data is a compressed multimedia data;
- wherein the de-compressor adaptively adjusts a de-compression algorithm according to a compression algorithm employed by the another data processing apparatus.
20. A data processing method comprising:
- receiving an input multimedia data;
- adaptively adjusts a compression algorithm according to context characteristics of the input multimedia data;
- generating an output multimedia data according to the compression algorithm and the input multimedia data; and
- packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
21. A data processing method comprising:
- receiving an input multimedia data;
- adaptively adjusting a compression algorithm according to a power supply status;
- generating an output multimedia data according to the compression algorithm and the input multimedia data; and
- packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
22. A data processing method comprising:
- receiving an input multimedia data;
- adaptively adjusting a compression algorithm according to an operational status of a storage device;
- generating an output multimedia data according to the compression algorithm and the input multimedia data; and
- packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
23. A data processing method comprising:
- receiving an input multimedia data;
- adaptively adjusting a compression algorithm according to at least one image capture characteristic;
- generating an output multimedia data according to the compression algorithm and the input multimedia data; and
- packing the output multimedia data into an output bitstream, and outputting the output bitstream via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
24. A data processing method comprising:
- receiving an input multimedia data;
- adaptively adjusting a compression algorithm according to a de-compression algorithm supported by a data processing apparatus;
- generating an output multimedia data according to the compression algorithm and the input multimedia data; and
- packing the output multimedia data into an output bitstream, and outputting the output bitstream to the data processing apparatus via a camera interface, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI).
25. A data processing method comprising:
- receiving an input bitstream from a data processing apparatus via a camera interface, and un-packing the input bitstream into an input multimedia data, wherein the camera interface is a camera serial interface (CSI) standardized by a Mobile Industry Processor Interface (MIPI);
- adaptively adjusting a de-compression algorithm according to a compression algorithm employed by the data processing apparatus; and
- when the input multimedia data is a compressed multimedia data, generating a de-compressed multimedia data according to the input multimedia data and the de-compression algorithm.
Type: Application
Filed: Sep 9, 2013
Publication Date: May 29, 2014
Applicant: MEDIATEK INC. (Hsin-Chu)
Inventors: Chi-Cheng Ju (Hsinchu City), Tsu-Ming Liu (Hsinchu City)
Application Number: 14/022,203