Home
last modified time | relevance | path

Searched refs:first_pixel (Results 1 – 8 of 8) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dvp3dsp.c383 static av_always_inline void vp3_v_loop_filter_c(uint8_t *first_pixel, ptrdiff_t stride, in vp3_v_loop_filter_c() argument
390 for (end = first_pixel + count; first_pixel < end; first_pixel++) { in vp3_v_loop_filter_c()
391 filter_value = (first_pixel[2 * nstride] - first_pixel[stride]) + in vp3_v_loop_filter_c()
392 (first_pixel[0] - first_pixel[nstride]) * 3; in vp3_v_loop_filter_c()
395 first_pixel[nstride] = av_clip_uint8(first_pixel[nstride] + filter_value); in vp3_v_loop_filter_c()
396 first_pixel[0] = av_clip_uint8(first_pixel[0] - filter_value); in vp3_v_loop_filter_c()
400 static av_always_inline void vp3_h_loop_filter_c(uint8_t *first_pixel, ptrdiff_t stride, in vp3_h_loop_filter_c() argument
406 for (end = first_pixel + count * stride; first_pixel != end; first_pixel += stride) { in vp3_h_loop_filter_c()
407 filter_value = (first_pixel[-2] - first_pixel[1]) + in vp3_h_loop_filter_c()
408 (first_pixel[ 0] - first_pixel[-1]) * 3; in vp3_h_loop_filter_c()
[all …]
Dvp3dsp.h50 void ff_vp3dsp_v_loop_filter_12(uint8_t *first_pixel, ptrdiff_t stride, int *bounding_values);
51 void ff_vp3dsp_h_loop_filter_12(uint8_t *first_pixel, ptrdiff_t stride, int *bounding_values);
Dvp3.c2075 int plane, first_pixel; in render_slice() local
2125 first_pixel = 8 * y * stride + 8 * x; in render_slice()
2141 motion_source += first_pixel; in render_slice()
2206 output_plane + first_pixel, in render_slice()
2212 s->vp3dsp.put_no_rnd_pixels_l2(output_plane + first_pixel, in render_slice()
2224 s->vp3dsp.idct_put(output_plane + first_pixel, in render_slice()
2230 s->vp3dsp.idct_add(output_plane + first_pixel, in render_slice()
2234 s->vp3dsp.idct_dc_add(output_plane + first_pixel, in render_slice()
2241 output_plane + first_pixel, in render_slice()
2242 last_plane + first_pixel, in render_slice()
/third_party/boost/libs/compute/test/
Dtest_image1d.cpp54 compute::uchar_ first_pixel = 0; in BOOST_AUTO_TEST_CASE() local
55 queue.enqueue_read_image(img, compute::dim(0), compute::dim(1), &first_pixel); in BOOST_AUTO_TEST_CASE()
56 BOOST_CHECK_EQUAL(first_pixel, compute::uchar_(128)); in BOOST_AUTO_TEST_CASE()
Dtest_image2d.cpp142 compute::uchar4_ first_pixel; in BOOST_AUTO_TEST_CASE() local
143 queue.enqueue_read_image(img, compute::dim(0), compute::dim(1), &first_pixel); in BOOST_AUTO_TEST_CASE()
144 BOOST_CHECK_EQUAL(first_pixel, compute::uchar4_(0, 0, 0, 255)); in BOOST_AUTO_TEST_CASE()
151 queue.enqueue_read_image(img, compute::dim(0), compute::dim(1), &first_pixel); in BOOST_AUTO_TEST_CASE()
152 BOOST_CHECK_EQUAL(first_pixel, compute::uchar4_(255, 255, 255, 255)); in BOOST_AUTO_TEST_CASE()
/third_party/ffmpeg/libavcodec/mips/
Dvp3dsp_mips.h30 void ff_vp3_v_loop_filter_msa(uint8_t *first_pixel, ptrdiff_t stride,
34 void ff_vp3_h_loop_filter_msa(uint8_t *first_pixel, ptrdiff_t stride,
Dvp3dsp_idct_msa.c445 void ff_vp3_v_loop_filter_msa(uint8_t *first_pixel, ptrdiff_t stride, in ff_vp3_v_loop_filter_msa() argument
460 LD_SB4(first_pixel + nstride * 2, stride, d0, d1, d2, d3); in ff_vp3_v_loop_filter_msa()
481 ST_D1(d1, 0, first_pixel + nstride); in ff_vp3_v_loop_filter_msa()
482 ST_D1(d2, 0, first_pixel); in ff_vp3_v_loop_filter_msa()
485 void ff_vp3_h_loop_filter_msa(uint8_t *first_pixel, ptrdiff_t stride, in ff_vp3_h_loop_filter_msa() argument
499 LD_SB8(first_pixel - 2, stride, d0, d1, d2, d3, d4, d5, d6, d7); in ff_vp3_h_loop_filter_msa()
524 ST_H4(d1, 0, 1, 2, 3, first_pixel - 1, stride); in ff_vp3_h_loop_filter_msa()
525 ST_H4(d2, 0, 1, 2, 3, first_pixel - 1 + 4 * stride, stride); in ff_vp3_h_loop_filter_msa()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_blorp.c833 const uint32_t first_pixel = _mesa_image_offset(dims, packing, w, h, in blorp_get_client_bo() local
839 const uint32_t size = last_pixel - first_pixel; in blorp_get_client_bo()
845 const uint32_t offset = first_pixel + (intptr_t)pixels; in blorp_get_client_bo()
890 if (brw_bo_subdata(bo, 0, size, pixels + first_pixel)) { in blorp_get_client_bo()