C# Class cscodec.h264.decoder.DSPContext

Mostrar archivo Open project: soywiz/cspspemu Class Usage Examples

Public Properties

Property Type Description
avg_h264_chroma_pixels_tab Ih264_chroma_mc_func[]
avg_h264_qpel_pixels_tab Ih264_qpel_mc_func[][]
idct_permutation byte[]
idct_permutation_type int
put_h264_chroma_pixels_tab Ih264_chroma_mc_func[]
put_h264_qpel_pixels_tab Ih264_qpel_mc_func[][]

Public Methods

Method Description
add_pixels4 ( byte pixels, int pixel_offset, short block, int block_offset, int line_size ) : void
add_pixels8 ( byte pixels, int pixel_offset, short block, int block_offset, int line_size ) : void
avg_h264_chroma_mc2_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
avg_h264_chroma_mc4_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
avg_h264_chroma_mc8_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
clear_block ( short block ) : void
clear_blocks ( short blocks ) : void
clear_blocks ( short blocks, int first_block_index ) : void
copy_block ( int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int dstStride, int srcStride, int h ) : void
draw_edges ( byte buf_base, int buf_offset, int wrap, int width, int height, int w ) : void
dsputil_init ( MpegEncContext s ) : void
ff_emulated_edge_mc ( byte buf_base, int buf_offset, byte src_base, int src_offset, int linesize, int block_w, int block_h, int src_x, int src_y, int w, int h ) : void
h264_qpel_h_lowpass ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int dstStride, int srcStride ) : void
h264_qpel_hv_lowpass ( int opcode, int size, byte dst_base, int dst_offset, short tmp_base, int tmp_offset, byte src_base, int src_offset, int dstStride, int tmpStride, int srcStride ) : void
h264_qpel_mc00_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc01_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc02_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc03_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc10_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc11_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc12_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc13_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc20_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc21_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc22_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc23_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc30_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc31_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc32_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_mc33_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
h264_qpel_v_lowpass ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int dstStride, int srcStride ) : void
op_avg ( int a, int b, byte cm_base, int cm_offset ) : int
op_avg2 ( int a, int b, byte cm_base, int cm_offset ) : int
op_put ( int a, int b, byte cm_base, int cm_offset ) : int
op_put2 ( int a, int b, byte cm_base, int cm_offset ) : int
pixels_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int height ) : void
pixels_l2 ( int opcode, int size, byte dst_base, int dst_offset, byte src1_base, int src1_offset, byte src2_base, int src2_offset, int dst_stride, int src_stride1, int src_stride2, int h ) : void
put_h264_chroma_mc2_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
put_h264_chroma_mc4_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
put_h264_chroma_mc8_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
rnd_avg32 ( long a, long b ) : long

Private Methods

Method Description
Inc ( byte &V, short Inc ) : void
OP_AVG ( int a, int b ) : int
OP_PUT ( int a, int b ) : int

Method Details

add_pixels4() public method

public add_pixels4 ( byte pixels, int pixel_offset, short block, int block_offset, int line_size ) : void
pixels byte
pixel_offset int
block short
block_offset int
line_size int
return void

add_pixels8() public method

public add_pixels8 ( byte pixels, int pixel_offset, short block, int block_offset, int line_size ) : void
pixels byte
pixel_offset int
block short
block_offset int
line_size int
return void

avg_h264_chroma_mc2_c() public method

public avg_h264_chroma_mc2_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
h int
x int
y int
return void

avg_h264_chroma_mc4_c() public method

public avg_h264_chroma_mc4_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
h int
x int
y int
return void

avg_h264_chroma_mc8_c() public method

public avg_h264_chroma_mc8_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
h int
x int
y int
return void

clear_block() public method

public clear_block ( short block ) : void
block short
return void

clear_blocks() public method

public clear_blocks ( short blocks ) : void
blocks short
return void

clear_blocks() public method

public clear_blocks ( short blocks, int first_block_index ) : void
blocks short
first_block_index int
return void

copy_block() public static method

public static copy_block ( int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int dstStride, int srcStride, int h ) : void
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
dstStride int
srcStride int
h int
return void

draw_edges() public method

public draw_edges ( byte buf_base, int buf_offset, int wrap, int width, int height, int w ) : void
buf_base byte
buf_offset int
wrap int
width int
height int
w int
return void

dsputil_init() public method

public dsputil_init ( MpegEncContext s ) : void
s MpegEncContext
return void

ff_emulated_edge_mc() public method

public ff_emulated_edge_mc ( byte buf_base, int buf_offset, byte src_base, int src_offset, int linesize, int block_w, int block_h, int src_x, int src_y, int w, int h ) : void
buf_base byte
buf_offset int
src_base byte
src_offset int
linesize int
block_w int
block_h int
src_x int
src_y int
w int
h int
return void

