/third_party/ffmpeg/libavcodec/ |
H A D | cavs.h | 232 void (*intra_pred_l[8])(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride); 233 void (*intra_pred_c[7])(uint8_t *d, uint8_t *top, uint8_t *left, ptrdiff_t stride);
|
H A D | hqxdsp.c | 109 static void hqx_idct_put(uint16_t *dst, ptrdiff_t stride, in hqx_idct_put() argument 124 dst += stride >> 1; in hqx_idct_put()
|
H A D | hq_hqadsp.c | 111 static void hq_idct_put(uint8_t *dst, int stride, int16_t *block) in hq_idct_put() argument 123 dst += stride; in hq_idct_put()
|
H A D | rtjpeg.c | 119 #define BLOCK(quant, dst, stride) do { \ in ff_rtjpeg_decode_frame_yuv420() 124 c->idsp.idct_put(dst, stride, block); \ in ff_rtjpeg_decode_frame_yuv420()
|
H A D | rasc.c | 61 int stride; member 90 memcpy(dstp, srcp, s->stride); in copy_plane() 142 case 8: s->stride = FFALIGN(w, 4); in decode_fint() 145 case 16: s->stride = w * 2; in decode_fint() 148 case 32: s->stride = w * 4; in decode_fint() 507 zstream->avail_out = s->stride; in decode_kfrm() 522 zstream->avail_out = s->stride; in decode_kfrm()
|
/third_party/mesa3d/include/android_stub/hardware/ |
H A D | gralloc.h | 333 /* validateBufferSize(..., w, h, format, usage, stride) 337 * the specified width, height, format, usage, and stride. This must at least validate 344 uint32_t stride); 363 * parameters and returns a buffer_handle_t and the stride in pixels to 368 * If format is HAL_PIXEL_FORMAT_YCbCr_420_888, the returned stride must be 377 buffer_handle_t* handle, int* stride);
|
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | r300_fragprog_swizzle.c | 48 unsigned int stride; /**< difference in base between arg0/1/2 */ member 220 return sd->base + src*sd->stride; in r300FPTranslateRGBSwizzle()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | vertexconversion.h | 142 // static void convertArray(const void *in, std::size_t stride, std::size_t n, void *out): convert 158 static void convertArray(const uint8_t *input, size_t stride, size_t n, uint8_t *output) in convertArray() 164 const InputType *ein = reinterpret_cast<const InputType *>(input + i * stride); in convertArray()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationGL14_autogen.h | 22 GLsizei stride, 60 GLsizei stride,
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/ |
H A D | fractal.cpp | 101 const uint32_t stride = 3 * width + padding; // in bytes in writeBMP() local 107 put4(offset + stride * height); // size in bytes in writeBMP()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsDrawTest.hpp | 194 static AttributeSpec createAttributeArray (InputType inputType, OutputType outputType, Storage storage, Usage usage, int componentCount, int offset, int stride, bool normalize, int instanceDivisor); 203 int stride; member
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_texture.c | 132 unsigned level, const struct pipe_box *box, unsigned *stride, in si_texture_get_offset() 143 *stride = pitch * tex->surface.bpe; in si_texture_get_offset() 156 *stride = tex->surface.u.legacy.level[level].nblk_x * tex->surface.bpe; in si_texture_get_offset() 666 unsigned stride, offset, slice_size; in si_texture_get_handle() local 701 whandle->stride = ac_surface_get_plane_stride(sscreen->info.gfx_level, in si_texture_get_handle() 801 si_texture_get_info(screen, resource, &stride, &offset); in si_texture_get_handle() 820 whandle->stride = stride; in si_texture_get_handle() 1536 struct pb_buffer *buf, unsigned stride, in si_texture_from_winsys_buffer() 1583 offset, stride, in si_texture_from_winsys_buffer() 131 si_texture_get_offset(struct si_screen *sscreen, struct si_texture *tex, unsigned level, const struct pipe_box *box, unsigned *stride, unsigned *layer_stride) si_texture_get_offset() argument 1534 si_texture_from_winsys_buffer(struct si_screen *sscreen, const struct pipe_resource *templ, struct pb_buffer *buf, unsigned stride, uint64_t offset, uint64_t modifier, unsigned usage, bool dedicated) si_texture_from_winsys_buffer() argument [all...] |
/foundation/multimedia/image_framework/interfaces/innerkits/include/ |
H A D | pixel_map.h | 110 int32_t stride, const InitializationOptions &opts); 112 int32_t stride, const InitializationOptions &opts, bool useCustomFormat); 166 NATIVEEXPORT virtual uint32_t ReadPixels(const uint64_t &bufferSize, const uint32_t &offset, const uint32_t &stride, 175 const uint32_t &stride, const Rect ®ion); 197 NATIVEEXPORT virtual void SetRowStride(uint32_t stride); 406 static bool CheckParams(const uint32_t *colors, uint32_t colorLength, int32_t offset, int32_t stride, 424 const uint32_t &stride, const Rect ®ion);
|
/foundation/multimedia/image_effect/frameworks/native/render_environment/ |
H A D | render_environment.cpp | 235 int stride = static_cast<int>(source->bufferInfo_->rowStride_) / 4;
in DrawBufferToTexture() local 236 tex = GenTextureWithPixels(source->buffer_, width, height, stride);
in DrawBufferToTexture() 460 void RenderEnvironment::ReadPixelsFromTex(RenderTexturePtr tex, void *data, int width, int height, int stride)
in ReadPixelsFromTex() argument 464 glPixelStorei(GL_PACK_ROW_LENGTH, stride);
in ReadPixelsFromTex() 471 GLuint RenderEnvironment::GenTextureWithPixels(void *data, int width, int height, int stride)
in GenTextureWithPixels() argument 476 if (width == stride) {
in GenTextureWithPixels() 479 glPixelStorei(GL_UNPACK_ROW_LENGTH, stride);
in GenTextureWithPixels()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/hwdecoder/src/ |
H A D | videodec_ndk_sample.cpp | 115 int32_t stride = 0; in VdecFormatChanged() local 119 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecFormatChanged() 124 if (stride <= 0 || sliceHeight <= 0) { in VdecFormatChanged() 637 int32_t stride = 0; in CheckOutputDescription() local 645 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription() 653 if (cropRight != expectCropRight || stride <= 0 || sliceHeight <= 0) { in CheckOutputDescription() 655 std::cout << "stride:" << stride << " sliceHeight:" << sliceHeight << std::endl; in CheckOutputDescription()
|
/foundation/multimedia/av_codec/test/moduletest/vcodec/swdecoder/src/ |
H A D | videodec_api11_sample.cpp | 110 int32_t stride = 0; in VdecAPI11FormatChanged() local 114 OH_AVFormat_GetIntValue(format, OH_MD_KEY_VIDEO_STRIDE, &stride); in VdecAPI11FormatChanged() 119 if (stride <= 0 || sliceHeight <= 0) { in VdecAPI11FormatChanged() 625 int32_t stride = 0; in CheckOutputDescription() local 633 OH_AVFormat_GetIntValue(newFormat, OH_MD_KEY_VIDEO_STRIDE, &stride); in CheckOutputDescription() 641 if (cropRight != expectCropRight || stride <= 0 || sliceHeight <= 0) { in CheckOutputDescription() 643 std::cout << "stride:" << stride << " sliceHeight:" << sliceHeight << std::endl; in CheckOutputDescription()
|
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/ |
H A D | av_thumbnail_generator.cpp | 474 int32_t stride = surfaceBuffer->GetStride(); in GetYuvDataAlignStride() local 480 MEDIA_LOGD("GetYuvDataAlignStride stride:%{public}d, strideWidth:%{public}d, outputHeight:%{public}d", stride, in GetYuvDataAlignStride() 481 stride, outputHeight); in GetYuvDataAlignStride() 492 ConvertP010ToNV12(surfaceBuffer, dstPtr, stride, outputHeight); in GetYuvDataAlignStride() 502 srcPtr += stride; in GetYuvDataAlignStride() 506 srcPtr = static_cast<uint8_t *>(surfaceBuffer->GetVirAddr()) + stride * outputHeight; in GetYuvDataAlignStride() 514 srcPtr += stride; in GetYuvDataAlignStride()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 290 u32 ctrl, stride = 0, coef_index = 0, format = 0; in ingenic_ipu_plane_atomic_update() local 341 stride = ((state->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 345 stride |= ((state->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 348 regmap_write(ipu->map, JZ_REG_IPU_UV_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 350 stride = ((state->src_w >> 16) * finfo->cpp[0]) << JZ_IPU_Y_STRIDE_Y_LSB; in ingenic_ipu_plane_atomic_update() 351 regmap_write(ipu->map, JZ_REG_IPU_Y_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 354 (stride << JZ_IPU_IN_GS_W_LSB) | in ingenic_ipu_plane_atomic_update() 422 /* Set the output height/width/stride */ in ingenic_ipu_plane_atomic_update()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_validate.c | 163 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local 198 stride = aligned_width * cpp; in vc4_check_tex_size() 199 size = stride * aligned_height; in vc4_check_tex_size() 615 DRM_DEBUG("Cube map stride set twice\n"); in reloc_tex() 622 DRM_DEBUG("Cube map stride not set\n"); in reloc_tex() 892 uint32_t stride = *(uint8_t *)(pkt_u + o + 5); in validate_gl_shader_rec() local 899 stride |= (*(uint32_t *)(pkt_u + 100 + i * 4)) & ~0xff; in validate_gl_shader_rec() 908 if (stride != 0) { in validate_gl_shader_rec() 910 stride); in validate_gl_shader_rec()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ingenic/ |
H A D | ingenic-ipu.c | 330 u32 ctrl, stride = 0, coef_index = 0, format = 0; in ingenic_ipu_plane_atomic_update() local 391 stride = ((newstate->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 395 stride |= ((newstate->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update() 398 regmap_write(ipu->map, JZ_REG_IPU_UV_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 400 stride = ((newstate->src_w >> 16) * finfo->cpp[0]) << JZ_IPU_Y_STRIDE_Y_LSB; in ingenic_ipu_plane_atomic_update() 401 regmap_write(ipu->map, JZ_REG_IPU_Y_STRIDE, stride); in ingenic_ipu_plane_atomic_update() 404 (stride << JZ_IPU_IN_GS_W_LSB) | in ingenic_ipu_plane_atomic_update() 472 /* Set the output height/width/stride */ in ingenic_ipu_plane_atomic_update()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/ |
H A D | vc4_validate.c | 168 uint32_t aligned_width, aligned_height, stride, size; in vc4_check_tex_size() local 206 stride = aligned_width * cpp; in vc4_check_tex_size() 207 size = stride * aligned_height; in vc4_check_tex_size() 627 DRM_DEBUG("Cube map stride set twice\n"); in reloc_tex() 634 DRM_DEBUG("Cube map stride not set\n"); in reloc_tex() 904 uint32_t stride = *(uint8_t *)(pkt_u + o + 5); in validate_gl_shader_rec() local 911 stride |= (*(uint32_t *)(pkt_u + 100 + i * 4)) & ~0xff; in validate_gl_shader_rec() 920 if (stride != 0) { in validate_gl_shader_rec() 922 stride); in validate_gl_shader_rec()
|
/third_party/ffmpeg/libavfilter/ |
H A D | ebur128.c | 320 int stride) { \ 328 type v = srcs[c][src_index + i * stride]; \ 344 st->d->v[ci][0] = (double) (srcs[c][src_index + i * stride] / scaling_factor) \ 462 size_t frames, int stride) { \ 466 ebur128_filter_##type(st, srcs, src_index, st->d->needed_frames, stride); \ 467 src_index += st->d->needed_frames * stride; \ 493 ebur128_filter_##type(st, srcs, src_index, frames, stride); \
|
/third_party/ffmpeg/libswscale/ |
H A D | swscale_internal.h | 1002 static inline void fillPlane16(uint8_t *plane, int stride, int width, int height, int y, in fillPlane16() argument 1006 uint8_t *ptr = plane + stride * y; in fillPlane16() 1018 ptr += stride; in fillPlane16() 1023 static inline void fillPlane32(uint8_t *plane, int stride, int width, int height, int y, in fillPlane32() argument 1027 uint8_t *ptr = plane + stride * y; in fillPlane32() 1045 ptr += stride; in fillPlane32() 1097 int ff_init_slice_from_src(SwsSlice * s, uint8_t *src[4], int stride[4], int srcW, int lumY, int lumH, int chrY, int chrH, int relative);
|
/third_party/mesa3d/src/egl/drivers/dri2/ |
H A D | platform_drm.c | 520 int stride, in swrast_put_image2() 550 internal_stride = bo->base.v0.stride; in swrast_put_image2() 558 src += stride; in swrast_put_image2() 574 int internal_stride, stride; in swrast_get_image() local 592 internal_stride = bo->base.v0.stride; in swrast_get_image() 593 stride = width_bytes; in swrast_get_image() 603 dst += stride; in swrast_get_image() 514 swrast_put_image2(__DRIdrawable *driDrawable, int op, int x, int y, int width, int height, int stride, char *data, void *loaderPrivate) swrast_put_image2() argument
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_reg.h | 980 stride(struct brw_reg reg, unsigned vstride, unsigned width, unsigned hstride) 989 * Multiply the vertical and horizontal stride of a register by the given 1006 return stride(reg, 0, 1, 0); 1035 return stride(reg, 16,16,1); 1041 return stride(reg, 8,8,1); 1047 return stride(reg, 4,4,1); 1053 return stride(reg, 2,2,1); 1059 return stride(reg, 0,1,0);
|