Suche Bilder Maps Play YouTube News Gmail Drive Mehr »
Erweiterte Patentsuche | Abbildungen der Seite | Webprotokoll | Anmelden

Patente

  

US 20080049045A1

(i9) United States

(12) Patent Application Publication (i0) Pub. No.: US 2008/0049045 Al

Ku et al. (43) Pub. Date: Feb. 28,2008

(54) IMAGE SCALING SYSTEM CAPABLE OF SAVING MEMORY

(75) Inventors: Chih-Cheng Ku, Hsinchu City (TW); Chun-Chi Chen, Taipei City (TW); Wen-Cheng Ho,

Shigang Shiang (TW)

Correspondence Address:

BACON & THOMAS, PLLC

625 SLATERS LANE, FOURTH FLOOR

ALEXANDRIA, VA 22314

(73) Assignee: Sunplus Technology Co., Ltd.,

Hsinchu (TW)

(21) Appl. No.: 11/812,288

(22) Filed: Jun. 18, 2007

(30) Foreign Application Priority Data

Jun. 20, 2006 (TW) 095122004

Publication Classification

(51) Int. CI.

G09G 5/00 (2006.01)

(52) U.S. CI 345/667

(57) ABSTRACT

An image scaling system includes a window memory, a longitudinal scaler, a buffer and a latitudinal scaler. The window memory temporarily stores partial data of N image lines. The longitudinal scaler performs a longitudinal scaling operation on the partial data of the N image lines to thereby produce partial data of a longitudinal image line. The latitudinal scaler performs a latitudinal scaling operation on the partial data of the longitudinal image line to thereby produce scaling-part data of a latitudinal image line. The longitudinal scaler and the latitudinal scaler use a window average to perform an image shrinking operation and a bi-linear interpolation average to perform an image expanding operation.

[merged small][merged small][table][merged small][merged small][merged small][merged small][merged small][table][merged small][merged small][merged small][merged small]
[graphic][merged small][table][merged small][graphic][merged small][merged small][merged small][table][merged small][merged small][merged small][merged small]
[graphic][table][merged small][merged small][merged small][table][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][merged small][graphic][subsumed][merged small][merged small][merged small][merged small]

DoExpand
BEGIN

INPUT insize;
INPUT out_size;
INIT max_weight = 2A8;

INIT expand__para = max weight * in size / out_size;
INIT remain_weight = 0;
INIT weight[2] = 0;
INIT weight[3] = 0;
INIT weight[4] = 0;
INIT starting_pixel_pointer = 0;
INIT interval = 0;

f\ FOR each outputidx From 0 To out size
interval = 0;

weight[0] = max_weight - remain_weight;
weight[l] = remain_weight;

<

CALL ExecuteScalingHardware with starting_pixel_pointer, output_idx and weight[0...4];

remain_weight += expand_para;
IF remain_weight > max weight THEN
remainweight -= maxweight;
INCREMENT interval;
END IF

starting_pixel_pointer += invterval;
END FOR
END

ExecuteScalingHardware

BEGIN

INPUT starting_pixel_pointer;
INPUT output_idx;
INPUT weight[0...4];

Get 5 input data From starting_pixel_pointer;

output_data = ( weight[0] * input_data[0] +
weight[l] * input_data[l] +
weight[2] * input_data[2] +
weight[3] * input_data[3] +
weight[4] * input_data[4])» 8;

END

FIG. 3

« ZurückWeiter »