h264_qpel_h_lowpass() public static method

public static h264_qpel_h_lowpass ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int dstStride, int srcStride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
dstStride int
srcStride int
return void

h264_qpel_hv_lowpass() public static method

public static h264_qpel_hv_lowpass ( int opcode, int size, byte dst_base, int dst_offset, short tmp_base, int tmp_offset, byte src_base, int src_offset, int dstStride, int tmpStride, int srcStride ) : void
opcode int
size int
dst_base byte
dst_offset int
tmp_base short
tmp_offset int
src_base byte
src_offset int
dstStride int
tmpStride int
srcStride int
return void

h264_qpel_mc00_c() public static method

public static h264_qpel_mc00_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc01_c() public static method

public static h264_qpel_mc01_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc02_c() public static method

public static h264_qpel_mc02_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc03_c() public static method

public static h264_qpel_mc03_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc10_c() public static method

public static h264_qpel_mc10_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc11_c() public static method

public static h264_qpel_mc11_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc12_c() public static method

public static h264_qpel_mc12_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc13_c() public static method

public static h264_qpel_mc13_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc20_c() public static method

public static h264_qpel_mc20_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc21_c() public static method

public static h264_qpel_mc21_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc22_c() public static method

public static h264_qpel_mc22_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc23_c() public static method

public static h264_qpel_mc23_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc30_c() public static method

public static h264_qpel_mc30_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc31_c() public static method

public static h264_qpel_mc31_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc32_c() public static method

public static h264_qpel_mc32_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_mc33_c() public static method

public static h264_qpel_mc33_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
return void

h264_qpel_v_lowpass() public static method

public static h264_qpel_v_lowpass ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int dstStride, int srcStride ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
dstStride int
srcStride int
return void

op_avg() public static method

public static op_avg ( int a, int b, byte cm_base, int cm_offset ) : int
a int
b int
cm_base byte
cm_offset int
return int

op_avg2() public static method

public static op_avg2 ( int a, int b, byte cm_base, int cm_offset ) : int
a int
b int
cm_base byte
cm_offset int
return int

op_put() public static method

public static op_put ( int a, int b, byte cm_base, int cm_offset ) : int
a int
b int
cm_base byte
cm_offset int
return int

op_put2() public static method

public static op_put2 ( int a, int b, byte cm_base, int cm_offset ) : int
a int
b int
cm_base byte
cm_offset int
return int

pixels_c() public static method

public static pixels_c ( int opcode, int size, byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int height ) : void
opcode int
size int
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
height int
return void

pixels_l2() public static method

public static pixels_l2 ( int opcode, int size, byte dst_base, int dst_offset, byte src1_base, int src1_offset, byte src2_base, int src2_offset, int dst_stride, int src_stride1, int src_stride2, int h ) : void
opcode int
size int
dst_base byte
dst_offset int
src1_base byte
src1_offset int
src2_base byte
src2_offset int
dst_stride int
src_stride1 int
src_stride2 int
h int
return void

put_h264_chroma_mc2_c() public method

public put_h264_chroma_mc2_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
h int
x int
y int
return void

put_h264_chroma_mc4_c() public method

public put_h264_chroma_mc4_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
h int
x int
y int
return void

put_h264_chroma_mc8_c() public method

public put_h264_chroma_mc8_c ( byte dst_base, int dst_offset, byte src_base, int src_offset, int stride, int h, int x, int y ) : void
dst_base byte
dst_offset int
src_base byte
src_offset int
stride int
h int
x int
y int
return void

rnd_avg32() public static method

public static rnd_avg32 ( long a, long b ) : long
a long
b long
return long

Property Details

avg_h264_chroma_pixels_tab public_oe property

public Ih264_chroma_mc_func[] avg_h264_chroma_pixels_tab
return Ih264_chroma_mc_func[]

avg_h264_qpel_pixels_tab public_oe static_oe property

public static Ih264_qpel_mc_func[][] avg_h264_qpel_pixels_tab
return Ih264_qpel_mc_func[][]

idct_permutation public_oe property

public byte[] idct_permutation
return byte[]

idct_permutation_type public_oe property

public int idct_permutation_type
return int

put_h264_chroma_pixels_tab public_oe property

public Ih264_chroma_mc_func[] put_h264_chroma_pixels_tab
return Ih264_chroma_mc_func[]

put_h264_qpel_pixels_tab public_oe static_oe property

public static Ih264_qpel_mc_func[][] put_h264_qpel_pixels_tab
return Ih264_qpel_mc_func[][]