Home
last modified time | relevance | path

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

12

/external/igt-gpu-tools/lib/
Digt_vc4.c277 static void vc4_fb_convert_plane_to_t_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_to_t_tiled() argument
296 *(uint16_t *)(dst_buf + dst_offset) = in vc4_fb_convert_plane_to_t_tiled()
300 *(uint32_t *)(dst_buf + dst_offset) = in vc4_fb_convert_plane_to_t_tiled()
308 static void vc4_fb_convert_plane_from_t_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_from_t_tiled() argument
327 *(uint16_t *)(dst_buf + dst_offset) = in vc4_fb_convert_plane_from_t_tiled()
331 *(uint32_t *)(dst_buf + dst_offset) = in vc4_fb_convert_plane_from_t_tiled()
357 static void vc4_fb_convert_plane_to_sand_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_to_sand_tiled() argument
399 *(uint8_t *)(dst_buf + dst_offset) = in vc4_fb_convert_plane_to_sand_tiled()
403 *(uint16_t *)(dst_buf + dst_offset) = in vc4_fb_convert_plane_to_sand_tiled()
413 static void vc4_fb_convert_plane_from_sand_tiled(struct igt_fb *dst, void *dst_buf, in vc4_fb_convert_plane_from_sand_tiled() argument
[all …]
Digt_vc4.h37 void vc4_fb_convert_plane_to_tiled(struct igt_fb *dst, void *dst_buf,
39 void vc4_fb_convert_plane_from_tiled(struct igt_fb *dst, void *dst_buf,
Digt_draw.c580 struct igt_buf src_buf = {}, dst_buf = {}; in draw_rect_render() local
608 dst_buf.bo = dst; in draw_rect_render()
609 dst_buf.stride = buf->stride; in draw_rect_render()
610 dst_buf.tiling = tiling; in draw_rect_render()
611 dst_buf.size = buf->size; in draw_rect_render()
612 dst_buf.bpp = buf->bpp; in draw_rect_render()
618 rect->h, &dst_buf, rect->x, rect->y); in draw_rect_render()
/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/mesa3d/src/gallium/frontends/omx/
Dvid_dec_common.c94 struct pipe_video_buffer *dst_buf = NULL; in vid_dec_FillOutput() local
102 dst_buf = util_hash_table_get(priv->video_buffer_map, output); in vid_dec_FillOutput()
103 assert(dst_buf); in vid_dec_FillOutput()
105 dst_surface = dst_buf->get_surfaces(dst_buf); in vid_dec_FillOutput()
Dvid_enc_common.c426 struct vl_video_buffer *dst_buf = (struct vl_video_buffer *)vbuf; in enc_LoadImage_common() local
454 image[1].resource = dst_buf->resources[0]; in enc_LoadImage_common()
458 image[2].resource = dst_buf->resources[1]; in enc_LoadImage_common()
512 dst_buf->resources[0], in enc_LoadImage_common()
526 blit.dst.resource = dst_buf->resources[1]; in enc_LoadImage_common()
/external/libaom/libaom/av1/encoder/
Dreconinter_enc.c94 struct buf_2d *const dst_buf = &pd->dst; in av1_enc_build_inter_predictor_y() local
95 uint8_t *const dst = dst_buf->buf; in av1_enc_build_inter_predictor_y()
108 av1_enc_build_one_inter_predictor(dst, dst_buf->stride, &mv, in av1_enc_build_inter_predictor_y()
338 struct buf_2d *const dst_buf = &pd->dst; in build_wedge_inter_predictor_from_buf() local
339 uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x; in build_wedge_inter_predictor_from_buf()
360 dst, dst_buf->stride, CONVERT_TO_BYTEPTR(ext_dst0), ext_dst_stride0, in build_wedge_inter_predictor_from_buf()
364 build_masked_compound(dst, dst_buf->stride, ext_dst0, ext_dst_stride0, in build_wedge_inter_predictor_from_buf()
369 build_masked_compound(dst, dst_buf->stride, ext_dst0, ext_dst_stride0, in build_wedge_inter_predictor_from_buf()
377 dst, dst_buf->stride, NULL, 0, NULL, 0, w, h, in build_wedge_inter_predictor_from_buf()
380 aom_convolve_copy(ext_dst0, ext_dst_stride0, dst, dst_buf->stride, NULL, in build_wedge_inter_predictor_from_buf()
[all …]
/external/libaom/libaom/aom/src/
Daom_encoder.c182 char *const dst_buf = (char *)priv->enc.cx_data_dst_buf.buf; in aom_codec_get_cx_data() local
184 if (dst_buf && pkt->data.raw.buf != dst_buf && in aom_codec_get_cx_data()
190 memcpy(dst_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, in aom_codec_get_cx_data()
193 modified_pkt->data.raw.buf = dst_buf; in aom_codec_get_cx_data()
199 if (dst_buf == pkt->data.raw.buf) { in aom_codec_get_cx_data()
200 priv->enc.cx_data_dst_buf.buf = dst_buf + pkt->data.raw.sz; in aom_codec_get_cx_data()
/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/libvpx/libvpx/vpx/src/
Dvpx_encoder.c258 char *const dst_buf = (char *)priv->enc.cx_data_dst_buf.buf; in vpx_codec_get_cx_data() local
260 if (dst_buf && pkt->data.raw.buf != dst_buf && in vpx_codec_get_cx_data()
266 memcpy(dst_buf + priv->enc.cx_data_pad_before, pkt->data.raw.buf, in vpx_codec_get_cx_data()
269 modified_pkt->data.raw.buf = dst_buf; in vpx_codec_get_cx_data()
275 if (dst_buf == pkt->data.raw.buf) { in vpx_codec_get_cx_data()
276 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/angle/third_party/abseil-cpp/absl/flags/internal/
Dsequence_lock_test.cc161 std::vector<char> dst_buf(size, '0'); in TEST_P() local
162 ASSERT_TRUE(seq_lock.TryRead(dst_buf.data(), protected_buf.data(), size)); in TEST_P()
163 ASSERT_EQ(src_buf, dst_buf); in TEST_P()
/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 + (int64_t)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/libvpx/libvpx/test/
Dy4m_video_source.h93 std::swap(other->y4m_.dst_buf, y4m_.dst_buf); in SwapBuffers()
/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/mesa3d/src/amd/vulkan/
Dradv_query.c83 radv_store_availability(nir_builder *b, nir_ssa_def *flags, nir_ssa_def *dst_buf, in radv_store_availability() argument
92 store->src[1] = nir_src_for_ssa(dst_buf); in radv_store_availability()
103 store->src[1] = nir_src_for_ssa(dst_buf); in radv_store_availability()
173 nir_ssa_def *dst_buf = radv_meta_load_descriptor(&b, 0, 0); in build_occlusion_query_shader() local
251 store->src[1] = nir_src_for_ssa(dst_buf); in build_occlusion_query_shader()
262 store->src[1] = nir_src_for_ssa(dst_buf); in build_occlusion_query_shader()
272 radv_store_availability(&b, flags, dst_buf, in build_occlusion_query_shader()
337 nir_ssa_def *dst_buf = radv_meta_load_descriptor(&b, 0, 0); in build_pipeline_statistics_query_shader() local
371 radv_store_availability(&b, flags, dst_buf, in build_pipeline_statistics_query_shader()
408 store->src[1] = nir_src_for_ssa(dst_buf); in build_pipeline_statistics_query_shader()
[all …]
Dradv_meta_buffer.c30 nir_ssa_def *dst_buf = radv_meta_load_descriptor(&b, 0, 0); in build_buffer_fill_shader() local
44 store->src[1] = nir_src_for_ssa(dst_buf); in build_buffer_fill_shader()
78 nir_ssa_def *dst_buf = radv_meta_load_descriptor(&b, 0, 0); in build_buffer_copy_shader() local
91 store->src[1] = nir_src_for_ssa(dst_buf); in build_buffer_copy_shader()
/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/igt-gpu-tools/tests/i915/
Dgem_ring_sync_copy.c210 struct igt_buf src_buf, dst_buf; in render_copy() local
213 scratch_buf_init_from_bo(&dst_buf, dst); in render_copy()
220 &dst_buf, in render_copy()
Dgem_stress.c596 struct igt_buf *src_buf, *dst_buf; in copy_tiles() local
610 dst_buf = &buffers[target_set][dst_buf_idx]; in copy_tiles()
612 tile2xy(dst_buf, dst_tile, &dst_x, &dst_y); in copy_tiles()
621 dst_buf->data, in copy_tiles()
622 dst_buf->stride / sizeof(uint32_t), in copy_tiles()
628 copyfunc(src_buf, src_x, src_y, dst_buf, dst_x, dst_y, in copy_tiles()
/external/libmpeg2/common/
Dimpeg2_inter_pred.h62 yuv_buf_t *dst_buf,

12