/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | lossless_msa.c | 24 #define CONVERT16_BGRA_XXX(psrc, pdst, m0, m1, m2) do { \ 29 ST_UB2(dst0, dst1, pdst, 16); \ 30 ST_UB(dst2, pdst + 32); \ 33 #define CONVERT12_BGRA_XXX(psrc, pdst, m0, m1, m2) do { \ 39 ST_UB2(dst0, dst1, pdst, 16); \ 41 SW(pix_w, pdst + 32); \ 44 #define CONVERT8_BGRA_XXX(psrc, pdst, m0, m1) do { \ 49 ST_UB(dst0, pdst); \ 51 SD(pix_d, pdst + 16); \ 54 #define CONVERT4_BGRA_XXX(psrc, pdst, [all...] |
H A D | msa_macro.h | 60 #define ST_B(RTYPE, in, pdst) *((RTYPE*)(pdst)) = in 64 #define ST_H(RTYPE, in, pdst) *((RTYPE*)(pdst)) = in 68 #define ST_W(RTYPE, in, pdst) *((RTYPE*)(pdst)) = in 86 static inline void FUNC_NAME(TYPE val, void* const pdst) { \ 87 uint8_t* const pdst_m = (uint8_t*)pdst; \ 95 #define MSA_STORE(val, pdst, FUNC_NAME) FUNC_NAME(val, pdst) [all...] |
H A D | alpha_processing_mips_dsp_r2.c | 26 uint8_t* pdst = dst; in DispatchAlpha_MIPSdspR2() local 34 "addiu %[pdst], %[pdst], 16 \n\t" in DispatchAlpha_MIPSdspR2() 39 "sb %[temp0], -16(%[pdst]) \n\t" in DispatchAlpha_MIPSdspR2() 40 "sb %[temp1], -12(%[pdst]) \n\t" in DispatchAlpha_MIPSdspR2() 41 "sb %[temp2], -8(%[pdst]) \n\t" in DispatchAlpha_MIPSdspR2() 42 "sb %[temp3], -4(%[pdst]) \n\t" in DispatchAlpha_MIPSdspR2() 44 [temp3]"=&r"(temp3), [palpha]"+r"(palpha), [pdst]"+r"(pdst), in DispatchAlpha_MIPSdspR2() 55 "sb %[temp0], 0(%[pdst]) \ in DispatchAlpha_MIPSdspR2() [all...] |
H A D | filters_mips_dsp_r2.c | 38 uint8_t* pdst = (uint8_t*)(DST); \ 98 [temp6]"=&r"(temp6), [dst]"+&r"(pdst), [src]"+&r"(psrc) \ 112 uint8_t* pdst = (uint8_t*)(DST); \ 162 [dst]"+&r"(pdst), [src]"+&r"(psrc) \
|
/third_party/ffmpeg/libavutil/mips/ |
H A D | generic_macros_msa.h | 39 #define ST_V(RTYPE, in, pdst) *((RTYPE *)(pdst)) = (in) 84 #define SH(val, pdst) *(uint16_t *)(pdst) = (val); 85 #define SW(val, pdst) *(uint32_t *)(pdst) = (val); 86 #define SD(val, pdst) *(uint64_t *)(pdst) = (val); 154 #define SH(val, pdst) \ 156 uint8_t *pdst_sh_m = (uint8_t *) (pdst); \ [all...] |
/third_party/skia/third_party/externals/libpng/mips/ |
H A D | filter_msa_intrinsics.c | 60 #define SH(val, pdst) \ 62 uint8_t *pdst_sh_m = (uint8_t *) (pdst); \ 73 #define SW(val, pdst) \ 75 uint8_t *pdst_sw_m = (uint8_t *) (pdst); \ 87 #define SD(val, pdst) \ 89 uint8_t *pdst_sd_m = (uint8_t *) (pdst); \ 100 #define SD(val, pdst) \ 102 uint8_t *pdst_sd_m = (uint8_t *) (pdst); \ 131 #define SH(val, pdst) \ 133 uint8_t *pdst_sh_m = (uint8_t *) (pdst); \ [all...] |
/third_party/mesa3d/src/gallium/winsys/svga/drm/ |
H A D | vmw_shader.c | 37 vmw_svga_winsys_shader_reference(struct vmw_svga_winsys_shader **pdst, in vmw_svga_winsys_shader_reference() argument 44 if(pdst == NULL || *pdst == src) in vmw_svga_winsys_shader_reference() 47 dst = *pdst; in vmw_svga_winsys_shader_reference() 66 *pdst = src; in vmw_svga_winsys_shader_reference()
|
H A D | vmw_surface.c | 246 vmw_svga_winsys_surface_reference(struct vmw_svga_winsys_surface **pdst, in vmw_svga_winsys_surface_reference() argument 253 if(pdst == NULL || *pdst == src) in vmw_svga_winsys_surface_reference() 256 dst = *pdst; in vmw_svga_winsys_surface_reference() 274 *pdst = src; in vmw_svga_winsys_surface_reference()
|
H A D | vmw_shader.h | 65 vmw_svga_winsys_shader_reference(struct vmw_svga_winsys_shader **pdst,
|
H A D | vmw_surface.h | 87 vmw_svga_winsys_surface_reference(struct vmw_svga_winsys_surface **pdst,
|
/third_party/ffmpeg/libavcodec/ |
H A D | cfhd.c | 1417 CFHDContext *pdst = dst->priv_data; in update_thread_context() local 1423 if (pdst->plane[0].idwt_size != psrc->plane[0].idwt_size || in update_thread_context() 1424 pdst->a_format != psrc->a_format || in update_thread_context() 1425 pdst->a_width != psrc->a_width || in update_thread_context() 1426 pdst->a_height != psrc->a_height || in update_thread_context() 1427 pdst->a_transform_type != psrc->a_transform_type) in update_thread_context() 1428 free_buffers(pdst); in update_thread_context() 1430 pdst->a_format = psrc->a_format; in update_thread_context() 1431 pdst->a_width = psrc->a_width; in update_thread_context() 1432 pdst in update_thread_context() [all...] |
H A D | pngdec.c | 1644 PNGDecContext *pdst = dst->priv_data; in update_thread_context() local 1653 pdst->width = psrc->width; in update_thread_context() 1654 pdst->height = psrc->height; in update_thread_context() 1655 pdst->bit_depth = psrc->bit_depth; in update_thread_context() 1656 pdst->color_type = psrc->color_type; in update_thread_context() 1657 pdst->compression_type = psrc->compression_type; in update_thread_context() 1658 pdst->interlace_type = psrc->interlace_type; in update_thread_context() 1659 pdst->filter_type = psrc->filter_type; in update_thread_context() 1660 pdst->has_trns = psrc->has_trns; in update_thread_context() 1661 memcpy(pdst in update_thread_context() [all...] |
H A D | ffv1dec.c | 281 PlaneContext *pdst = &fsdst->plane[i]; in decode_slice() local 283 av_free(pdst->state); in decode_slice() 284 av_free(pdst->vlc_state); in decode_slice() 285 memcpy(pdst, psrc, sizeof(*pdst)); in decode_slice() 286 pdst->state = NULL; in decode_slice() 287 pdst->vlc_state = NULL; in decode_slice() 290 pdst->state = av_malloc_array(CONTEXT_SIZE, psrc->context_count); in decode_slice() 291 memcpy(pdst->state, psrc->state, CONTEXT_SIZE * psrc->context_count); in decode_slice() 293 pdst in decode_slice() [all...] |
H A D | rv34.c | 1011 uint8_t *pdst, int stride, in rv34_process_block() 1019 r->rdsp.rv34_idct_add(pdst, stride, ptr); in rv34_process_block() 1021 r->rdsp.rv34_idct_dc_add(pdst, stride, ptr[0]); in rv34_process_block() 1079 uint8_t *pdst; in rv34_output_i16x16() local 1081 pdst = dst + (i&1)*4 + (i&2)*2*s->uvlinesize; in rv34_output_i16x16() 1083 rv34_process_block(r, pdst, s->uvlinesize, in rv34_output_i16x16() 1291 uint8_t *pdst; in rv34_decode_inter_macroblock() local 1293 pdst = dst + (i&1)*4 + (i&2)*2*s->uvlinesize; in rv34_decode_inter_macroblock() 1295 rv34_process_block(r, pdst, s->uvlinesize, in rv34_decode_inter_macroblock() 1010 rv34_process_block(RV34DecContext *r, uint8_t *pdst, int stride, int fc, int sc, int q_dc, int q_ac) rv34_process_block() argument
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
H A D | v3d_blit.c | 208 struct pipe_resource *pdst, in v3d_tfu() 220 struct v3d_resource *dst = v3d_resource(pdst); in v3d_tfu() 223 int msaa_scale = pdst->nr_samples > 1 ? 2 : 1; in v3d_tfu() 224 int width = u_minify(pdst->width0, base_level) * msaa_scale; in v3d_tfu() 225 int height = u_minify(pdst->height0, base_level) * msaa_scale; in v3d_tfu() 228 if (psrc->format != pdst->format) in v3d_tfu() 230 if (psrc->nr_samples != pdst->nr_samples) in v3d_tfu() 243 pformat = pdst->format; in v3d_tfu() 263 v3d_flush_jobs_reading_resource(v3d, pdst, V3D_FLUSH_DEFAULT, false); in v3d_tfu() 287 v3d_layer_offset(pdst, base_leve in v3d_tfu() 207 v3d_tfu(struct pipe_context *pctx, struct pipe_resource *pdst, struct pipe_resource *psrc, unsigned int src_level, unsigned int base_level, unsigned int last_level, unsigned int src_layer, unsigned int dst_layer, bool for_mipmap) v3d_tfu() argument [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | vp8_lpf_lsx.c | 228 #define VP8_ST6x1_UB(in0, in0_idx, in1, in1_idx, pdst, stride) \ 230 __lsx_vstelm_w(in0, pdst, 0, in0_idx); \ 231 __lsx_vstelm_h(in1, pdst + stride, 0, in1_idx); \ 234 #define ST_W4(in, idx0, idx1, idx2, idx3, pdst, stride) \ 236 __lsx_vstelm_w(in, pdst, 0, idx0); \ 237 pdst += stride; \ 238 __lsx_vstelm_w(in, pdst, 0, idx1); \ 239 pdst += stride; \ 240 __lsx_vstelm_w(in, pdst, 0, idx2); \ 241 pdst [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | buffer.c | 233 int av_buffer_replace(AVBufferRef **pdst, const AVBufferRef *src) in av_buffer_replace() argument 235 AVBufferRef *dst = *pdst; in av_buffer_replace() 239 av_buffer_unref(pdst); in av_buffer_replace() 254 av_buffer_unref(pdst); in av_buffer_replace() 255 *pdst = tmp; in av_buffer_replace()
|
/third_party/node/deps/openssl/openssl/ssl/ |
H A D | ssl_asn1.c | 215 static int ssl_session_strndup(char **pdst, ASN1_OCTET_STRING *src) 217 OPENSSL_free(*pdst); 218 *pdst = NULL; 221 *pdst = OPENSSL_strndup((char *)src->data, src->length); 222 if (*pdst == NULL)
|
/third_party/openssl/ssl/ |
H A D | ssl_asn1.c | 215 static int ssl_session_strndup(char **pdst, ASN1_OCTET_STRING *src) 217 OPENSSL_free(*pdst); 218 *pdst = NULL; 221 *pdst = OPENSSL_strndup((char *)src->data, src->length); 222 if (*pdst == NULL)
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_blend.c | 337 nir_ssa_def *pdst = nir_channel(b, dst, c); in nir_blend() local 345 pdst = nir_blend_factor( in nir_blend() 346 b, pdst, in nir_blend() 351 channels[c] = nir_blend_func(b, chan.func, psrc, pdst); in nir_blend()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_winsys.h | 606 struct svga_winsys_surface **pdst, 664 struct pipe_fence_handle **pdst,
|
/third_party/skia/third_party/externals/libwebp/src/mux/ |
H A D | anim_encode.c | 692 uint32_t* const pdst = dst->argb + j * dst->argb_stride; in IncreaseTransparency() local 694 if (psrc[i] == pdst[i] && pdst[i] != TRANSPARENT_COLOR) { in IncreaseTransparency() 695 pdst[i] = TRANSPARENT_COLOR; in IncreaseTransparency() 730 uint32_t* const pdst = dst->argb + j * dst->argb_stride + i; in FlattenSimilarBlocks() local 736 PixelsAreSimilar(src_pixel, pdst[x + y * dst->argb_stride], in FlattenSimilarBlocks() 754 pdst[x + y * dst->argb_stride] = color; in FlattenSimilarBlocks()
|
/third_party/mesa3d/src/gallium/auxiliary/driver_trace/ |
H A D | tr_screen.c | 942 struct pipe_fence_handle **pdst, in trace_screen_fence_reference() 949 assert(pdst); in trace_screen_fence_reference() 950 dst = *pdst; in trace_screen_fence_reference() 958 screen->fence_reference(screen, pdst, src); in trace_screen_fence_reference() 941 trace_screen_fence_reference(struct pipe_screen *_screen, struct pipe_fence_handle **pdst, struct pipe_fence_handle *src) trace_screen_fence_reference() argument
|
/third_party/python/Modules/_ctypes/ |
H A D | callproc.c | 1424 IUnknown *src, **pdst; in copy_com_pointer() local 1432 pdst = (IUnknown **)b.value.p; in copy_com_pointer() 1434 if (pdst == NULL) in copy_com_pointer() 1439 *pdst = src; in copy_com_pointer()
|
/third_party/mesa3d/src/gallium/drivers/tegra/ |
H A D | tegra_context.c | 700 struct pipe_resource *pdst, in tegra_resource_copy_region() 710 struct tegra_resource *dst = to_tegra_resource(pdst); in tegra_resource_copy_region() 746 struct pipe_surface *pdst, in tegra_clear_render_target() 755 struct tegra_surface *dst = to_tegra_surface(pdst); in tegra_clear_render_target() 763 struct pipe_surface *pdst, in tegra_clear_depth_stencil() 774 struct tegra_surface *dst = to_tegra_surface(pdst); in tegra_clear_depth_stencil() 699 tegra_resource_copy_region(struct pipe_context *pcontext, struct pipe_resource *pdst, unsigned int dst_level, unsigned int dstx, unsigned int dsty, unsigned int dstz, struct pipe_resource *psrc, unsigned int src_level, const struct pipe_box *src_box) tegra_resource_copy_region() argument 745 tegra_clear_render_target(struct pipe_context *pcontext, struct pipe_surface *pdst, const union pipe_color_union *color, unsigned int dstx, unsigned int dsty, unsigned int width, unsigned int height, bool render_condition) tegra_clear_render_target() argument 762 tegra_clear_depth_stencil(struct pipe_context *pcontext, struct pipe_surface *pdst, unsigned int flags, double depth, unsigned int stencil, unsigned int dstx, unsigned int dsty, unsigned int width, unsigned int height, bool render_condition) tegra_clear_depth_stencil() argument
|