/third_party/ffmpeg/tests/checkasm/ |
D | vf_gblur.c | 37 static void check_horiz_slice(float *dst_ref, float *dst_new) in check_horiz_slice() argument 44 call_ref(dst_ref, WIDTH, HEIGHT, steps, nu, bscale); in check_horiz_slice() 46 if (!float_near_abs_eps_array(dst_ref, dst_new, 0.01f, PIXELS)) { in check_horiz_slice() 52 static void check_postscale_slice(float *dst_ref, float *dst_new) in check_postscale_slice() argument 57 call_ref(dst_ref, PIXELS, postscale, -FLT_MAX, FLT_MAX); in check_postscale_slice() 59 if (!float_near_abs_eps_array(dst_ref, dst_new, FLT_EPSILON, PIXELS)) { in check_postscale_slice() 67 float *dst_ref = av_malloc(BUF_SIZE); in checkasm_check_vf_gblur() local 71 randomize_buffers(dst_ref, PIXELS); in checkasm_check_vf_gblur() 72 memcpy(dst_new, dst_ref, BUF_SIZE); in checkasm_check_vf_gblur() 77 check_horiz_slice(dst_ref, dst_new); in checkasm_check_vf_gblur() [all …]
|
D | exrdsp.c | 43 LOCAL_ALIGNED_32(uint8_t, dst_ref, [PADDED_BUF_SIZE]); in check_reorder_pixels() 49 memset(dst_ref, 0, PADDED_BUF_SIZE); in check_reorder_pixels() 52 call_ref(dst_ref, src, BUF_SIZE); in check_reorder_pixels() 54 if (memcmp(dst_ref, dst_new, BUF_SIZE)) in check_reorder_pixels() 61 LOCAL_ALIGNED_32(uint8_t, dst_ref, [PADDED_BUF_SIZE]); in check_predictor() 68 memcpy(dst_ref, src, PADDED_BUF_SIZE); in check_predictor() 70 call_ref(dst_ref, BUF_SIZE); in check_predictor() 72 if (memcmp(dst_ref, dst_new, BUF_SIZE)) in check_predictor()
|
D | vf_hflip.c | 38 LOCAL_ALIGNED_32(uint8_t, dst_ref, [WIDTH_PADDED]); in check_hflip() 49 memset(dst_ref, 0, WIDTH_PADDED); in check_hflip() 63 call_ref(src + (w - 1) * step, dst_ref, i); in check_hflip() 65 if (memcmp(dst_ref, dst_new, i * step)) in check_hflip()
|
D | vf_eq.c | 44 LOCAL_ALIGNED_32(uint8_t, dst_ref, [PIXELS]); in check_eq() 62 memset(dst_ref, 0, PIXELS); in check_eq() 68 call_ref(&pa, dst_ref, dst_stride, src, src_stride, w, h); in check_eq() 70 if (memcmp(dst_ref, dst_new, PIXELS)) in check_eq()
|
/third_party/ffmpeg/libavutil/ |
D | hwcontext.c | 651 AVBufferRef *dst_ref = NULL, *tmp_ref; in av_hwdevice_ctx_create_derived_opts() local 659 dst_ref = av_buffer_ref(tmp_ref); in av_hwdevice_ctx_create_derived_opts() 660 if (!dst_ref) { in av_hwdevice_ctx_create_derived_opts() 669 dst_ref = av_hwdevice_ctx_alloc(type); in av_hwdevice_ctx_create_derived_opts() 670 if (!dst_ref) { in av_hwdevice_ctx_create_derived_opts() 674 dst_ctx = (AVHWDeviceContext*)dst_ref->data; in av_hwdevice_ctx_create_derived_opts() 690 ret = av_hwdevice_ctx_init(dst_ref); in av_hwdevice_ctx_create_derived_opts() 705 *dst_ref_ptr = dst_ref; in av_hwdevice_ctx_create_derived_opts() 709 av_buffer_unref(&dst_ref); in av_hwdevice_ctx_create_derived_opts() 853 AVBufferRef *dst_ref = NULL; in av_hwframe_ctx_create_derived() local [all …]
|
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_shader.c | 41 struct pipe_reference *dst_ref; in vmw_svga_winsys_shader_reference() local 50 dst_ref = dst ? &dst->refcnt : NULL; in vmw_svga_winsys_shader_reference() 52 if (pipe_reference(dst_ref, src_ref)) { in vmw_svga_winsys_shader_reference()
|
D | vmw_surface.c | 250 struct pipe_reference *dst_ref; in vmw_svga_winsys_surface_reference() local 259 dst_ref = dst ? &dst->refcnt : NULL; in vmw_svga_winsys_surface_reference() 261 if (pipe_reference(dst_ref, src_ref)) { in vmw_svga_winsys_surface_reference()
|
/third_party/ffmpeg/libavfilter/ |
D | af_atempo.c | 765 uint8_t **dst_ref, in yae_overlap_add() argument 789 uint8_t *dst = *dst_ref; in yae_overlap_add() 808 *dst_ref = dst; in yae_overlap_add() 822 uint8_t **dst_ref, in yae_apply() argument 875 if (yae_overlap_add(atempo, dst_ref, dst_end) != 0) { in yae_apply() 894 uint8_t **dst_ref, in yae_flush() argument 947 if (yae_overlap_add(atempo, dst_ref, dst_end) != 0) { in yae_flush() 965 dst = (uint8_t *)*dst_ref; in yae_flush() 977 *dst_ref = (uint8_t *)dst; in yae_flush()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_base64.function | 179 void base64_decode_hex_src( data_t * src, char * dst_ref, int result ) 187 TEST_ASSERT( len == strlen( dst_ref ) ); 188 TEST_ASSERT( memcmp( dst, dst_ref, len ) == 0 );
|