/third_party/ffmpeg/libavfilter/ |
H A D | vf_tile.c | 46 AVFrame *out_ref; member 176 AVFrame *out_buf = tile->out_ref; in end_last_frame() 187 tile->out_ref = NULL; in end_last_frame() 202 if (!tile->out_ref) { in filter_frame() 203 tile->out_ref = ff_get_video_buffer(outlink, outlink->w, outlink->h); in filter_frame() 204 if (!tile->out_ref) { in filter_frame() 208 av_frame_copy_props(tile->out_ref, picref); in filter_frame() 209 tile->out_ref->width = outlink->w; in filter_frame() 210 tile->out_ref->height = outlink->h; in filter_frame() 215 tile->out_ref in filter_frame() [all...] |
H A D | vf_chromakey_cuda.c | 116 AVBufferRef *out_ref = NULL; in init_hwframe_ctx() local 120 out_ref = av_hwframe_ctx_alloc(device_ctx); in init_hwframe_ctx() 121 if (!out_ref) in init_hwframe_ctx() 123 out_ctx = (AVHWFramesContext *)out_ref->data; in init_hwframe_ctx() 130 ret = av_hwframe_ctx_init(out_ref); in init_hwframe_ctx() 135 ret = av_hwframe_get_buffer(out_ref, s->frame, 0); in init_hwframe_ctx() 140 s->frames_ctx = out_ref; in init_hwframe_ctx() 144 av_buffer_unref(&out_ref); in init_hwframe_ctx()
|
H A D | vf_transpose_npp.c | 116 AVBufferRef *out_ref = NULL; in init_stage() local 136 out_ref = av_hwframe_ctx_alloc(device_ctx); in init_stage() 137 if (!out_ref) in init_stage() 139 out_ctx = (AVHWFramesContext*)out_ref->data; in init_stage() 146 ret = av_hwframe_ctx_init(out_ref); in init_stage() 151 ret = av_hwframe_get_buffer(out_ref, stage->frame, 0); in init_stage() 158 stage->frames_ctx = out_ref; in init_stage() 163 av_buffer_unref(&out_ref); in init_stage()
|
H A D | vf_scale_cuda.c | 150 AVBufferRef *out_ref = NULL; in init_hwframe_ctx() local 154 out_ref = av_hwframe_ctx_alloc(device_ctx); in init_hwframe_ctx() 155 if (!out_ref) in init_hwframe_ctx() 157 out_ctx = (AVHWFramesContext*)out_ref->data; in init_hwframe_ctx() 164 ret = av_hwframe_ctx_init(out_ref); in init_hwframe_ctx() 169 ret = av_hwframe_get_buffer(out_ref, s->frame, 0); in init_hwframe_ctx() 177 s->frames_ctx = out_ref; in init_hwframe_ctx() 181 av_buffer_unref(&out_ref); in init_hwframe_ctx()
|
H A D | vf_scale_npp.c | 437 AVBufferRef *out_ref = NULL; in init_stage() local 463 out_ref = av_hwframe_ctx_alloc(device_ctx); in init_stage() 464 if (!out_ref) in init_stage() 466 out_ctx = (AVHWFramesContext*)out_ref->data; in init_stage() 473 ret = av_hwframe_ctx_init(out_ref); in init_stage() 478 ret = av_hwframe_get_buffer(out_ref, stage->frame, 0); in init_stage() 486 stage->frames_ctx = out_ref; in init_stage() 490 av_buffer_unref(&out_ref); in init_stage()
|
/third_party/pulseaudio/src/tests/ |
H A D | cpu-remap-test.c | 47 float *out, *out_ref; in run_remap_test_float() local 58 out_ref = out_buf_ref + (8 - align); in run_remap_test_float() 66 remap_orig->do_remap(remap_orig, out_ref, in, nsamples); in run_remap_test_float() 70 if (fabsf(out[i] - out_ref[i]) > 0.0001f) { in run_remap_test_float() 73 out[i], out_ref[i]); in run_remap_test_float() 87 remap_orig->do_remap(remap_orig, out_ref, in, nsamples); in run_remap_test_float() 102 int16_t *out, *out_ref; in run_remap_test_s16() local 113 out_ref = out_buf_ref + (8 - align); in run_remap_test_s16() 120 remap_orig->do_remap(remap_orig, out_ref, in, nsamples); in run_remap_test_s16() 124 if (abs(out[i] - out_ref[ in run_remap_test_s16() 156 int32_t *out, *out_ref; run_remap_test_s32() local [all...] |
H A D | cpu-mix-test.c | 61 PA_DECLARE_ALIGNED(8, int16_t, out_ref[SAMPLES * 4]) = { 0 }; in run_mix_test() 76 samples_ref = out_ref + (8 - align); in run_mix_test()
|
/third_party/ffmpeg/tests/checkasm/ |
H A D | av_tx.c | 79 call_ref(tx_ref, out_ref, in, sizeof(DATA_TYPE)); \ 108 void *out_ref = av_malloc(16384*2*8); in checkasm_check_av_tx() local 113 !float_near_abs_eps_array(out_ref, out_new, EPS, len*2)); in checkasm_check_av_tx() 117 !double_near_abs_eps_array(out_ref, out_new, EPS, len*2)); in checkasm_check_av_tx() 120 av_free(out_ref); in checkasm_check_av_tx()
|
H A D | vf_threshold.c | 41 LOCAL_ALIGNED_32(uint8_t, out_ref , [WIDTH_PADDED]); in check_threshold() 60 memset(out_ref, 0, WIDTH_PADDED); in check_threshold() 71 call_ref(in, threshold, min, max, out_ref, line_size, line_size, line_size, line_size, line_size, w, 1); in check_threshold() 73 if (memcmp(out_ref, out_new, WIDTH)) in check_threshold()
|