Home
last modified time | relevance | path

Searched refs:IDWTELEM (Results 1 – 10 of 10) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dsnow_dwt.h30 typedef short IDWTELEM; typedef
35 IDWTELEM *b0;
36 IDWTELEM *b1;
37 IDWTELEM *b2;
38 IDWTELEM *b3;
45 IDWTELEM **line; ///< For use by idwt and predict_slices.
46 IDWTELEM **data_stack; ///< Used for internal purposes.
51 IDWTELEM *base_buffer; ///< Buffer that this structure is caching.
57 void (*vertical_compose97i)(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2,
58 IDWTELEM *b3, IDWTELEM *b4, IDWTELEM *b5,
[all …]
Dsnow_dwt.c30 IDWTELEM *base_buffer) in ff_slice_buffer_init()
38 buf->line = av_mallocz_array(line_count, sizeof(IDWTELEM *)); in ff_slice_buffer_init()
41 buf->data_stack = av_malloc_array(max_allocated_lines, sizeof(IDWTELEM *)); in ff_slice_buffer_init()
48 buf->data_stack[i] = av_malloc_array(line_width, sizeof(IDWTELEM)); in ff_slice_buffer_init()
62 IDWTELEM *ff_slice_buffer_load_line(slice_buffer *buf, int line) in ff_slice_buffer_load_line()
64 IDWTELEM *buffer; in ff_slice_buffer_load_line()
80 IDWTELEM *buffer; in ff_slice_buffer_release()
340 static void horizontal_compose53i(IDWTELEM *b, IDWTELEM *temp, int width) in horizontal_compose53i()
365 static void vertical_compose53iH0(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, in vertical_compose53iH0()
374 static void vertical_compose53iL0(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2, in vertical_compose53iL0()
[all …]
Dsnow.h90 IDWTELEM *ibuf;
148 IDWTELEM *spatial_idwt_buffer;
149 IDWTELEM *temp_idwt_buffer;
203 …lways_inline void snow_interleave_line_header(int * i, int width, IDWTELEM * low, IDWTELEM * high){ in snow_interleave_line_header()
212 static av_always_inline void snow_interleave_line_footer(int * i, IDWTELEM * low, IDWTELEM * high){ in snow_interleave_line_footer()
219 …nline void snow_horizontal_compose_lift_lead_out(int i, IDWTELEM * dst, IDWTELEM * src, IDWTELEM *… in snow_horizontal_compose_lift_lead_out()
229 …line void snow_horizontal_compose_liftS_lead_out(int i, IDWTELEM * dst, IDWTELEM * src, IDWTELEM *… in snow_horizontal_compose_liftS_lead_out()
281 static av_always_inline void add_yblock(SnowContext *s, int sliced, slice_buffer *sb, IDWTELEM *dst… in add_yblock()
405 static av_always_inline void predict_slice(SnowContext *s, IDWTELEM *buf, int plane_index, int add,… in predict_slice()
456 static av_always_inline void predict_plane(SnowContext *s, IDWTELEM *buf, int plane_index, int add){ in predict_plane()
Dsnowdec.c35 static av_always_inline void predict_slice_buffered(SnowContext *s, slice_buffer * sb, IDWTELEM * o… in predict_slice_buffered()
57 IDWTELEM * line = sb->line[y]; in predict_slice_buffered()
69 IDWTELEM * line = sb->line[y]; in predict_slice_buffered()
138IDWTELEM * line = slice_buffer_get_line(sb, y * b->stride_line + b->buf_y_offset) + b->buf_x_offse… in decode_subband_slice_buffered()
139 memset(line, 0, b->width*sizeof(IDWTELEM)); in decode_subband_slice_buffered()
225 static void dequantize_slice_buffered(SnowContext *s, slice_buffer * sb, SubBand *b, IDWTELEM *src,… in dequantize_slice_buffered()
236IDWTELEM * line = slice_buffer_get_line(sb, (y * b->stride_line) + b->buf_y_offset) + b->buf_x_off… in dequantize_slice_buffered()
248 static void correlate_slice_buffered(SnowContext *s, slice_buffer * sb, SubBand *b, IDWTELEM *src, … in correlate_slice_buffered()
252 IDWTELEM * line=0; // silence silly "could be used without having been initialized" warning in correlate_slice_buffered()
253 IDWTELEM * prev; in correlate_slice_buffered()
[all …]
Dsnowenc.c523IDWTELEM *dst= (IDWTELEM*)s->m.sc.obmc_scratchpad + plane_index*block_size*block_size*4; //FIXME c… in get_dc()
537 memset(dst, 0, obmc_stride*obmc_stride*sizeof(IDWTELEM)); in get_dc()
618 IDWTELEM *pred= (IDWTELEM*)s->m.sc.obmc_scratchpad + plane_index*block_size*block_size*4; in get_block_rd()
642 const IDWTELEM *pred1 = pred + y*obmc_stride; in get_block_rd()
723 static IDWTELEM zero_dst[4096]; //FIXME in get_4block_rd()
779 static int encode_subband_c0run(SnowContext *s, SubBand *b, const IDWTELEM *src, const IDWTELEM *pa… in encode_subband_c0run()
899 static int encode_subband(SnowContext *s, SubBand *b, const IDWTELEM *src, const IDWTELEM *parent, … in encode_subband()
1247 static void quantize(SnowContext *s, SubBand *b, IDWTELEM *dst, DWTELEM *src, int stride, int bias){ in quantize()
1308 static void dequantize(SnowContext *s, SubBand *b, IDWTELEM *src, int stride){ in dequantize()
1330 static void decorrelate(SnowContext *s, SubBand *b, IDWTELEM *src, int stride, int inverse, int use… in decorrelate()
[all …]
Ddirac_dwt.h27 typedef short IDWTELEM; typedef
Dsnow.c40 IDWTELEM * dst; in ff_snow_inner_add_yblock()
/third_party/ffmpeg/libavcodec/x86/
Ddirac_dwt.asm64 ; void vertical_compose53iL0(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2,
80 ; void vertical_compose_dirac53iH0(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2,
98 ; void vertical_compose_dd97iH0(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2,
99 ; IDWTELEM *b3, IDWTELEM *b4, int width)
115 ; void vertical_compose_dd137iL0(IDWTELEM *b0, IDWTELEM *b1, IDWTELEM *b2,
116 ; IDWTELEM *b3, IDWTELEM *b4, int width)
144 ; void vertical_compose_haar(IDWTELEM *b0, IDWTELEM *b1, int width)
183 ; void horizontal_compose_haari(IDWTELEM *b, IDWTELEM *tmp, int width)
233 ; void horizontal_compose_dd97i(IDWTELEM *b, IDWTELEM *tmp, int width)
Dsnowdsp.c30 static void ff_snow_horizontal_compose97i_sse2(IDWTELEM *b, IDWTELEM *temp, int width){ in ff_snow_horizontal_compose97i_sse2()
37 IDWTELEM * const ref = b + w2 - 1; in ff_snow_horizontal_compose97i_sse2()
38 IDWTELEM b_0 = b[0]; //By allowing the first entry in b[0] to be calculated twice in ff_snow_horizontal_compose97i_sse2()
76 IDWTELEM * const dst = b+w2; in ff_snow_horizontal_compose97i_sse2()
104 IDWTELEM * const ref = b+w2 - 1; in ff_snow_horizontal_compose97i_sse2()
105 IDWTELEM b_0 = b[0]; in ff_snow_horizontal_compose97i_sse2()
149 IDWTELEM * const src = b+w2; in ff_snow_horizontal_compose97i_sse2()
218 static void ff_snow_horizontal_compose97i_mmx(IDWTELEM *b, IDWTELEM *temp, int width){ in ff_snow_horizontal_compose97i_mmx()
225 IDWTELEM * const ref = b + w2 - 1; in ff_snow_horizontal_compose97i_mmx()
258 IDWTELEM * const dst = b+w2; in ff_snow_horizontal_compose97i_mmx()
[all …]
/third_party/ffmpeg/libavcodec/tests/
Dsnowenc.c41 s.temp_idwt_buffer = av_mallocz_array(width, sizeof(IDWTELEM)); in main()
55 …ff_spatial_idwt((IDWTELEM*)buffer[0], s.temp_idwt_buffer, width, height, width, s.spatial_decompos… in main()
66 …ff_spatial_idwt((IDWTELEM*)buffer[0], s.temp_idwt_buffer, width, height, width, s.spatial_decompos… in main()
92 …ff_spatial_idwt((IDWTELEM*)buffer[0], s.temp_idwt_buffer, width, height, width, s.spatial_decompos… in main()