Sedang Disiapkan

SSE CONVERSION

Code vectorization using SSE,

Example code is below;

void method(unsigned char input,unsigned char output,int size,int width,int height){

float _y,_u,_v,r,g,b;

for(int y=0;y<height;y++){

for(int x=0;x<width;x++){

int index = x+y*width;

_y = input[index];

_u = input[index+size];

_v = input[index+size*2];

r = _y+[url removed, login to view]*(_v-128);

g = _y+[url removed, login to view]*(_u-128)-([url removed, login to view]*(_v-128);

b = _y+[url removed, login to view]*(_u-128);

input[index]=r;

input[index+1]=g;

input[index+2]=b;

}

}

}

Kemahiran: Pengaturcaraan C++

Lihat lebih lanjut: sse, int size, float programming, programming char, char programming, vectorization, using sse, conversion programming

Tentang Majikan:
( 0 ulasan ) Germany

ID Projek: #4084361

4 pekerja bebas membida secara purata $90 untuk pekerjaan ini

sergeydm

Hello. I can do it.

$100 USD dalam sehari
(3 Ulasan)
3.3
ArminIT

Let me handle your project

$60 USD dalam 7 hari
(0 Ulasan)
0.0
djsacz

i can do it

$100 USD dalam 7 hari
(0 Ulasan)
0.0
unkuse

Hi, i can make your project.

$100 USD dalam 2 hari
(0 Ulasan)
0.0