/third_party/ffmpeg/libavcodec/ |
H A D | cavsdsp.h | 33 void (*cavs_filter_lv)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2); 34 void (*cavs_filter_lh)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2); 35 void (*cavs_filter_cv)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2); 36 void (*cavs_filter_ch)(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int tc, int bs1, int bs2); 37 void (*cavs_idct8_add)(uint8_t *dst, int16_t *block, ptrdiff_t stride);
|
H A D | dvdec.c | 60 void (*idct_put)(uint8_t *dest, ptrdiff_t stride, int16_t *block); 336 static av_always_inline void put_block_8x4(int16_t *block, uint8_t *av_restrict p, int stride) in put_block_8x4() argument 344 p += stride; in put_block_8x4() 349 int stride, int16_t *blocks) in dv100_idct_put_last_row_field_chroma() 354 put_block_8x4(blocks+0*64, data, stride<<1); in dv100_idct_put_last_row_field_chroma() 355 put_block_8x4(blocks+0*64 + 4*8, data + 8, stride<<1); in dv100_idct_put_last_row_field_chroma() 356 put_block_8x4(blocks+1*64, data + stride, stride<<1); in dv100_idct_put_last_row_field_chroma() 357 put_block_8x4(blocks+1*64 + 4*8, data + 8 + stride, stride<< in dv100_idct_put_last_row_field_chroma() 348 dv100_idct_put_last_row_field_chroma(DVVideoContext *s, uint8_t *data, int stride, int16_t *blocks) dv100_idct_put_last_row_field_chroma() argument 360 dv100_idct_put_last_row_field_luma(DVVideoContext *s, uint8_t *data, int stride, int16_t *blocks) dv100_idct_put_last_row_field_luma() argument [all...] |
H A D | diracdec.c | 95 int stride; /* in bytes */ member 113 ptrdiff_t stride; member 229 void (*put_pixels_tab[4])(uint8_t *dst, const uint8_t *src[5], int stride, int h); 230 void (*avg_pixels_tab[4])(uint8_t *dst, const uint8_t *src[5], int stride, int h); 231 void (*add_obmc)(uint16_t *dst, const uint8_t *src, int stride, const uint8_t *obmc_weight, int yblen); 315 /* fixme: allocate using real stride here */ in alloc_sequence_buffers() 324 static int alloc_buffers(DiracContext *s, int stride) in alloc_buffers() argument 329 av_assert0(stride >= w); in alloc_buffers() 330 stride += 64; in alloc_buffers() 332 if (s->buffer_stride >= stride) in alloc_buffers() 1328 pred_sbsplit(uint8_t *sbsplit, int stride, int x, int y) pred_sbsplit() argument 1342 pred_block_mode(DiracBlock *block, int stride, int x, int y, int refmask) pred_block_mode() argument 1358 pred_block_dc(DiracBlock *block, int stride, int x, int y) pred_block_dc() argument 1391 pred_mv(DiracBlock *block, int stride, int x, int y, int ref) pred_mv() argument 1443 decode_block_params(DiracContext *s, DiracArith arith[8], DiracBlock *block, int stride, int x, int y) decode_block_params() argument 1483 propagate_block_data(DiracBlock *block, int stride, int size) propagate_block_data() argument 1574 init_obmc_weight_row(Plane *p, uint8_t *obmc_weight, int stride, int left, int right, int wy) init_obmc_weight_row() argument 1588 init_obmc_weight(Plane *p, uint8_t *obmc_weight, int stride, int left, int right, int top, int bottom) init_obmc_weight() argument 1742 add_dc(uint16_t *dst, int dc, int stride, uint8_t *obmc_weight, int xblen, int yblen) add_dc() argument [all...] |
H A D | snow_dwt.c | 213 int width, int height, int stride) in spatial_decompose53i() 216 DWTELEM *b0 = buffer + avpriv_mirror(-2 - 1, height - 1) * stride; in spatial_decompose53i() 217 DWTELEM *b1 = buffer + avpriv_mirror(-2, height - 1) * stride; in spatial_decompose53i() 220 DWTELEM *b2 = buffer + avpriv_mirror(y + 1, height - 1) * stride; in spatial_decompose53i() 221 DWTELEM *b3 = buffer + avpriv_mirror(y + 2, height - 1) * stride; in spatial_decompose53i() 286 int width, int height, int stride) in spatial_decompose97i() 289 DWTELEM *b0 = buffer + avpriv_mirror(-4 - 1, height - 1) * stride; in spatial_decompose97i() 290 DWTELEM *b1 = buffer + avpriv_mirror(-4, height - 1) * stride; in spatial_decompose97i() 291 DWTELEM *b2 = buffer + avpriv_mirror(-4 + 1, height - 1) * stride; in spatial_decompose97i() 292 DWTELEM *b3 = buffer + avpriv_mirror(-4 + 2, height - 1) * stride; in spatial_decompose97i() 212 spatial_decompose53i(DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride) spatial_decompose53i() argument 285 spatial_decompose97i(DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride) spatial_decompose97i() argument 319 ff_spatial_dwt(DWTELEM *buffer, DWTELEM *temp, int width, int height, int stride, int type, int decomposition_count) ff_spatial_dwt() argument 392 spatial_compose53i_init(DWTCompose *cs, IDWTELEM *buffer, int height, int stride) spatial_compose53i_init() argument 440 spatial_compose53i_dy(DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride) spatial_compose53i_dy() argument 553 spatial_compose97i_init(DWTCompose *cs, IDWTELEM *buffer, int height, int stride) spatial_compose97i_init() argument 606 spatial_compose97i_dy(DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride) spatial_compose97i_dy() argument 687 spatial_idwt_init(DWTCompose *cs, IDWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count) spatial_idwt_init() argument 706 spatial_idwt_slice(DWTCompose *cs, IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride, int type, int decomposition_count, int y) spatial_idwt_slice() argument 731 ff_spatial_idwt(IDWTELEM *buffer, IDWTELEM *temp, int width, int height, int stride, int type, int decomposition_count) ff_spatial_idwt() argument 798 int stride = 32 << (dec_count - level); w_c() local [all...] |
H A D | ffv1enc_template.c | 126 int w, int h, const int stride[4]) in encode_rgb_frame() 151 unsigned v = *((const uint32_t*)(src[0] + x*4 + stride[0]*y)); in encode_rgb_frame() 157 const uint16_t *p = ((const uint16_t*)(src[0] + x*packed_size + stride[0]*y)); in encode_rgb_frame() 164 g = *((const uint16_t *)(src[0] + x*2 + stride[0]*y)); in encode_rgb_frame() 165 b = *((const uint16_t *)(src[1] + x*2 + stride[1]*y)); in encode_rgb_frame() 166 r = *((const uint16_t *)(src[2] + x*2 + stride[2]*y)); in encode_rgb_frame() 168 a = *((const uint16_t *)(src[3] + x*2 + stride[3]*y)); in encode_rgb_frame() 170 b = *((const uint16_t *)(src[0] + x*2 + stride[0]*y)); in encode_rgb_frame() 171 g = *((const uint16_t *)(src[1] + x*2 + stride[1]*y)); in encode_rgb_frame() 172 r = *((const uint16_t *)(src[2] + x*2 + stride[ in encode_rgb_frame() 125 encode_rgb_frame(FFV1Context *s, const uint8_t *src[4], int w, int h, const int stride[4]) encode_rgb_frame() argument [all...] |
H A D | m101.c | 51 int stride, ret; in m101_decode_frame() local 61 stride = AV_RL32(avctx->extradata + 5*4); in m101_decode_frame() 66 if (stride < min_stride || avpkt->size < stride * (uint64_t)avctx->height) { in m101_decode_frame() 67 av_log(avctx, AV_LOG_ERROR, "stride (%d) is invalid for packet sized %d\n", in m101_decode_frame() 68 stride, avpkt->size); in m101_decode_frame() 82 memcpy(line, buf + src_y*stride, 2*avctx->width); in m101_decode_frame() 89 const uint8_t *buf_src = buf + src_y*stride + 40*block; in m101_decode_frame()
|
/third_party/skia/third_party/externals/swiftshader/src/Renderer/ |
H A D | Stream.hpp | 49 unsigned int stride; member 54 Stream(Resource *resource = 0, const void *buffer = 0, unsigned int stride = 0) in Stream() 58 this->stride = stride; in Stream() 86 stride = 0; in defaults()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/selftests/ |
H A D | i915_vma.c | 364 return (r->plane[n].stride * (r->plane[n].height - y - 1) + in rotated_index() 414 return (r->plane[n].stride * y + in remapped_index() 482 { .width = 1, .height = 1, .stride = 1 }, in igt_vma_rotate_remap() 483 { .width = 2, .height = 2, .stride = 2 }, in igt_vma_rotate_remap() 484 { .width = 4, .height = 4, .stride = 4 }, in igt_vma_rotate_remap() 485 { .width = 8, .height = 8, .stride = 8 }, in igt_vma_rotate_remap() 487 { .width = 3, .height = 5, .stride = 3 }, in igt_vma_rotate_remap() 488 { .width = 3, .height = 5, .stride = 4 }, in igt_vma_rotate_remap() 489 { .width = 3, .height = 5, .stride = 5 }, in igt_vma_rotate_remap() 491 { .width = 5, .height = 3, .stride in igt_vma_rotate_remap() [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_fs_lower_regioning.cpp | 50 * Return an acceptable byte stride for the destination of an instruction 58 * stride alone. We cannot "fix" accumulator destinations by writing in required_dst_byte_stride() 65 * It's safe to just require the original stride here because the in required_dst_byte_stride() 69 return inst->dst.stride * type_sz(inst->dst.type); in required_dst_byte_stride() 74 /* Calculate the maximum byte stride and the minimum/maximum type in required_dst_byte_stride() 78 unsigned max_stride = inst->dst.stride * type_sz(inst->dst.type); in required_dst_byte_stride() 85 max_stride = MAX2(max_stride, inst->src[i].stride * size); in required_dst_byte_stride() 92 * stride. in required_dst_byte_stride() 96 /* Attempt to use the largest byte stride among all present operands, in required_dst_byte_stride() 97 * but never exceed a stride o in required_dst_byte_stride() 409 const unsigned stride = lower_dst_modifiers() local 452 const unsigned stride = type_sz(inst->dst.type) * inst->dst.stride / lower_src_region() local 501 const unsigned stride = required_dst_byte_stride(inst) / lower_dst_region() local [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/converter/src/ |
H A D | image_format_convert_utils.cpp | 64 static bool CalcRGBStride(PixelFormat format, uint32_t width, int &stride) in CalcRGBStride() argument 67 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGBA); in CalcRGBStride() 73 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGB565); in CalcRGBStride() 76 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGBA); in CalcRGBStride() 79 stride = static_cast<int>(width * STRIDES_PER_PLANE); in CalcRGBStride() 82 stride = static_cast<int>(width * BYTES_PER_PIXEL_BGRA); in CalcRGBStride() 85 stride = static_cast<int>(width * BYTES_PER_PIXEL_RGB); in CalcRGBStride() 98 srcParam.stride[0] = static_cast<int>(yDInfo.yStride); in YuvToRGBParam() 99 srcParam.stride[1] = static_cast<int>(yDInfo.uvStride); in YuvToRGBParam() 111 destParam.stride[ in YuvToRGBParam() 137 FillFrameInfo(AVFrame *frame, uint8_t *slice[], int stride[]) FillFrameInfo() argument [all...] |
/third_party/ffmpeg/libavcodec/mips/ |
H A D | idctdsp_msa.c | 25 int32_t stride) in put_pixels_clamped_msa() 43 SD4(in0_d, in1_d, in2_d, in3_d, pixels, stride); in put_pixels_clamped_msa() 44 pixels += 4 * stride; in put_pixels_clamped_msa() 45 SD4(in4_d, in5_d, in6_d, in7_d, pixels, stride); in put_pixels_clamped_msa() 49 int32_t stride) in put_signed_pixels_clamped_msa() 77 SD4(in0_d, in1_d, in2_d, in3_d, pixels, stride); in put_signed_pixels_clamped_msa() 78 pixels += 4 * stride; in put_signed_pixels_clamped_msa() 79 SD4(in4_d, in5_d, in6_d, in7_d, pixels, stride); in put_signed_pixels_clamped_msa() 83 int32_t stride) in add_pixels_clamped_msa() 93 LD_UB8(pixels, stride, pix_in in add_pixels_clamped_msa() 24 put_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, int32_t stride) put_pixels_clamped_msa() argument 48 put_signed_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, int32_t stride) put_signed_pixels_clamped_msa() argument 82 add_pixels_clamped_msa(const int16_t *block, uint8_t *pixels, int32_t stride) add_pixels_clamped_msa() argument [all...] |
H A D | h264dsp_msa.c | 24 static void avc_wgt_4x2_msa(uint8_t *data, ptrdiff_t stride, in avc_wgt_4x2_msa() argument 39 LW2(data, stride, tp0, tp1); in avc_wgt_4x2_msa() 48 ST_W2(src0, 0, 1, data, stride); in avc_wgt_4x2_msa() 51 static void avc_wgt_4x4_msa(uint8_t *data, ptrdiff_t stride, in avc_wgt_4x4_msa() argument 65 LW4(data, stride, tp0, tp1, tp2, tp3); in avc_wgt_4x4_msa() 75 ST_W4(src0, 0, 1, 2, 3, data, stride); in avc_wgt_4x4_msa() 78 static void avc_wgt_4x8_msa(uint8_t *data, ptrdiff_t stride, in avc_wgt_4x8_msa() argument 93 LW4(data, stride, tp0, tp1, tp2, tp3); in avc_wgt_4x8_msa() 95 LW4(data + 4 * stride, stride, tp in avc_wgt_4x8_msa() 110 avc_wgt_8x4_msa(uint8_t *data, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t offset_in) avc_wgt_8x4_msa() argument 142 avc_wgt_8x8_msa(uint8_t *data, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t offset_in) avc_wgt_8x8_msa() argument 184 avc_wgt_8x16_msa(uint8_t *data, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t offset_in) avc_wgt_8x16_msa() argument 230 avc_biwgt_4x2_msa(uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t dst_weight, int32_t offset_in) avc_biwgt_4x2_msa() argument 263 avc_biwgt_4x4_msa(uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t dst_weight, int32_t offset_in) avc_biwgt_4x4_msa() argument 297 avc_biwgt_4x8_msa(uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t dst_weight, int32_t offset_in) avc_biwgt_4x8_msa() argument 337 avc_biwgt_8x4_msa(uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t dst_weight, int32_t offset_in) avc_biwgt_8x4_msa() argument 375 avc_biwgt_8x8_msa(uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t dst_weight, int32_t offset_in) avc_biwgt_8x8_msa() argument 426 avc_biwgt_8x16_msa(uint8_t *src, uint8_t *dst, ptrdiff_t stride, int32_t log2_denom, int32_t src_weight, int32_t dst_weight, int32_t offset_in) avc_biwgt_8x16_msa() argument 976 avc_h_loop_filter_luma_mbaff_intra_msa(uint8_t *src, ptrdiff_t stride, int32_t alpha_in, int32_t beta_in) avc_h_loop_filter_luma_mbaff_intra_msa() argument 1599 avc_h_loop_filter_luma_mbaff_msa(uint8_t *in, ptrdiff_t stride, int32_t alpha_in, int32_t beta_in, int8_t *tc0) avc_h_loop_filter_luma_mbaff_msa() argument 1999 avc_h_loop_filter_chroma422_msa(uint8_t *src, ptrdiff_t stride, int32_t alpha_in, int32_t beta_in, int8_t *tc0) avc_h_loop_filter_chroma422_msa() argument 2023 avc_h_loop_filter_chroma422_mbaff_msa(uint8_t *src, ptrdiff_t stride, int32_t alpha_in, int32_t beta_in, int8_t *tc0) avc_h_loop_filter_chroma422_mbaff_msa() argument 2212 ff_weight_h264_pixels16_8_msa(uint8_t *src, ptrdiff_t stride, int height, int log2_denom, int weight_src, int offset_in) ff_weight_h264_pixels16_8_msa() argument 2310 ff_weight_h264_pixels8_8_msa(uint8_t *src, ptrdiff_t stride, int height, int log2_denom, int weight_src, int offset) ff_weight_h264_pixels8_8_msa() argument 2323 ff_weight_h264_pixels4_8_msa(uint8_t *src, ptrdiff_t stride, int height, int log2_denom, int weight_src, int offset) ff_weight_h264_pixels4_8_msa() argument 2336 ff_biweight_h264_pixels16_8_msa(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int height, int log2_denom, int weight_dst, int weight_src, int offset_in) ff_biweight_h264_pixels16_8_msa() argument 2445 ff_biweight_h264_pixels8_8_msa(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int height, int log2_denom, int weight_dst, int weight_src, int offset) ff_biweight_h264_pixels8_8_msa() argument 2462 ff_biweight_h264_pixels4_8_msa(uint8_t *dst, uint8_t *src, ptrdiff_t stride, int height, int log2_denom, int weight_dst, int weight_src, int offset) ff_biweight_h264_pixels4_8_msa() argument [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | llviddsp.c | 169 int src_size, stride; in check_add_gradient_pred() local 171 declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *src, const ptrdiff_t stride, in check_add_gradient_pred() 174 stride = w + 32; in check_add_gradient_pred() 175 src_size = (stride + 32) * 2; /* dsp need previous line, and ignore the start of the line */ in check_add_gradient_pred() 182 call_ref(src0 + stride + 32, stride, w); in check_add_gradient_pred() 183 call_new(src1 + stride + 32, stride, w); in check_add_gradient_pred() 184 if (memcmp(src0, src1, stride)||/* previous line doesn't change */ in check_add_gradient_pred() 185 memcmp(src0+stride, src in check_add_gradient_pred() [all...] |
/third_party/skia/third_party/externals/tint/src/transform/ |
H A D | decompose_strided_matrix.cc | 34 /// MatrixInfo describes a matrix member with a custom stride 36 /// The stride in bytes between columns of the matrix 37 uint32_t stride = 0; member 45 matrix->columns(), stride); in array() 50 return stride == info.stride && matrix == info.matrix; in operator ==() 55 return utils::Hash(t.stride, t.matrix); in operator ()() 65 /// matrix stride attribute. For each matrix member found, `callback` is called. 69 /// uint32_t stride) 92 uint32_t stride in GatherCustomStrideMatrixMembers() local [all...] |
/third_party/vk-gl-cts/modules/gles2/stress/ |
H A D | es2sVertexArrayTests.cpp | 87 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[strideNdx]); in init() local 88 const bool aligned = (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0; in init() 95 stride, in init() 130 : TestCaseGroup(context, "strides", "Single stride vertex atribute") in SingleVertexArrayStrideTests() 156 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * componentCount : strides[strideNdx]); in init() local 157 const bool bufferUnaligned = (storages[storageNdx] == Array::STORAGE_BUFFER) && (stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) != 0; in init() 165 stride, in init() 227 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 : strides[strideNdx]); in init() local 228 const bool aligned = ((stride % Array::inputTypeSize(inputTypes[inputTypeNdx])) == 0) && (offsets[offsetNdx] % Array::inputTypeSize(inputTypes[inputTypeNdx]) == 0); in init() 236 stride, in init() 295 const int stride = (strides[strideNdx] < 0 ? Array::inputTypeSize(inputTypes[inputTypeNdx]) * 2 : strides[strideNdx]); init() local [all...] |
/third_party/mesa3d/src/gallium/winsys/i915/drm/ |
H A D | i915_drm_buffer.c | 56 unsigned *stride, unsigned height, in i915_drm_buffer_create_tiled() 74 *stride, height, 1, in i915_drm_buffer_create_tiled() 80 *stride = pitch; in i915_drm_buffer_create_tiled() 95 unsigned *stride) in i915_drm_buffer_from_handle() 117 buf->bo = drm_intel_bo_gem_create_from_prime(idws->gem_manager, fd, height * whandle->stride); in i915_drm_buffer_from_handle() 128 *stride = whandle->stride; in i915_drm_buffer_from_handle() 142 unsigned stride) in i915_drm_buffer_get_handle() 167 whandle->stride = stride; in i915_drm_buffer_get_handle() 55 i915_drm_buffer_create_tiled(struct i915_winsys *iws, unsigned *stride, unsigned height, enum i915_winsys_buffer_tile *tiling, enum i915_winsys_buffer_type type) i915_drm_buffer_create_tiled() argument 91 i915_drm_buffer_from_handle(struct i915_winsys *iws, struct winsys_handle *whandle, unsigned height, enum i915_winsys_buffer_tile *tiling, unsigned *stride) i915_drm_buffer_from_handle() argument 139 i915_drm_buffer_get_handle(struct i915_winsys *iws, struct i915_winsys_buffer *buffer, struct winsys_handle *whandle, unsigned stride) i915_drm_buffer_get_handle() argument [all...] |
/third_party/libsnd/src/ALAC/ |
H A D | alac_encoder.c | 55 static int32_t EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ; 56 static int32_t EncodeStereoFast (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ; 57 static int32_t EncodeStereoEscape (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t numSamples) ; 58 static int32_t EncodeMono (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * input, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) ; 222 EncodeStereo (ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) in EncodeStereo() argument 290 mix16 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, mixBits, mixRes) ; in EncodeStereo() 293 mix20 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, mixBits, mixRes) ; in EncodeStereo() 297 mix24 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, in EncodeStereo() 302 mix32 (inputBuffer, stride, p->mMixBufferU, p->mMixBufferV, numSamples / dilate, in EncodeStereo() 337 mix16 (inputBuffer, stride, in EncodeStereo() 504 EncodeStereoFast(ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) EncodeStereoFast() argument 686 EncodeStereoEscape(ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t numSamples) EncodeStereoEscape() argument 743 EncodeMono(ALAC_ENCODER *p, struct BitBuffer * bitstream, const int32_t * inputBuffer, uint32_t stride, uint32_t channelIndex, uint32_t numSamples) EncodeMono() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | hwsq.h | 16 u32 stride; /* in bytes */ member 22 hwsq_stride(u32 addr, u32 stride, u32 mask) in hwsq_stride() argument 28 .stride = stride, in hwsq_stride() 41 .stride = addr2 - addr1, in hwsq_reg2() 54 .stride = 0, in hwsq_reg() 106 off += reg->stride; in hwsq_wr32()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | hwsq.h | 16 u32 stride; /* in bytes */ member 22 hwsq_stride(u32 addr, u32 stride, u32 mask) in hwsq_stride() argument 28 .stride = stride, in hwsq_stride() 41 .stride = addr2 - addr1, in hwsq_reg2() 54 .stride = 0, in hwsq_reg() 106 off += reg->stride; in hwsq_wr32()
|
/third_party/ffmpeg/libpostproc/ |
H A D | postprocess_internal.h | 168 int stride; ///<size of some buffers (needed to realloc them if needed) member 177 static inline void linecpy(void *dest, const void *src, int lines, int stride) { in linecpy() argument 178 if (stride > 0) { in linecpy() 179 memcpy(dest, src, lines*stride); in linecpy() 181 memcpy((uint8_t*)dest+(lines-1)*stride, (const uint8_t*)src+(lines-1)*stride, -lines*stride); in linecpy()
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_linear_fastpath.c | 67 unsigned stride) in lp_linear_blit_rgba_blit() 95 util_copy_rect(color, PIPE_FORMAT_B8G8R8A8_UNORM, stride, in lp_linear_blit_rgba_blit() 116 unsigned stride) in lp_linear_blit_rgb1_blit() 130 color += x * 4 + y * stride; in lp_linear_blit_rgb1_blit() 154 color += stride; in lp_linear_blit_rgb1_blit() 172 unsigned stride) in lp_linear_purple() 181 stride, in lp_linear_purple() 60 lp_linear_blit_rgba_blit(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) lp_linear_blit_rgba_blit() argument 109 lp_linear_blit_rgb1_blit(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) lp_linear_blit_rgb1_blit() argument 165 lp_linear_purple(const struct lp_rast_state *state, unsigned x, unsigned y, unsigned width, unsigned height, const float (*a0)[4], const float (*dadx)[4], const float (*dady)[4], uint8_t *color, unsigned stride) lp_linear_purple() argument
|
/third_party/skia/third_party/externals/swiftshader/src/WSI/ |
H A D | WaylandSurfaceKHR.cpp | 75 int stride = image->getImage()->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, 0); in attachImage() local 76 ftruncate(fd, extent.height * stride); in attachImage() 77 struct wl_shm_pool *pool = wl_shm_create_pool(shm, fd, extent.height * stride); in attachImage() 78 wlImage->buffer = wl_shm_pool_create_buffer(pool, 0, extent.width, extent.height, stride, WL_SHM_FORMAT_XRGB8888); in attachImage() 79 wlImage->data = static_cast<uint8_t *>(mmap(NULL, extent.height * stride, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0)); in attachImage() 92 int stride = image->getImage()->rowPitchBytes(VK_IMAGE_ASPECT_COLOR_BIT, 0); in detachImage() local 93 munmap(wlImage->data, extent.height * stride); in detachImage()
|
/kernel/linux/linux-5.10/drivers/hwspinlock/ |
H A D | qcom_hwspinlock.c | 74 u32 *base, u32 *stride) in qcom_hwspinlock_probe_syscon() 95 ret = of_property_read_u32_index(pdev->dev.of_node, "syscon", 2, stride); in qcom_hwspinlock_probe_syscon() 97 dev_err(&pdev->dev, "no stride syscon\n"); in qcom_hwspinlock_probe_syscon() 113 u32 *offset, u32 *stride) in qcom_hwspinlock_probe_mmio() 118 /* All modern platform has offset 0 and stride of 4k */ in qcom_hwspinlock_probe_mmio() 120 *stride = 0x1000; in qcom_hwspinlock_probe_mmio() 135 u32 stride; in qcom_hwspinlock_probe() local 139 regmap = qcom_hwspinlock_probe_syscon(pdev, &base, &stride); in qcom_hwspinlock_probe() 141 regmap = qcom_hwspinlock_probe_mmio(pdev, &base, &stride); in qcom_hwspinlock_probe() 154 field.reg = base + i * stride; in qcom_hwspinlock_probe() 73 qcom_hwspinlock_probe_syscon(struct platform_device *pdev, u32 *base, u32 *stride) qcom_hwspinlock_probe_syscon() argument 112 qcom_hwspinlock_probe_mmio(struct platform_device *pdev, u32 *offset, u32 *stride) qcom_hwspinlock_probe_mmio() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo5039.c | 52 u32 amount, stride, height; in nv50_bo_move_m2mf() local 59 stride = 16 * 4; in nv50_bo_move_m2mf() 60 height = amount / stride; in nv50_bo_move_m2mf() 71 SET_SRC_WIDTH, stride, in nv50_bo_move_m2mf() 93 SET_DST_WIDTH, stride, in nv50_bo_move_m2mf() 114 PITCH_IN, stride, in nv50_bo_move_m2mf() 115 PITCH_OUT, stride, in nv50_bo_move_m2mf() 116 LINE_LENGTH_IN, stride, in nv50_bo_move_m2mf()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo5039.c | 52 u32 amount, stride, height; in nv50_bo_move_m2mf() local 59 stride = 16 * 4; in nv50_bo_move_m2mf() 60 height = amount / stride; in nv50_bo_move_m2mf() 71 SET_SRC_WIDTH, stride, in nv50_bo_move_m2mf() 93 SET_DST_WIDTH, stride, in nv50_bo_move_m2mf() 114 PITCH_IN, stride, in nv50_bo_move_m2mf() 115 PITCH_OUT, stride, in nv50_bo_move_m2mf() 116 LINE_LENGTH_IN, stride, in nv50_bo_move_m2mf()
|