Home
last modified time | relevance | path

Searched refs:FFSWAP (Results 1 – 25 of 132) sorted by relevance

123456

/third_party/ffmpeg/libavutil/
Dqsort.h48 if(cmp( end, mid) > 0) FFSWAP(type, *start, *mid);\
49 else FFSWAP(type, *start, *end);\
51 if(cmp(start, mid) > 0) FFSWAP(type, *start, *mid);\
55 FFSWAP(type, *mid, *end);\
59 FFSWAP(type, end[-1], *mid);\
66 FFSWAP(type, *left, *right);\
71 FFSWAP(type, end[-1], *left);\
90 FFSWAP(type, *start, *end);\
118 FFSWAP(type*, p, tmp);\
Dripemd.c211 FFSWAP(uint32_t, a, e); in ripemd256_transform()
218 FFSWAP(uint32_t, b, f); in ripemd256_transform()
225 FFSWAP(uint32_t, c, g); in ripemd256_transform()
232 FFSWAP(uint32_t, d, h); in ripemd256_transform()
236 FFSWAP(uint32_t, a, e); in ripemd256_transform()
239 FFSWAP(uint32_t, b, f); in ripemd256_transform()
242 FFSWAP(uint32_t, c, g); in ripemd256_transform()
245 FFSWAP(uint32_t, d, h); in ripemd256_transform()
408 FFSWAP(uint32_t, b, g); in ripemd320_transform()
415 FFSWAP(uint32_t, d, i); in ripemd320_transform()
[all …]
Drc4.c47 FFSWAP(uint8_t, state[i], state[y]); in av_rc4_init()
59 FFSWAP(uint8_t, state[x], state[y]); in av_rc4_crypt()
/third_party/ffmpeg/libavfilter/
Df_reverse.c180 FFSWAP(uint8_t, dst[i], dst[j]); in reverse_samples_planar()
186 FFSWAP(int16_t, dst[i], dst[j]); in reverse_samples_planar()
192 FFSWAP(int32_t, dst[i], dst[j]); in reverse_samples_planar()
198 FFSWAP(float, dst[i], dst[j]); in reverse_samples_planar()
204 FFSWAP(double, dst[i], dst[j]); in reverse_samples_planar()
220 FFSWAP(uint8_t, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed()
227 FFSWAP(int16_t, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed()
234 FFSWAP(int32_t, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed()
241 FFSWAP(float, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed()
248 FFSWAP(double, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed()
Dvf_swapuv.c46 FFSWAP(uint8_t*, frame->data[1], frame->data[2]); in do_swap()
47 FFSWAP(int, frame->linesize[1], frame->linesize[2]); in do_swap()
48 FFSWAP(AVBufferRef*, frame->buf[1], frame->buf[2]); in do_swap()
52 FFSWAP(uint64_t, frame->error[1], frame->error[2]); in do_swap()
Dvf_codecview.c139 FFSWAP(int, sx, ex); in draw_line()
140 FFSWAP(int, sy, ey); in draw_line()
153 FFSWAP(int, sx, ex); in draw_line()
154 FFSWAP(int, sy, ey); in draw_line()
184 FFSWAP(int, sx, ex); in draw_arrow()
185 FFSWAP(int, sy, ey); in draw_arrow()
Dvf_stereo3d.c549 FFSWAP(int, s->in.off_lstep, s->in.off_rstep); in config_output()
553 FFSWAP(int, s->in.off_lstep, s->in.off_rstep); in config_output()
573 FFSWAP(int, s->in.row_left, s->in.row_right); in config_output()
574 FFSWAP(int, s->in.off_lstep, s->in.off_rstep); in config_output()
575 FFSWAP(int, s->in.off_left, s->in.off_right); in config_output()
576 FFSWAP(int, s->out.row_left, s->out.row_right); in config_output()
577 FFSWAP(int, s->out.off_lstep, s->out.off_rstep); in config_output()
578 FFSWAP(int, s->out.off_left, s->out.off_right); in config_output()
702 FFSWAP(AVFrame *, ileft, iright); in filter_frame()
761 FFSWAP(int64_t, s->prev->pts, inpicref->pts); in filter_frame()
[all …]
Dformats.c72 FFSWAP(type *, a, b); \
183 FFSWAP(AVFilterChannelLayouts *, a, b); in ff_merge_channel_layouts()
184 FFSWAP(unsigned, a_all, b_all); in ff_merge_channel_layouts()
231 FFSWAP(AVFilterChannelLayouts *, a, b); in ff_merge_channel_layouts()
248 FFSWAP(AVFilterChannelLayouts *, a, b); in ff_merge_channel_layouts()
Davf_showwaves.c255 FFSWAP(int16_t, start, end); in draw_sample_line_rgba_scale()
272 FFSWAP(int16_t, start, end); in draw_sample_line_rgba_full()
295 FFSWAP(int16_t, start, end); in draw_sample_p2p_rgba_scale()
321 FFSWAP(int16_t, start, end); in draw_sample_p2p_rgba_full()
378 FFSWAP(int16_t, start, end); in draw_sample_line_gray()
394 FFSWAP(int16_t, start, end); in draw_sample_p2p_gray()
/third_party/ffmpeg/libavcodec/
Dtarga.c276 FFSWAP(uint32_t, ((uint32_t *)line)[x], ((uint32_t *)line)[w - x - 1]); in decode_frame()
279FFSWAP(uint8_t, ((uint8_t *)line)[3 * x ], ((uint8_t *)line)[3 * w - 3 * x - 3]); in decode_frame()
280FFSWAP(uint8_t, ((uint8_t *)line)[3 * x + 1], ((uint8_t *)line)[3 * w - 3 * x - 2]); in decode_frame()
281FFSWAP(uint8_t, ((uint8_t *)line)[3 * x + 2], ((uint8_t *)line)[3 * w - 3 * x - 1]); in decode_frame()
284 FFSWAP(uint16_t, ((uint16_t *)line)[x], ((uint16_t *)line)[w - x - 1]); in decode_frame()
287 FFSWAP(uint8_t, ((uint8_t *)line)[x], ((uint8_t *)line)[w - x - 1]); in decode_frame()
Dac3_parser.c205 FFSWAP(uint8_t, tmp.u8[1], tmp.u8[2]); in ac3_sync()
206 FFSWAP(uint8_t, tmp.u8[3], tmp.u8[4]); in ac3_sync()
207 FFSWAP(uint8_t, tmp.u8[5], tmp.u8[6]); in ac3_sync()
Datrac3plusdec.c259 FFSWAP(float, out[0][sb * ATRAC3P_SUBBAND_SAMPLES + i], in decode_residual_spectrum()
325 FFSWAP(uint8_t *, ch_unit->channels[ch].wnd_shape, in reconstruct_frame()
327 FFSWAP(AtracGainInfo *, ch_unit->channels[ch].gain_data, in reconstruct_frame()
329 FFSWAP(Atrac3pWavesData *, ch_unit->channels[ch].tones_info, in reconstruct_frame()
333 FFSWAP(Atrac3pWaveSynthParams *, ch_unit->waves_info, ch_unit->waves_info_prev); in reconstruct_frame()
Descape130.c339 FFSWAP(uint8_t*, s->old_y, s->new_y); in escape130_decode_frame()
340 FFSWAP(uint8_t*, s->old_u, s->new_u); in escape130_decode_frame()
341 FFSWAP(uint8_t*, s->old_v, s->new_v); in escape130_decode_frame()
Dlsp.c41 FFSWAP(int16_t, lsfq[j], lsfq[j+1]); in ff_acelp_reorder_lsf()
234 FFSWAP(float, vals[j], vals[j+1]); in ff_sort_nearly_sorted_floats()
Dexrenc.c263 FFSWAP(uint8_t *, scanline->uncompressed_data, scanline->compressed_data); in encode_scanline_rle()
264 FFSWAP(int, scanline->uncompressed_size, scanline->compressed_size); in encode_scanline_rle()
334 FFSWAP(uint8_t *, scanline->uncompressed_data, scanline->compressed_data); in encode_scanline_zip()
335 FFSWAP(int, scanline->uncompressed_size, scanline->compressed_size); in encode_scanline_zip()
Dra144.c1584 FFSWAP(int *, bp1, bp2); in ff_eval_refl()
1606 FFSWAP(int *, b1, b2); in ff_eval_coefs()
Dlagarith.c641 FFSWAP(uint8_t*, p->data[0], p->data[1]); in lag_decode_frame()
642 FFSWAP(int, p->linesize[0], p->linesize[1]); in lag_decode_frame()
643 FFSWAP(uint8_t*, p->data[2], p->data[1]); in lag_decode_frame()
644 FFSWAP(int, p->linesize[2], p->linesize[1]); in lag_decode_frame()
Dpthread_frame.c460 FFSWAP(const AVHWAccel*, p->avctx->hwaccel, fctx->stash_hwaccel); in submit_packet()
461FFSWAP(void*, p->avctx->hwaccel_context, fctx->stash_hwaccel_context); in submit_packet()
462 FFSWAP(void*, p->avctx->internal->hwaccel_priv_data, fctx->stash_hwaccel_priv); in submit_packet()
826 FFSWAP(const AVHWAccel*, avctx->hwaccel, fctx->stash_hwaccel); in ff_frame_thread_free()
827 FFSWAP(void*, avctx->hwaccel_context, fctx->stash_hwaccel_context); in ff_frame_thread_free()
828 FFSWAP(void*, avctx->internal->hwaccel_priv_data, fctx->stash_hwaccel_priv); in ff_frame_thread_free()
Datrac1.c103 FFSWAP(float, spec[i], spec[transf_size - 1 - i]); in at1_imdct()
161 FFSWAP(float*, su->spectrum[0], su->spectrum[1]); in at1_imdct_block()
Dmp3_header_decompress_bsf.c103 FFSWAP(int, p[1], p[2]); in mp3_header_decompress()
Dmsvideo1enc.c144 FFSWAP(uint8_t, c->codebook[i], c->codebook[i+3]); in encode_frame()
171 FFSWAP(uint8_t, c->codebook2[i+18], c->codebook2[i+21]); in encode_frame()
Dra144dec.c122 FFSWAP(unsigned int *, ractx->lpc_coef[0], ractx->lpc_coef[1]); in ra144_decode_frame()
Dkgv1dec.c159 FFSWAP(uint16_t *, c->frame_buffer, c->last_frame_buffer); in decode_frame()
/third_party/ffmpeg/libavfilter/x86/
Davf_showcqt_init.c42 FFSWAP(float, v[k+2], v[k+4]); in permute_coeffs_01452367()
43 FFSWAP(float, v[k+3], v[k+5]); in permute_coeffs_01452367()
/third_party/ffmpeg/tests/
Dtiny_ssim.c37 #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) macro
129 FFSWAP( void*, sum0, sum1 ); in ssim_plane()

123456