/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | rv40dsp_init_aarch64.c | 28 void ff_put_rv40_chroma_mc8_neon(uint8_t *dst, uint8_t *src, ptrdiff_t stride, 30 void ff_put_rv40_chroma_mc4_neon(uint8_t *dst, uint8_t *src, ptrdiff_t stride, 33 void ff_avg_rv40_chroma_mc8_neon(uint8_t *dst, uint8_t *src, ptrdiff_t stride, 35 void ff_avg_rv40_chroma_mc4_neon(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
|
/third_party/ffmpeg/libavcodec/ |
H A D | vp56dsp.h | 28 void (*edge_filter_hor)(uint8_t *yuv, ptrdiff_t stride, int t); 29 void (*edge_filter_ver)(uint8_t *yuv, ptrdiff_t stride, int t); 31 void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, ptrdiff_t stride, 35 void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
|
H A D | targa.c | 35 int stride, int *y, int h, int interleave) in advance_line() 40 return line + interleave * stride; in advance_line() 44 return start + *y * stride; in advance_line() 52 uint8_t *start, int w, int h, int stride, in targa_decode_rle() 80 dst = line = advance_line(start, line, stride, &y, h, interleave); in targa_decode_rle() 96 dst = line = advance_line(start, line, stride, &y, h, interleave); in targa_decode_rle() 115 int stride; in decode_frame() local 198 stride = p->linesize[0]; in decode_frame() 201 stride = -p->linesize[0]; in decode_frame() 259 int res = targa_decode_rle(avctx, s, dst, w, h, stride, bp in decode_frame() 34 advance_line(uint8_t *start, uint8_t *line, int stride, int *y, int h, int interleave) advance_line() argument 51 targa_decode_rle(AVCodecContext *avctx, TargaContext *s, uint8_t *start, int w, int h, int stride, int bpp, int interleave) targa_decode_rle() argument [all...] |
H A D | 012v.c | 46 int stride = avctx->width * 8 / 3; in zero12v_decode_frame() local 56 stride = avpkt->size / avctx->height; in zero12v_decode_frame() 58 if (avpkt->size < avctx->height * stride) { in zero12v_decode_frame() 60 avpkt->size, avctx->height * stride); in zero12v_decode_frame() 70 line_end = avpkt->data + stride; in zero12v_decode_frame() 138 line_end += stride; in zero12v_decode_frame() 139 src = line_end - stride; in zero12v_decode_frame()
|
H A D | rl2.c | 58 * @param stride stride of the output buffer 62 uint8_t *out, int stride, int video_base) in rl2_rle_decode() 66 int stride_adj = stride - s->avctx->width; in rl2_rle_decode() 70 const uint8_t *out_end = out + stride * s->avctx->height; in rl2_rle_decode() 77 out += stride; in rl2_rle_decode() 82 out += base_x - stride; in rl2_rle_decode() 109 line_end += stride; in rl2_rle_decode() 122 line_end += stride; in rl2_rle_decode() 61 rl2_rle_decode(Rl2Context *s, const uint8_t *in, int size, uint8_t *out, int stride, int video_base) rl2_rle_decode() argument
|
H A D | vp9dsp.h | 45 * stride is aligned by 16 pixels 52 ptrdiff_t stride, 61 * stride is aligned by 16 pixels 71 ptrdiff_t stride, 78 * dst/stride are aligned by 8 80 void (*loop_filter_8[3][2])(uint8_t *dst, ptrdiff_t stride, 86 * The width of filter is assumed to be 16; dst/stride are aligned by 16 88 void (*loop_filter_16[2])(uint8_t *dst, ptrdiff_t stride, 95 * dst/stride are aligned by operation size 102 void (*loop_filter_mix2[2][2][2])(uint8_t *dst, ptrdiff_t stride, [all...] |
H A D | pixblockdsp.h | 31 ptrdiff_t stride); 34 ptrdiff_t stride); 38 ptrdiff_t stride); 42 ptrdiff_t stride);
|
H A D | vp6dsp.c | 30 void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride, in ff_vp6_filter_diag4_c() argument 37 src -= stride; in ff_vp6_filter_diag4_c() 46 src += stride; in ff_vp6_filter_diag4_c() 58 dst += stride; in ff_vp6_filter_diag4_c()
|
/third_party/ffmpeg/libavcodec/mips/ |
H A D | h263dsp_msa.c | 29 static void h263_h_loop_filter_msa(uint8_t *src, int32_t stride, int32_t qscale) in h263_h_loop_filter_msa() argument 38 LD_UB8(src, stride, in0, in1, in2, in3, in4, in5, in6, in7); in h263_h_loop_filter_msa() 89 ST_W8(in0, in3, 0, 1, 2, 3, 0, 1, 2, 3, src, stride); in h263_h_loop_filter_msa() 92 static void h263_v_loop_filter_msa(uint8_t *src, int32_t stride, int32_t qscale) in h263_v_loop_filter_msa() argument 100 src -= 2 * stride; in h263_v_loop_filter_msa() 101 LD_UB4(src, stride, in0, in3, in2, in1); in h263_v_loop_filter_msa() 150 SD4(res0, res1, res2, res3, src, stride); in h263_v_loop_filter_msa() 153 void ff_h263_h_loop_filter_msa(uint8_t *src, int32_t stride, int32_t q_scale) in ff_h263_h_loop_filter_msa() argument 155 h263_h_loop_filter_msa(src, stride, q_scale); in ff_h263_h_loop_filter_msa() 158 void ff_h263_v_loop_filter_msa(uint8_t *src, int32_t stride, int32_ argument [all...] |
H A D | vp3dsp_mips.h | 30 void ff_vp3_v_loop_filter_msa(uint8_t *first_pixel, ptrdiff_t stride, 33 const uint8_t *src2, ptrdiff_t stride, int h); 34 void ff_vp3_h_loop_filter_msa(uint8_t *first_pixel, ptrdiff_t stride, 41 const uint8_t *src2, ptrdiff_t stride, int h);
|
/third_party/mesa3d/src/gallium/targets/haiku-softpipe/ |
H A D | SoftwareRenderer.cpp | 45 int32 width, height, stride; member 49 RasBuf32(int32 width, int32 height, int32 stride, int32 orgX, int32 orgY, int32 *colors): in RasBuf32() 50 width(width), height(height), stride(stride), orgX(orgX), orgY(orgY), colors(colors) in RasBuf32() 57 stride = bmp->BytesPerRow()/4; in RasBuf32() 67 stride = info->bytes_per_row/4; in RasBuf32() 80 colors += y*stride + x; in ClipSize() 104 dst.stride -= dst.width; in Clear() 108 dst.colors += dst.stride; in Clear() 122 dst.colors += dst.stride; in Blit() [all...] |
/third_party/skia/third_party/externals/libwebp/src/dsp/ |
H A D | dec.c | 553 static void SimpleVFilter16_C(uint8_t* p, int stride, int thresh) { in SimpleVFilter16_C() argument 557 if (NeedsFilter_C(p + i, stride, thresh2)) { in SimpleVFilter16_C() 558 DoFilter2_C(p + i, stride); in SimpleVFilter16_C() 563 static void SimpleHFilter16_C(uint8_t* p, int stride, int thresh) { in SimpleHFilter16_C() argument 567 if (NeedsFilter_C(p + i * stride, 1, thresh2)) { in SimpleHFilter16_C() 568 DoFilter2_C(p + i * stride, 1); in SimpleHFilter16_C() 573 static void SimpleVFilter16i_C(uint8_t* p, int stride, int thresh) { in SimpleVFilter16i_C() argument 576 p += 4 * stride; in SimpleVFilter16i_C() 577 SimpleVFilter16_C(p, stride, thresh); in SimpleVFilter16i_C() 581 static void SimpleHFilter16i_C(uint8_t* p, int stride, in argument 631 VFilter16_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16_C() argument 636 HFilter16_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16_C() argument 642 VFilter16i_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) VFilter16i_C() argument 653 HFilter16i_C(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) HFilter16i_C() argument 665 VFilter8_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8_C() argument 673 HFilter8_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8_C() argument 681 VFilter8i_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) VFilter8i_C() argument 689 HFilter8i_C(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) HFilter8i_C() argument [all...] |
/third_party/mesa3d/src/mesa/math/ |
H A D | m_vector.c | 87 STATIC_ASSERT(V4F_STRIDE == offsetof(GLvector4f, stride)); in _mesa_vector4f_init() 91 v->stride = 4 * sizeof(GLfloat); in _mesa_vector4f_init() 111 v->stride = 4 * sizeof(GLfloat); in _mesa_vector4f_alloc() 161 for (; d != v->start; STRIDE_F(d, v->stride), i++) in _mesa_vector4f_print() 168 for (; i < count; STRIDE_F(d, v->stride), i++) in _mesa_vector4f_print() 173 for (; i < count; STRIDE_F(d, v->stride), i++) in _mesa_vector4f_print() 184 i++, STRIDE_F(d, v->stride)) { in _mesa_vector4f_print()
|
/third_party/skia/third_party/externals/harfbuzz/util/ |
H A D | helper-cairo-ansi.hh | 44 chafa_print_image_rgb24 (const void *data, int width, int height, int stride) in chafa_print_image_rgb24() argument 109 stride); in chafa_print_image_rgb24() 157 unsigned int stride = cairo_image_surface_get_stride (surface); in helper_cairo_surface_write_to_ansi_stream() local 175 data += stride / 4; in helper_cairo_surface_write_to_ansi_stream() 183 const uint32_t *row = data + (height - 1) * stride / 4; in helper_cairo_surface_write_to_ansi_stream() 199 chafa_print_image_rgb24 (data, width, height, stride); in helper_cairo_surface_write_to_ansi_stream() 202 ansi_print_image_rgb24 (data, width, height, stride / 4); in helper_cairo_surface_write_to_ansi_stream()
|
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | hugetlb.h | 69 unsigned long stride = huge_page_size(hstate_vma(vma)); in flush_hugetlb_tlb_range() local 71 if (stride == PMD_SIZE) in flush_hugetlb_tlb_range() 72 __flush_tlb_range(vma, start, end, stride, false, 2); in flush_hugetlb_tlb_range() 73 else if (stride == PUD_SIZE) in flush_hugetlb_tlb_range() 74 __flush_tlb_range(vma, start, end, stride, false, 1); in flush_hugetlb_tlb_range()
|
/third_party/ffmpeg/libavformat/ |
H A D | rawutils.c | 36 int stride = size / par->height; in ff_reshuffle_raw_rgb() local 37 int padding = expected_stride - FFMIN(expected_stride, stride); in ff_reshuffle_raw_rgb() 43 if (size != stride * par->height) in ff_reshuffle_raw_rgb() 59 memcpy(new_pkt->data + y*expected_stride, pkt->data + y*stride, FFMIN(expected_stride, stride)); in ff_reshuffle_raw_rgb()
|
/foundation/multimedia/av_codec/services/engine/common/ |
H A D | codec_utils.cpp | 49 int32_t stride, const Format &format) in WriteYuvDataStride() 62 int32_t writeSize = dataSize > stride ? stride : dataSize; in WriteYuvDataStride() 65 dstPos += stride; in WriteYuvDataStride() 71 writeSize = dataSize > (stride / UV_SCALE_FACTOR) ? (stride / UV_SCALE_FACTOR) : dataSize; in WriteYuvDataStride() 74 dstPos += (stride / UV_SCALE_FACTOR); in WriteYuvDataStride() 80 dstPos += (stride / UV_SCALE_FACTOR); in WriteYuvDataStride() 85 writeSize = dataSize > stride ? stride in WriteYuvDataStride() 48 WriteYuvDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, int32_t stride, const Format &format) WriteYuvDataStride() argument 96 WriteRgbDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, int32_t stride, const Format &format) WriteRgbDataStride() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-pcm.c | 105 unsigned int stride; in cobalt_alsa_announce_pcm_data() local 126 stride = runtime->frame_bits >> 3; in cobalt_alsa_announce_pcm_data() 127 if (stride == 0) { in cobalt_alsa_announce_pcm_data() 128 dprintk("stride is zero\n"); in cobalt_alsa_announce_pcm_data() 148 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data() 150 stride, is_s32); in cobalt_alsa_announce_pcm_data() 152 sample_cpy(runtime->dma_area + (i - cnt) * stride, in cobalt_alsa_announce_pcm_data() 153 pcm_data + i * skip, stride, is_s32); in cobalt_alsa_announce_pcm_data() 158 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data() 160 stride, is_s3 in cobalt_alsa_announce_pcm_data() 305 unsigned int stride; cobalt_alsa_pb_pcm_data() local [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/cobalt/ |
H A D | cobalt-alsa-pcm.c | 105 unsigned int stride; in cobalt_alsa_announce_pcm_data() local 126 stride = runtime->frame_bits >> 3; in cobalt_alsa_announce_pcm_data() 127 if (stride == 0) { in cobalt_alsa_announce_pcm_data() 128 dprintk("stride is zero\n"); in cobalt_alsa_announce_pcm_data() 148 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data() 150 stride, is_s32); in cobalt_alsa_announce_pcm_data() 152 sample_cpy(runtime->dma_area + (i - cnt) * stride, in cobalt_alsa_announce_pcm_data() 153 pcm_data + i * skip, stride, is_s32); in cobalt_alsa_announce_pcm_data() 158 sample_cpy(runtime->dma_area + (oldptr + i) * stride, in cobalt_alsa_announce_pcm_data() 160 stride, is_s3 in cobalt_alsa_announce_pcm_data() 305 unsigned int stride; cobalt_alsa_pb_pcm_data() local [all...] |
/third_party/skia/third_party/externals/libwebp/src/dec/ |
H A D | buffer_dec.c | 76 const int stride = abs(buf->stride); in CheckDecBuffer() local 78 MIN_BUFFER_SIZE(width * kModeBpp[mode], height, stride); in CheckDecBuffer() 80 ok &= (stride >= width * kModeBpp[mode]); in CheckDecBuffer() 102 int stride; in AllocateBuffer() local 108 stride = w * kModeBpp[mode]; in AllocateBuffer() 109 size = (uint64_t)stride * h; in AllocateBuffer() 129 buf->y_stride = stride; in AllocateBuffer() 145 buf->stride = stride; in AllocateBuffer() [all...] |
/third_party/vk-gl-cts/modules/gles3/stress/ |
H A D | es3sVertexArrayTests.cpp | 86 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 : strides[strideNdx]); in init() local 87 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init() 88 const std::string name = "stride" + typeToString(stride) + "_" + Array::inputTypeToString(inputTypes[inputTypeNdx]) + "_quads" + typeToString(counts[countNdx]); in init() 96 stride, in init() 186 const int stride = (strides[strideNdx] < 0) ? ((packed) ? (16) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[strideNdx]); in init() local 188 const bool bufferUnaligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % alignment) != 0; in init() 190 std::string name = Array::storageToString(storages[storageNdx]) + "_stride" + typeToString(stride) + "_components" + typeToString(componentCount) + "_quads" + typeToString(counts[countNdx]); in init() 201 stride, in init() 234 : TestCaseGroup(context, "strides", "Single stride verte in SingleVertexArrayStrideTests() 293 const int stride = (strides[strideNdx] < 0) ? ((packed) ? (8) : (Array::inputTypeSize(m_type) * componentCount)) : (strides[strideNdx]); init() local 394 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(m_type) * componentCount : strides[strideNdx]); init() local [all...] |
/third_party/ffmpeg/libavcodec/loongarch/ |
H A D | vp8dsp_loongarch.h | 74 void ff_vp8_v_loop_filter16_inner_lsx(uint8_t *dst, ptrdiff_t stride, 76 void ff_vp8_h_loop_filter16_inner_lsx(uint8_t *src, ptrdiff_t stride, 79 void ff_vp8_v_loop_filter16_lsx(uint8_t *dst, ptrdiff_t stride, 81 void ff_vp8_h_loop_filter16_lsx(uint8_t *dst, ptrdiff_t stride, 84 ptrdiff_t stride, 87 ptrdiff_t stride,
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_state_vdecl.c | 82 if (vb->stride) in emit_hw_vs_vdecl() 83 tmp_neg_bias = (tmp_neg_bias + vb->stride - 1) / vb->stride; in emit_hw_vs_vdecl() 106 decls[i].array.stride = vb->stride; in emit_hw_vs_vdecl() 113 + neg_bias * vb->stride in emit_hw_vs_vdecl()
|
/third_party/mesa3d/src/glx/ |
H A D | eval.c | 40 __glFillMap1f(GLint k, GLint order, GLint stride, in __glFillMap1f() argument 43 if (stride == k) { in __glFillMap1f() 52 points += stride; in __glFillMap1f() 59 __glFillMap1d(GLint k, GLint order, GLint stride, in __glFillMap1d() argument 62 if (stride == k) { in __glFillMap1d() 70 points += stride; in __glFillMap1d()
|
/foundation/graphic/graphic_2d/rosen/modules/graphics_effect/src/ |
H A D | ge_mesa_blur_shader_filter.cpp | 123 int stride = 2; // 2: stride in SetBlurParamsFivePassSmall() local 147 bParam.offsets[stride * i] = scale * offsetTableFivePasses[index][stride * i]; in SetBlurParamsFivePassSmall() 148 bParam.offsets[stride * i + 1] = scale * offsetTableFivePasses[index][stride * i + 1]; in SetBlurParamsFivePassSmall() 153 bParam.offsets[stride * i] = w2 * offsetTableFivePasses[index][stride * i] + in SetBlurParamsFivePassSmall() 154 w1 * offsetTableFivePasses[index + 1][stride * i]; in SetBlurParamsFivePassSmall() 155 bParam.offsets[stride * in SetBlurParamsFivePassSmall() 165 int stride = 2; // 2: stride SetBlurParamsFivePassLarge() local 187 int stride = 2; // 2: stride SetBlurParams() local 444 int stride = 2; // 2: stride ProcessImage() local [all...] |