MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / rv34_row_transform

Function rv34_row_transform

libavcodec/rv34.c:178–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 */
177
178static av_always_inline void rv34_row_transform(int temp[16], DCTELEM *block)
179{
180 int i;
181
182 for(i=0; i<4; i++){
183 const int z0= 13*(block[i+8*0] + block[i+8*2]);
184 const int z1= 13*(block[i+8*0] - block[i+8*2]);
185 const int z2= 7* block[i+8*1] - 17*block[i+8*3];
186 const int z3= 17* block[i+8*1] + 7*block[i+8*3];
187
188 temp[4*i+0]= z0+z3;
189 temp[4*i+1]= z1+z2;
190 temp[4*i+2]= z1-z2;
191 temp[4*i+3]= z0-z3;
192 }
193}
194
195/**
196 * Real Video 3.0/4.0 inverse transform

Callers 2

rv34_inv_transformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected