/third_party/ffmpeg/libavutil/ |
H A D | qsort.h | 48 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);\
|
H A D | ripemd.c | 213 FFSWAP(uint32_t, a, e); in ripemd256_transform() 220 FFSWAP(uint32_t, b, f); in ripemd256_transform() 227 FFSWAP(uint32_t, c, g); in ripemd256_transform() 234 FFSWAP(uint32_t, d, h); in ripemd256_transform() 238 FFSWAP(uint32_t, a, e); in ripemd256_transform() 241 FFSWAP(uint32_t, b, f); in ripemd256_transform() 244 FFSWAP(uint32_t, c, g); in ripemd256_transform() 247 FFSWAP(uint32_t, d, h); in ripemd256_transform() 410 FFSWAP(uint32_t, b, g); in ripemd320_transform() 417 FFSWAP(uint32_ in ripemd320_transform() [all...] |
H A D | rc4.c | 48 FFSWAP(uint8_t, state[i], state[y]); in av_rc4_init() 60 FFSWAP(uint8_t, state[x], state[y]); in av_rc4_crypt()
|
H A D | macros.h | 52 #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) macro
|
/third_party/ffmpeg/libavfilter/ |
H A D | f_reverse.c | 158 FFSWAP(uint8_t, dst[i], dst[j]); in reverse_samples_planar() 164 FFSWAP(int16_t, dst[i], dst[j]); in reverse_samples_planar() 170 FFSWAP(int32_t, dst[i], dst[j]); in reverse_samples_planar() 176 FFSWAP(int64_t, dst[i], dst[j]); in reverse_samples_planar() 182 FFSWAP(float, dst[i], dst[j]); in reverse_samples_planar() 188 FFSWAP(double, dst[i], dst[j]); in reverse_samples_planar() 204 FFSWAP(uint8_t, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed() 211 FFSWAP(int16_t, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed() 218 FFSWAP(int32_t, dst[i * channels + p], dst[j * channels + p]); in reverse_samples_packed() 225 FFSWAP(int64_ in reverse_samples_packed() [all...] |
H A D | vf_swapuv.c | 45 FFSWAP(uint8_t*, frame->data[1], frame->data[2]); in do_swap() 46 FFSWAP(int, frame->linesize[1], frame->linesize[2]); in do_swap() 47 FFSWAP(AVBufferRef*, frame->buf[1], frame->buf[2]); in do_swap()
|
H A D | vf_codecview.c | 131 FFSWAP(int, sx, ex); in draw_line() 132 FFSWAP(int, sy, ey); in draw_line() 145 FFSWAP(int, sx, ex); in draw_line() 146 FFSWAP(int, sy, ey); in draw_line() 176 FFSWAP(int, sx, ex); in draw_arrow() 177 FFSWAP(int, sy, ey); in draw_arrow()
|
H A D | vf_stereo3d.c | 545 FFSWAP(int, s->in.off_lstep, s->in.off_rstep); in config_output() 549 FFSWAP(int, s->in.off_lstep, s->in.off_rstep); in config_output() 569 FFSWAP(int, s->in.row_left, s->in.row_right); in config_output() 570 FFSWAP(int, s->in.off_lstep, s->in.off_rstep); in config_output() 571 FFSWAP(int, s->in.off_left, s->in.off_right); in config_output() 572 FFSWAP(int, s->out.row_left, s->out.row_right); in config_output() 573 FFSWAP(int, s->out.off_lstep, s->out.off_rstep); in config_output() 574 FFSWAP(int, s->out.off_left, s->out.off_right); in config_output() 699 FFSWAP(AVFrame *, ileft, iright); in filter_frame() 758 FFSWAP(int64_ in filter_frame() [all...] |
H A D | formats.c | 70 FFSWAP(type *, a, b); \ 227 FFSWAP(AVFilterChannelLayouts *, a, b); in merge_channel_layouts() 228 FFSWAP(unsigned, a_all, b_all); in merge_channel_layouts() 276 FFSWAP(AVFilterChannelLayouts *, a, b); in merge_channel_layouts() 293 FFSWAP(AVFilterChannelLayouts *, a, b); in merge_channel_layouts()
|
H A D | avf_showwaves.c | 257 FFSWAP(int16_t, start, end); in draw_sample_line_rgba_scale() 274 FFSWAP(int16_t, start, end); in draw_sample_line_rgba_full() 297 FFSWAP(int16_t, start, end); in draw_sample_p2p_rgba_scale() 323 FFSWAP(int16_t, start, end); in draw_sample_p2p_rgba_full() 380 FFSWAP(int16_t, start, end); in draw_sample_line_gray() 396 FFSWAP(int16_t, start, end); in draw_sample_p2p_gray()
|
/third_party/ffmpeg/libavcodec/ |
H A D | targa.c | 285 FFSWAP(uint32_t, ((uint32_t *)line)[x], ((uint32_t *)line)[w - x - 1]); in decode_frame() 288 FFSWAP(uint8_t, ((uint8_t *)line)[3 * x ], ((uint8_t *)line)[3 * w - 3 * x - 3]); in decode_frame() 289 FFSWAP(uint8_t, ((uint8_t *)line)[3 * x + 1], ((uint8_t *)line)[3 * w - 3 * x - 2]); in decode_frame() 290 FFSWAP(uint8_t, ((uint8_t *)line)[3 * x + 2], ((uint8_t *)line)[3 * w - 3 * x - 1]); in decode_frame() 293 FFSWAP(uint16_t, ((uint16_t *)line)[x], ((uint16_t *)line)[w - x - 1]); in decode_frame() 296 FFSWAP(uint8_t, ((uint8_t *)line)[x], ((uint8_t *)line)[w - x - 1]); in decode_frame()
|
H A D | ac3_parser.c | 211 FFSWAP(uint8_t, tmp.u8[1], tmp.u8[2]); in ac3_sync() 212 FFSWAP(uint8_t, tmp.u8[3], tmp.u8[4]); in ac3_sync() 213 FFSWAP(uint8_t, tmp.u8[5], tmp.u8[6]); in ac3_sync()
|
H A D | atrac3plusdec.c | 271 FFSWAP(float, out[0][sb * ATRAC3P_SUBBAND_SAMPLES + i], in decode_residual_spectrum() 337 FFSWAP(uint8_t *, ch_unit->channels[ch].wnd_shape, in reconstruct_frame() 339 FFSWAP(AtracGainInfo *, ch_unit->channels[ch].gain_data, in reconstruct_frame() 341 FFSWAP(Atrac3pWavesData *, ch_unit->channels[ch].tones_info, in reconstruct_frame() 345 FFSWAP(Atrac3pWaveSynthParams *, ch_unit->waves_info, ch_unit->waves_info_prev); in reconstruct_frame()
|
H A D | escape130.c | 339 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()
|
H A D | lsp.c | 41 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()
|
H A D | lagarith.c | 646 FFSWAP(uint8_t*, p->data[0], p->data[1]); in lag_decode_frame() 647 FFSWAP(int, p->linesize[0], p->linesize[1]); in lag_decode_frame() 648 FFSWAP(uint8_t*, p->data[2], p->data[1]); in lag_decode_frame() 649 FFSWAP(int, p->linesize[2], p->linesize[1]); in lag_decode_frame()
|
H A D | exrenc.c | 271 FFSWAP(uint8_t *, scanline->uncompressed_data, scanline->compressed_data); in encode_scanline_rle() 272 FFSWAP(int, scanline->uncompressed_size, scanline->compressed_size); in encode_scanline_rle() 342 FFSWAP(uint8_t *, scanline->uncompressed_data, scanline->compressed_data); in encode_scanline_zip() 343 FFSWAP(int, scanline->uncompressed_size, scanline->compressed_size); in encode_scanline_zip()
|
H A D | atrac1.c | 104 FFSWAP(float, spec[i], spec[transf_size - 1 - i]); in at1_imdct() 162 FFSWAP(float*, su->spectrum[0], su->spectrum[1]); in at1_imdct_block()
|
H A D | msvideo1enc.c | 150 FFSWAP(uint8_t, c->codebook[i], c->codebook[i+3]); in encode_frame() 180 FFSWAP(uint8_t, c->codebook2[i+18], c->codebook2[i+21]); in encode_frame()
|
H A D | ra144.c | 1584 FFSWAP(int *, bp1, bp2); in ff_eval_refl() 1606 FFSWAP(int *, b1, b2); in ff_eval_coefs()
|
H A D | pthread_frame.c | 465 FFSWAP(const AVHWAccel*, p->avctx->hwaccel, fctx->stash_hwaccel); in submit_packet() 466 FFSWAP(void*, p->avctx->hwaccel_context, fctx->stash_hwaccel_context); in submit_packet() 467 FFSWAP(void*, p->avctx->internal->hwaccel_priv_data, fctx->stash_hwaccel_priv); in submit_packet() 782 FFSWAP(const AVHWAccel*, avctx->hwaccel, fctx->stash_hwaccel); in ff_frame_thread_free() 783 FFSWAP(void*, avctx->hwaccel_context, fctx->stash_hwaccel_context); in ff_frame_thread_free() 784 FFSWAP(void*, avctx->internal->hwaccel_priv_data, fctx->stash_hwaccel_priv); in ff_frame_thread_free()
|
H A D | indeo4.c | 656 FFSWAP(int, ctx->dst_buf, ctx->ref_buf); in switch_buffers() 658 FFSWAP(int, ctx->ref_buf, ctx->b_ref_buf); in switch_buffers() 659 FFSWAP(int, ctx->dst_buf, ctx->ref_buf); in switch_buffers()
|
H A D | mp3_header_decompress_bsf.c | 104 FFSWAP(int, p[1], p[2]); in mp3_header_decompress()
|
/third_party/ffmpeg/libavfilter/x86/ |
H A D | avf_showcqt_init.c | 42 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/ |
H A D | tiny_ssim.c | 36 #define FFSWAP(type,a,b) do{type SWAP_tmp= b; b= a; a= SWAP_tmp;}while(0) macro 128 FFSWAP( void*, sum0, sum1 ); in ssim_plane()
|