Home
last modified time | relevance | path

Searched refs:dst_buf (Results 1 – 25 of 29) sorted by relevance

12

/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c36 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_fill_shader() local
38 dst_buf->src[0] = nir_src_for_ssa(nir_imm_int(&b, 0)); in build_buffer_fill_shader()
39 nir_intrinsic_set_desc_set(dst_buf, 0); in build_buffer_fill_shader()
40 nir_intrinsic_set_binding(dst_buf, 0); in build_buffer_fill_shader()
41 nir_ssa_dest_init(&dst_buf->instr, &dst_buf->dest, 1, 32, NULL); in build_buffer_fill_shader()
42 nir_builder_instr_insert(&b, &dst_buf->instr); in build_buffer_fill_shader()
56 store->src[1] = nir_src_for_ssa(&dst_buf->dest.ssa); in build_buffer_fill_shader()
88 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_buffer_copy_shader() local
90 dst_buf->src[0] = nir_src_for_ssa(nir_imm_int(&b, 0)); in build_buffer_copy_shader()
91 nir_intrinsic_set_desc_set(dst_buf, 0); in build_buffer_copy_shader()
[all …]
Dradv_query.c139 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_occlusion_query_shader() local
141 dst_buf->src[0] = nir_src_for_ssa(nir_imm_int(&b, 0)); in build_occlusion_query_shader()
142 nir_intrinsic_set_desc_set(dst_buf, 0); in build_occlusion_query_shader()
143 nir_intrinsic_set_binding(dst_buf, 0); in build_occlusion_query_shader()
144 nir_ssa_dest_init(&dst_buf->instr, &dst_buf->dest, 1, 32, NULL); in build_occlusion_query_shader()
145 nir_builder_instr_insert(&b, &dst_buf->instr); in build_occlusion_query_shader()
236 store->src[1] = nir_src_for_ssa(&dst_buf->dest.ssa); in build_occlusion_query_shader()
246 store->src[1] = nir_src_for_ssa(&dst_buf->dest.ssa); in build_occlusion_query_shader()
264 store->src[1] = nir_src_for_ssa(&dst_buf->dest.ssa); in build_occlusion_query_shader()
331 nir_intrinsic_instr *dst_buf = nir_intrinsic_instr_create(b.shader, in build_pipeline_statistics_query_shader() local
[all …]
/external/puffin/src/
Dpatching_unittest.cc132 const Buffer& dst_buf, in TestPatching() argument
140 ASSERT_TRUE(PuffDiff(src_buf, dst_buf, src_deflates, dst_deflates, in TestPatching()
150 Buffer dst_buf_out(dst_buf.size()); in TestPatching()
154 EXPECT_EQ(dst_buf_out, dst_buf); in TestPatching()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c142 struct buf_2d *const dst_buf = &pd->dst; in build_inter_predictors() local
143 uint8_t *dst = dst_buf->buf + dst_buf->stride * y + x; in build_inter_predictors()
163 struct buf_2d *const pre_buf = is_intrabc ? dst_buf : &pd->pre[ref]; in build_inter_predictors()
182 pre, pre_buf->stride, dst, dst_buf->stride, &subpel_params, sf, in build_inter_predictors()
203 struct buf_2d *const dst_buf = &pd->dst; in build_inter_predictors() local
204 uint8_t *const dst = dst_buf->buf; in build_inter_predictors()
208 struct buf_2d *const pre_buf = is_intrabc ? dst_buf : &pd->pre[ref]; in build_inter_predictors()
224 pre, pre_buf->stride, dst, dst_buf->stride, &subpel_params, sf, bw, in build_inter_predictors()
231 pre, pre_buf->stride, dst, dst_buf->stride, &subpel_params, sf, bw, in build_inter_predictors()
549 struct buf_2d *const dst_buf = &pd->dst; in build_wedge_inter_predictor_from_buf() local
[all …]
/external/webp/src/dec/
Dbuffer_dec.c272 WebPDecBuffer* const dst_buf) { in WebPCopyDecBufferPixels() argument
273 assert(src_buf != NULL && dst_buf != NULL); in WebPCopyDecBufferPixels()
274 assert(src_buf->colorspace == dst_buf->colorspace); in WebPCopyDecBufferPixels()
276 dst_buf->width = src_buf->width; in WebPCopyDecBufferPixels()
277 dst_buf->height = src_buf->height; in WebPCopyDecBufferPixels()
278 if (CheckDecBuffer(dst_buf) != VP8_STATUS_OK) { in WebPCopyDecBufferPixels()
283 const WebPRGBABuffer* const dst = &dst_buf->u.RGBA; in WebPCopyDecBufferPixels()
289 const WebPYUVABuffer* const dst = &dst_buf->u.YUVA; in WebPCopyDecBufferPixels()
/external/libaom/libaom/aom/src/
Daom_encoder.c282 char *const dst_buf = (char *)priv->enc.cx_data_dst_buf.buf; in aom_codec_get_cx_data() local
284 if (dst_buf && pkt->data.raw.buf != dst_buf && in aom_codec_get_cx_data()
290 memcpy(dst_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, in aom_codec_get_cx_data()
293 modified_pkt->data.raw.buf = dst_buf; in aom_codec_get_cx_data()
299 if (dst_buf == pkt->data.raw.buf) { in aom_codec_get_cx_data()
300 priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; in aom_codec_get_cx_data()
/external/libvpx/libvpx/vpx/src/
Dvpx_encoder.c264 char *const dst_buf = (char *)priv->enc.cx_data_dst_buf.buf; in vpx_codec_get_cx_data() local
266 if (dst_buf && pkt->data.raw.buf != dst_buf && in vpx_codec_get_cx_data()
272 memcpy(dst_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, in vpx_codec_get_cx_data()
275 modified_pkt->data.raw.buf = dst_buf; in vpx_codec_get_cx_data()
281 if (dst_buf == pkt->data.raw.buf) { in vpx_codec_get_cx_data()
282 priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; in vpx_codec_get_cx_data()
/external/curl/tests/server/
Dgetpart.c178 static int appenddata(char **dst_buf, /* dest buffer */ in appenddata() argument
203 char *newptr = realloc(*dst_buf, newsize); in appenddata()
208 *dst_buf = newptr; in appenddata()
212 memcpy(*dst_buf + *dst_len, src_buf, src_len); in appenddata()
214 *(*dst_buf + *dst_len) = '\0'; in appenddata()
/external/libvpx/libvpx/vp9/common/
Dvp9_reconinter.c138 struct buf_2d *const dst_buf = &pd->dst; in build_inter_predictors() local
139 uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x; in build_inter_predictors()
194 CONVERT_TO_SHORTPTR(dst), dst_buf->stride, in build_inter_predictors()
198 inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride, subpel_x, in build_inter_predictors()
202 inter_predictor(pre, pre_buf->stride, dst, dst_buf->stride, subpel_x, in build_inter_predictors()
/external/libaom/libaom/examples/
Dlightfield_decoder.c71 unsigned char *dst_buf = dst->planes[plane]; in aom_img_copy_tile() local
79 dst_buf += roffset * dst_stride + (coffset << shift); in aom_img_copy_tile()
86 memcpy(dst_buf, src_buf, w); in aom_img_copy_tile()
88 dst_buf += dst_stride; in aom_img_copy_tile()
/external/libvpx/libvpx/test/
Dy4m_video_source.h93 std::swap(other->y4m_.dst_buf, y4m_.dst_buf); in SwapBuffers()
/external/libaom/libaom/test/
Dy4m_video_source.h95 std::swap(other->y4m_.dst_buf, y4m_.dst_buf); in SwapBuffers()
/external/libvpx/libvpx/
Dy4minput.c1052 _y4m->dst_buf = (unsigned char *)malloc(_y4m->dst_buf_sz); in y4m_input_open()
1054 _y4m->dst_buf = (unsigned char *)malloc(2 * _y4m->dst_buf_sz); in y4m_input_open()
1062 free(_y4m->dst_buf); in y4m_input_close()
1090 if (!file_read(_y4m->dst_buf, _y4m->dst_buf_read_sz, _fin)) { in y4m_input_fetch_frame()
1100 (*_y4m->convert)(_y4m, _y4m->dst_buf, _y4m->aux_buf); in y4m_input_fetch_frame()
1122 _img->planes[VPX_PLANE_Y] = _y4m->dst_buf; in y4m_input_fetch_frame()
1123 _img->planes[VPX_PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame()
1124 _img->planes[VPX_PLANE_V] = _y4m->dst_buf + pic_sz + c_sz; in y4m_input_fetch_frame()
1125 _img->planes[VPX_PLANE_ALPHA] = _y4m->dst_buf + pic_sz + 2 * c_sz; in y4m_input_fetch_frame()
Dy4minput.h52 unsigned char *dst_buf; member
/external/libaom/libaom/common/
Dy4minput.c1080 _y4m->dst_buf = (unsigned char *)malloc(_y4m->dst_buf_sz); in y4m_input_open()
1082 _y4m->dst_buf = (unsigned char *)malloc(2 * _y4m->dst_buf_sz); in y4m_input_open()
1090 free(_y4m->dst_buf); in y4m_input_close()
1118 if (!file_read(_y4m->dst_buf, _y4m->dst_buf_read_sz, _fin)) { in y4m_input_fetch_frame()
1128 (*_y4m->convert)(_y4m, _y4m->dst_buf, _y4m->aux_buf); in y4m_input_fetch_frame()
1149 _img->planes[AOM_PLANE_Y] = _y4m->dst_buf; in y4m_input_fetch_frame()
1150 _img->planes[AOM_PLANE_U] = _y4m->dst_buf + pic_sz; in y4m_input_fetch_frame()
1151 _img->planes[AOM_PLANE_V] = _y4m->dst_buf + pic_sz + c_sz; in y4m_input_fetch_frame()
Dy4minput.h53 unsigned char *dst_buf; member
/external/libmpeg2/common/
Dimpeg2_inter_pred.h62 yuv_buf_t *dst_buf,
/external/strace/
Dsocketutils.c182 char dst_buf[text_size]; in inet_parse_response() local
185 dst_buf, text_size)) in inet_parse_response()
190 ob, dst_buf, cb, ntohs(diag_msg->id.idiag_dport)) in inet_parse_response()
/external/libmpeg2/common/x86/
Dimpeg2_inter_pred_sse42_intr.c70 yuv_buf_t *dst_buf, in impeg2_copy_mb_sse42() argument
82 dst = dst_buf->pu1_y; in impeg2_copy_mb_sse42()
140 dst = dst_buf->pu1_u; in impeg2_copy_mb_sse42()
171 dst = dst_buf->pu1_v; in impeg2_copy_mb_sse42()
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodeframe.c564 struct buf_2d *dst_buf, const MV *mv, RefCntBuffer *ref_frame_buf, in dec_build_inter_predictors() argument
567 uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x; in dec_build_inter_predictors()
674 frame_height, border_offset, dst, dst_buf->stride, in dec_build_inter_predictors()
686 CONVERT_TO_SHORTPTR(dst), dst_buf->stride, subpel_x, in dec_build_inter_predictors()
689 inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, in dec_build_inter_predictors()
693 inter_predictor(buf_ptr, buf_stride, dst, dst_buf->stride, subpel_x, subpel_y, in dec_build_inter_predictors()
731 struct buf_2d *const dst_buf = &pd->dst; in dec_build_inter_predictors_sb() local
743 dst_buf, &mv, ref_frame_buf, is_scaled, in dec_build_inter_predictors_sb()
752 struct buf_2d *const dst_buf = &pd->dst; in dec_build_inter_predictors_sb() local
760 dst_buf, &mv, ref_frame_buf, is_scaled, ref); in dec_build_inter_predictors_sb()
/external/openssh/
Dumac.c188 UINT8 *dst_buf = (UINT8 *)bufp; in kdf() local
197 memcpy(dst_buf,out_buf,AES_BLOCK_LEN); in kdf()
200 dst_buf += AES_BLOCK_LEN; in kdf()
204 memcpy(dst_buf,out_buf,nbytes); in kdf()
/external/mesa3d/src/gallium/state_trackers/omx_bellagio/
Dvid_enc.c921 struct vl_video_buffer *dst_buf = (struct vl_video_buffer *)vbuf; in enc_LoadImage() local
930 dst_buf->resources[0], in enc_LoadImage()
943 blit.dst.resource = dst_buf->resources[1]; in enc_LoadImage()
/external/libaom/libaom/aom_dsp/
Dvariance.c309 const struct buf_2d *const dst_buf = &pd->dst; in aom_upsampled_pred_c() local
311 is_intrabc ? dst_buf : &pd->pre[ref_num]; in aom_upsampled_pred_c()
901 const struct buf_2d *const dst_buf = &pd->dst; in aom_highbd_upsampled_pred_c() local
903 is_intrabc ? dst_buf : &pd->pre[ref_num]; in aom_highbd_upsampled_pred_c()
/external/libaom/libaom/aom_dsp/x86/
Dvariance_sse2.c512 const struct buf_2d *const dst_buf = &pd->dst; in aom_upsampled_pred_sse2() local
514 is_intrabc ? dst_buf : &pd->pre[ref_num]; in aom_upsampled_pred_sse2()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c700 struct buf_2d *const dst_buf = &pd->dst; in dec_build_inter_predictors() local
701 uint8_t *dst = dst_buf->buf + dst_buf->stride * y + x; in dec_build_inter_predictors()
721 struct buf_2d *const pre_buf = is_intrabc ? dst_buf : &pd->pre[ref]; in dec_build_inter_predictors()
751 pre, src_stride, dst, dst_buf->stride, &subpel_params, sf, b4_w, in dec_build_inter_predictors()
766 struct buf_2d *const dst_buf = &pd->dst; in dec_build_inter_predictors() local
767 uint8_t *const dst = dst_buf->buf; in dec_build_inter_predictors()
774 struct buf_2d *const pre_buf = is_intrabc ? dst_buf : &pd->pre[ref]; in dec_build_inter_predictors()
822 pre[ref], src_stride[ref], dst, dst_buf->stride, in dec_build_inter_predictors()
828 pre[ref], src_stride[ref], dst, dst_buf->stride, in dec_build_inter_predictors()

12