摘要:
The present invention provides a network device and a control method thereof. The network device comprises: a receiver, a transmitter, a storage unit, and a processing unit. The storage unit is utilized for storing a software, and the processing unit is coupled to the receiver, the transmitter, and the storage unit, and utilized for reading the software from the storage unit and executing the software to execute following operations: calculating a first predetermined time and driving the transmitter to generate a network linking signal and output the network linking signal by the transmitter; polling a link status of the network device and a link partner to generate a first detecting result; and determining whether to power down the transmitter according to the first detecting result and the first predetermined time.
摘要:
The invention generates the water grids in each of the visible range of the water wave maps and the third dimension coordinates according to the intersecting points. The third dimension coordinates are corresponded to the actual water height. Finally, the invention generates a water surface having the wave change according to the third dimension coordinates. And the invention can obtain the information of the water height dynamically, generate the water surface image having the light change, including the effect of reflection and refraction, according to the information of the water height, and make the water image corresponding to the actual water.
摘要:
An apparatus for line drawing using a plurality of pixels to display a line, including a first parameter generating module, a second parameter generating module, a storage module, a retrieving module, and a calculating module. In this case, the first parameter generating module generates a first parameter according to a slope of the line. The second parameter generating module generates a second parameter according to the distance between one of the pixels and the line in axial directions. The storage module stores an index table, which records at least a blending factor and the correlations between the first parameter, second parameter, and blending factor. Therefore, the retrieving module searches for the blending factor from the index table according to the first and second parameter. Finally, the calculating module determines the color of this pixel according to the blending factor.
摘要:
A system for full-scene anti-aliasing and stereo three-dimensional display control. The system includes a receiving buffer, a geometry offset generator, a rendering engine, and a blending engine. The receiving buffer receives a geometry, and the geometry offset generator receives stereo parameters and FSAA parameters, calculates first and second stereo offsets according to the stereo parameters, and calculates first and second FSAA offsets according to the FSAA parameters. The rendering engine combines the first and second stereo offsets with the first FSAA offset respectively to obtain first and second new offsets, combines the first and second stereo offsets with the second FSAA offset respectively to obtain third and fourth new offsets, and re-renders the geometry according to the first, second, third, and fourth new offsets respectively, so as to obtain first, second, third, and fourth new geometry. The blending engine blends the first and third new geometry to obtain a first display geometry, and blends the second and fourth new geometry to obtain a second display geometry.
摘要:
A method of network packet receiving management includes: providing a buffer unit which includes a plurality of data blocks with a first packet number and a plurality of data blocks with a second number of packets, wherein the data blocks with the first packet number are for storing a plurality of first network packets according to a first array data structure, respectively, the first array data structure has a plurality of first packet descriptors corresponding to the first packet number, and the data blocks with the second number of packets do not correspond to any packet descriptor; and when a first data block corresponding to a first packet descriptor successively receives a first network packet, changing the first packet descriptor corresponding to the first data block to indicate a second data block which does not correspond to any packet descriptor.
摘要:
A method of network packet receiving management includes: providing a buffer unit which includes a plurality of data blocks with a first packet number and a plurality of data blocks with a second number of packets, wherein the data blocks with the first packet number are for storing a plurality of first network packets according to a first array data structure, respectively, the first array data structure has a plurality of first packet descriptors corresponding to the first packet number, and the data blocks with the second number of packets do not correspond to any packet descriptor; and when a first data block corresponding to a first packet descriptor successively receives a first network packet, changing the first packet descriptor corresponding to the first data block to indicate a second data block which does not correspond to any packet descriptor.
摘要:
The invention generates the water grids in each of the visible range of the water wave maps and the third dimension coordinates according to the intersecting points. The third dimension coordinates are corresponded to the actual water height. Finally, the invention generates a water surface having the wave change according to the third dimension coordinates. And the invention can obtain the information of the water height dynamically, generate the water surface image having the light change, including the effect of reflection and refraction, according to the information of the water height, and make the water image corresponding to the actual water.