/third_party/ffmpeg/libavutil/ |
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);\
|
D | ripemd.c | 211 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 …]
|
D | rc4.c | 47 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/ |
D | f_reverse.c | 180 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()
|
D | vf_swapuv.c | 46 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()
|
D | vf_codecview.c | 139 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()
|
D | vf_stereo3d.c | 549 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 …]
|
D | formats.c | 72 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()
|
D | avf_showwaves.c | 255 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/ |
D | targa.c | 276 FFSWAP(uint32_t, ((uint32_t *)line)[x], ((uint32_t *)line)[w - x - 1]); in decode_frame() 279 … FFSWAP(uint8_t, ((uint8_t *)line)[3 * x ], ((uint8_t *)line)[3 * w - 3 * x - 3]); in decode_frame() 280 … FFSWAP(uint8_t, ((uint8_t *)line)[3 * x + 1], ((uint8_t *)line)[3 * w - 3 * x - 2]); in decode_frame() 281 … FFSWAP(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()
|
D | ac3_parser.c | 205 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()
|
D | atrac3plusdec.c | 259 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()
|
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()
|
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()
|
D | exrenc.c | 263 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()
|
D | ra144.c | 1584 FFSWAP(int *, bp1, bp2); in ff_eval_refl() 1606 FFSWAP(int *, b1, b2); in ff_eval_coefs()
|
D | lagarith.c | 641 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()
|
D | pthread_frame.c | 460 FFSWAP(const AVHWAccel*, p->avctx->hwaccel, fctx->stash_hwaccel); in submit_packet() 461 … FFSWAP(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()
|
D | atrac1.c | 103 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()
|
D | mp3_header_decompress_bsf.c | 103 FFSWAP(int, p[1], p[2]); in mp3_header_decompress()
|
D | msvideo1enc.c | 144 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()
|
D | ra144dec.c | 122 FFSWAP(unsigned int *, ractx->lpc_coef[0], ractx->lpc_coef[1]); in ra144_decode_frame()
|
D | kgv1dec.c | 159 FFSWAP(uint16_t *, c->frame_buffer, c->last_frame_buffer); in decode_frame()
|
/third_party/ffmpeg/libavfilter/x86/ |
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/ |
D | tiny_ssim.c | 37 #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()
|