1. A communication device comprising:
a full-duplex communication portion that communicates bidirectionally with an opposing device;
a receive buffer that retains data received from the opposing device at the full-duplex communication portion; and
a pause portion that carries out flow control in full-duplex communication according to a pause level determined based on the degree of accumulation at the receive buffer and a processing load at the communication device itself.
2. The communication device according to claim 1, wherein the pause portion temporarily stops the transmission of frames from frames having a lower priority when the processing load and the degree of accumulation at the receive buffer is increased, and temporarily stops the transmission of all frames when the processing load and the degree of accumulation at the receive buffer is increased to a predetermined maximum threshold.
3. The communication device according to claim 2, wherein the pause portion restarts the transmission of frames from frames having a higher priority when the processing load and the degree of accumulation at the receive buffer is decreased during the temporary stop of the frame transmission, and restarts the transmission of all frames when the processing load and the degree of accumulation at the receive buffer is decreased to a predetermined minimum threshold.
4. The communication device according to claim 1, wherein whether or not the opposing device supports the pause portion is confirmed, and the flow control is carried out according to the pause level when the opposing device supports the pause portion.
5. A communication device comprising:
full-duplex communication means that communicates bidirectionally with an opposing device;
a receive buffer that retains data received from the opposing device at the full-duplex communication means; and
pause means that carries out flow control in full-duplex communication according to a pause level determined based on the degree of accumulation at the receive buffer and a processing load at the communication device itself.
6. A flow control method for use in a communication device, comprising:
communicating bidirectionally with an opposing device;
retaining data received from the opposing device at a receive buffer; and
carrying out flow control in full-duplex communication according to a pause level determined based on the degree of accumulation at the receive buffer and a processing load at the communication device itself.
7. The flow control method according to claim 6, wherein the transmission of frames from frames having a lower priority is temporarily stopped when the processing load and the degree of accumulation at the receive buffer is increased, and the transmission of all frames is temporarily stopped when the processing load and the degree of accumulation at the receive buffer is increased to a predetermined maximum threshold.
8. The flow control method according to claim 7, wherein the transmission of frames from frames having a higher priority is restarted when the processing load and the degree of accumulation at the receive buffer is decreased during the temporary stop of the frame transmission, and the transmission of all frames is restarted when the processing load and the degree of accumulation at the receive buffer is decreased to a predetermined minimum threshold.
9. The flow control method according to claim 6, wherein whether or not the opposing device supports the flow control is confirmed, and the flow control is carried out according to the pause level when the opposing device supports the flow control.
10. A program product that causes a communication device to execute:
a process to communicate bidirectionally with an opposing device;
a process to retain data received from the opposing device at a receive buffer; and
a process to carry out flow control in full-duplex communication according to a pause level determined based on the degree of accumulation at the receive buffer and a processing load at the communication device itself.
The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.
1. An image data processing device for scaling up or down input image data and outputting output image data, the device comprising:
a first image processing section for converting the input image data with a first resolution into intermediate image data with a second resolution, and
a second image processing section for converting the intermediate image data into the output image data with a third resolution.
2. The image data processing device of claim 1, wherein the second and third resolutions are fixed resolutions each set in advance.
3. The image data processing device of claim 1, wherein each of the first and second image processing sections performs at least either pixel decimation processing or vertical-horizontal filtering processing, thereby performing the resolution conversion.
4. The image data processing device of claim 1, wherein when a scale-down ratio of the output image data to the input image data is smaller than a predetermined scale-down ratio, the first image processing section performs the resolution conversion at the predetermined scale-down ratio.
5. The image data processing device of claim 4, wherein the predetermined scale-down ratio is 18 both in an image horizontal direction and in an image vertical direction.
6. The image data processing device of claim 5, wherein for each of 8\xd78 pixel rectangular areas in the input image data, the first image processing section calculates an average of values of pixels in the rectangular area as a value of a pixel in the intermediate image data.
7. The image data processing device of claim 6, wherein when the input image data is image data in a form of DCT coefficients, the first image processing section obtains a direct-current component of the DCT coefficients as a value of a pixel in the intermediate image data.
8. The image data processing device of claim 1, wherein the intermediate image data has a size that is set variably and a maximum value of the size is 1280 pixels in an image horizontal direction and 960 pixels in an image vertical direction.
9. The image data processing device of claim 1, wherein at least either the first or second image processing section is designed so as to further perform at least either processing for clipping a certain area or rotation processing.
10. The image data processing device of claim 1, wherein the input image data is data obtained by decoding information-encoded image data that contains at least either image resizing information or image rotation information, and
the first image processing section is designed so as to perform scale-up or scale-down processing, or rotation processing based on the image resizing information or the image rotation information.
11. The image data processing device of claim 1, wherein the second image processing section is designed so as to perform clipping processing, scale-up or scale-down processing, or rotation processing based on at least one of image clipping area information, image resizing information and image rotation information designated by a user.
12. The image data processing device of claim 1, wherein whether or not the first image processing section performs the resolution conversion can be controlled from outside the image data processing device.
13. The image data processing device of claim 1, further comprising a memory for retaining the intermediate image data.
14. The image data processing device of claim 13, wherein the memory has a capacity that is set variably in accordance with an instruction given from outside the image data processing device.
15. The image data processing device of claim 13, wherein the second image processing section is designed so as to be capable of performing clipping processing, scale-up or scale-down processing, or rotation processing on the intermediate image data retained by the memory, in a plurality of ways.
16. The image data processing device of claim 1, wherein each of the input image data, the intermediate image data, and the output image data is image data that contains a predetermined sampling factor in which luminance data and color difference data are contained, and
at least either the first or second image processing section is designed so as to further perform rotation processing and correct a phase shift in the color difference data occurring due to the rotation processing.
17. The image data processing device of claim 16, wherein the first and second image processing sections are designed so as to perform scale-up or scale-down processing on the luminance data and the color difference data at different scale-up or scale-down ratios, thereby converting the sampling factor.
18. The image data processing device of claim 16, wherein each of the input image data, the intermediate image data, and the output image data is image data that is expressed by a YCbCr color system; and
where a horizontal sampling factor for luminance Y is H0,
a vertical sampling factor for the luminance Y is V0,
a horizontal sampling factor for color difference Cb is H1,
a vertical sampling factor for the color difference Cb is V1,
a horizontal sampling factor for color difference Cr is H2, and
a vertical sampling factor for the color difference Cr is V2,
the first image processing section converts the input image data into the intermediate image data having a sampling factor in which H0=2, V0=1, H1=1, V1=1, H2=1, and V2=1.
19. The image data processing device of claim 16, wherein each of the input image data, the intermediate image data, and the output image data is image data that is expressed by a YCbCr color system; and
where a horizontal sampling factor for luminance Y is H0,
a vertical sampling factor for the luminance Y is V0,
a horizontal sampling factor for color difference Cb is H1,
a vertical sampling factor for the color difference Cb is V1,
a horizontal sampling factor for color difference Cr is H2, and
a vertical sampling factor for the color difference Cr is V2,
the second image processing section converts the intermediate image data into the output image data having a sampling factor in which H0=2, V0=1, H1=1, V1=1, H2=1, and V2=1, or H0=4, V0=1, H1=1, V1=1, H2=1, and V2=1.