Searched defs:stride (Results 1 - 25 of 165) sorted by path

1234567

/hardware/intel/common/libmix/videoencoder/
H A DPVSoftMPEG4Encoder.cpp70 int32_t alignedHeight, int32_t stride) {
76 _uv_start = dataIn + stride * alignedHeight;
79 memcpy(y_start + h * width, _y_start + h * stride, width);
82 _uv_start + h * stride, width);
68 trimBuffer(uint8_t *dataIn, uint8_t *dataOut, int32_t width, int32_t height, int32_t alignedHeight, int32_t stride) argument
H A DVideoEncoderBase.cpp235 stride_aligned = (mComParams.resolution.width + 63) & ~63; //on Merr, stride must be 64 aligned.
1109 &(usrptrBuffer->stride), &(usrptrBuffer->usrPtr));
1489 uint32_t expectedSize, uint32_t *outsize, uint32_t *stride, uint8_t **usrptr) {
1504 if (width<=0 || height<=0 ||outsize == NULL ||stride == NULL || usrptr == NULL) {
1505 LOG_E("width<=0 || height<=0 || outsize == NULL || stride == NULL ||usrptr == NULL\n");
1534 *stride = image.pitches[0];
1487 getNewUsrptrFromSurface( uint32_t width, uint32_t height, uint32_t format, uint32_t expectedSize, uint32_t *outsize, uint32_t *stride, uint8_t **usrptr) argument
H A DVideoEncoderDef.h505 uint32_t stride; member in struct:VideoParamsUsrptrBuffer
H A DVideoEncoderUtils.cpp48 int usage, buffer_handle_t* handle, int32_t* stride) {
67 err = gAllocDev->alloc(gAllocDev, w, h, format, usage, handle, stride);
296 int stride = mVASurfaceStride = mVinfo.lumaStride; local
313 stride = tmp.lumaStride;
322 if (gfx_alloc(width, height, HAL_PIXEL_FORMAT_NV12, usage, &mGfxHandle, &stride) != 0)
325 LOG_V("Create an new gfx buffer handle 0x%p for color convert, width=%d, height=%d, stride=%d\n",
326 mGfxHandle, width, height, stride);
334 if (mAction & MAP_ACTION_ALIGN64 && stride % 64 != 0) {
335 //check if stride is not 64 aligned, must allocate new 64 aligned vasurface
336 stride
47 gfx_alloc(uint32_t w, uint32_t h, int format, int usage, buffer_handle_t* handle, int32_t* stride) argument
539 uint32_t width = 0, height = 0, stride = 0; local
[all...]
/hardware/intel/common/libva/va/wayland/
H A Dwayland-drm-client-protocol.h178 wl_drm_create_buffer(struct wl_drm *wl_drm, uint32_t name, int32_t width, int32_t height, uint32_t stride, uint32_t format) argument
188 WL_DRM_CREATE_BUFFER, id, name, width, height, stride, format);
/hardware/intel/common/omx-components/videocodec/
H A DOMXVideoDecoderBase.cpp629 uint32_t stride = formatInfo->width; local
675 paramPortDefinitionInput.format.video.nStride = stride;
699 paramPortDefinitionOutput.format.video.nStride = stride;
857 mGraphicBufferParam.graphicBufferStride = param->nativeBuffer->stride;
H A DOMXVideoDecoderVP9HWR.cpp498 uint32_t stride = mDecodedImageWidth; local
516 paramPortDefinitionInput.format.video.nStride = stride;
543 paramPortDefinitionOutput.format.video.nStride = stride;
622 srcLine += img->stride[PLANE_Y];
630 srcLine += img->stride[PLANE_U];
638 srcLine += img->stride[PLANE_V];
H A DOMXVideoDecoderVP9Hybrid.cpp317 int32_t stride = paramPortDefinitionOutput->format.video.nStride; local
321 fb_index = mGetRawDataOutput(mCtx,mHybridCtx,dst,height,stride);
334 buffer->nFilledLen = stride*height*3/2;
422 unsigned int stride = mDecodedImageWidth; local
440 paramPortDefinitionInput.format.video.nStride = stride;
467 paramPortDefinitionOutput.format.video.nStride = stride;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
H A Ddecode_to_md5.c29 // is processed, then U, then V. It is important to honor the image's `stride`
54 const int stride = img->stride[plane]; local
60 buf += stride;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
H A Ddct16x16_test.cc261 typedef void (*fdct_t)(const int16_t *in, int16_t *out, int stride);
262 typedef void (*idct_t)(const int16_t *in, uint8_t *out, int stride);
263 typedef void (*fht_t) (const int16_t *in, int16_t *out, int stride,
265 typedef void (*iht_t) (const int16_t *in, uint8_t *out, int stride,
271 void fdct16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { argument
272 vp9_fdct16x16_c(in, out, stride);
275 void fht16x16_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { argument
276 vp9_fht16x16_c(in, out, stride, tx_type);
284 virtual void RunFwdTxfm(int16_t *in, int16_t *out, int stride) = 0;
286 virtual void RunInvTxfm(int16_t *out, uint8_t *dst, int stride)
435 RunFwdTxfm(int16_t *in, int16_t *out, int stride) argument
438 RunInvTxfm(int16_t *out, uint8_t *dst, int stride) argument
478 RunFwdTxfm(int16_t *in, int16_t *out, int stride) argument
481 RunInvTxfm(int16_t *out, uint8_t *dst, int stride) argument
[all...]
H A Ddct32x32_test.cc40 void reference_32x32_dct_1d(const double in[32], double out[32], int stride) { argument
74 typedef void (*fwd_txfm_t)(const int16_t *in, int16_t *out, int stride);
75 typedef void (*inv_txfm_t)(const int16_t *in, uint8_t *out, int stride);
151 const int stride = 32; local
152 vp9_fdct32x32_c(input_block, output_ref_block, stride);
153 REGISTER_STATE_CHECK(fwd_txfm_(input_block, output_block, stride));
189 const int stride = 32; local
190 vp9_fdct32x32_c(input_extreme_block, output_ref_block, stride);
191 REGISTER_STATE_CHECK(fwd_txfm_(input_extreme_block, output_block, stride));
H A Dfdct4x4_test.cc33 typedef void (*fdct_t)(const int16_t *in, int16_t *out, int stride);
34 typedef void (*idct_t)(const int16_t *in, uint8_t *out, int stride);
35 typedef void (*fht_t) (const int16_t *in, int16_t *out, int stride,
37 typedef void (*iht_t) (const int16_t *in, uint8_t *out, int stride,
43 void fdct4x4_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { argument
44 vp9_fdct4x4_c(in, out, stride);
47 void fht4x4_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { argument
48 vp9_fht4x4_c(in, out, stride, tx_type);
56 virtual void RunFwdTxfm(const int16_t *in, int16_t *out, int stride) = 0;
58 virtual void RunInvTxfm(const int16_t *out, uint8_t *dst, int stride)
204 RunFwdTxfm(const int16_t *in, int16_t *out, int stride) argument
207 RunInvTxfm(const int16_t *out, uint8_t *dst, int stride) argument
247 RunFwdTxfm(const int16_t *in, int16_t *out, int stride) argument
251 RunInvTxfm(const int16_t *out, uint8_t *dst, int stride) argument
[all...]
H A Dfdct8x8_test.cc32 typedef void (*fdct_t)(const int16_t *in, int16_t *out, int stride);
33 typedef void (*idct_t)(const int16_t *in, uint8_t *out, int stride);
34 typedef void (*fht_t) (const int16_t *in, int16_t *out, int stride,
36 typedef void (*iht_t) (const int16_t *in, uint8_t *out, int stride,
42 void fdct8x8_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { argument
43 vp9_fdct8x8_c(in, out, stride);
46 void fht8x8_ref(const int16_t *in, int16_t *out, int stride, int tx_type) { argument
47 vp9_fht8x8_c(in, out, stride, tx_type);
55 virtual void RunFwdTxfm(int16_t *in, int16_t *out, int stride) = 0;
56 virtual void RunInvTxfm(int16_t *out, uint8_t *dst, int stride)
239 RunFwdTxfm(int16_t *in, int16_t *out, int stride) argument
242 RunInvTxfm(int16_t *out, uint8_t *dst, int stride) argument
279 RunFwdTxfm(int16_t *in, int16_t *out, int stride) argument
282 RunInvTxfm(int16_t *out, uint8_t *dst, int stride) argument
[all...]
H A Dintrapred_test.cc36 int stride,
43 stride_ = stride;
47 data_ptr_[p] = data + stride * (block_size + 1) * p +
48 stride + block_size;
32 SetupMacroblock(MACROBLOCKD *mbptr, MODE_INFO *miptr, uint8_t *data, int block_size, int stride, int num_planes) argument
H A Dsad_test.cc73 // Handle blocks up to 4 blocks 64x64 with stride up to 128
106 void FillConstant(uint8_t *data, int stride, uint8_t fill_constant) { argument
109 data[h * stride + w] = fill_constant;
114 void FillRandom(uint8_t *data, int stride) { argument
117 data[h * stride + w] = rnd_.Rand8();
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
H A Dtools_common.c125 ptr += yuv_frame->stride[plane];
225 const int stride = img->stride[plane]; local
232 buf += stride;
242 const int stride = img->stride[plane]; local
250 buf += stride;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/
H A Didct_blk_v6.c17 int stride, char *eobs)
24 vp8_dequant_idct_add_v6 (q, dq, dst, stride);
27 vp8_dc_only_idct_add_v6 (q[0]*dq[0], dst, stride, dst, stride);
32 vp8_dequant_idct_add_v6 (q+16, dq, dst+4, stride);
35 vp8_dc_only_idct_add_v6 (q[16]*dq[0], dst+4, stride, dst+4, stride);
40 vp8_dequant_idct_add_v6 (q+32, dq, dst+8, stride);
43 vp8_dc_only_idct_add_v6 (q[32]*dq[0], dst+8, stride, dst+8, stride);
15 vp8_dequant_idct_add_y_block_v6(short *q, short *dq, unsigned char *dst, int stride, char *eobs) argument
61 vp8_dequant_idct_add_uv_block_v6(short *q, short *dq, unsigned char *dstu, unsigned char *dstv, int stride, char *eobs) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/
H A Ddequant_idct_neon.c20 int stride) {
46 dst0 += stride;
48 dst0 += stride;
50 dst0 += stride;
135 dst0 += stride;
137 dst0 += stride;
139 dst0 += stride;
16 vp8_dequant_idct_add_neon( int16_t *input, int16_t *dq, unsigned char *dst, int stride) argument
H A Didct_blk_neon.c18 unsigned char *dst, int stride);
20 unsigned char *dst, int stride);
25 int stride, char *eobs)
34 idct_dequant_full_2x_neon (q, dq, dst, stride);
36 idct_dequant_0_2x_neon (q, dq[0], dst, stride);
42 idct_dequant_full_2x_neon (q+32, dq, dst+8, stride);
44 idct_dequant_0_2x_neon (q+32, dq[0], dst+8, stride);
47 dst += 4*stride;
55 int stride, char *eobs)
60 idct_dequant_full_2x_neon (q, dq, dstu, stride);
23 vp8_dequant_idct_add_y_block_neon(short *q, short *dq, unsigned char *dst, int stride, char *eobs) argument
52 vp8_dequant_idct_add_uv_block_neon(short *q, short *dq, unsigned char *dstu, unsigned char *dstv, int stride, char *eobs) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
H A Ddequantize.c30 unsigned char *dest, int stride)
39 vp8_short_idct4x4llm_c(input, dest, stride, dest, stride);
29 vp8_dequant_idct_add_c(short *input, short *dq, unsigned char *dest, int stride) argument
H A Didct_blk.c16 unsigned char *dest, int stride);
23 unsigned char *dst, int stride, char *eobs)
32 vp8_dequant_idct_add_c (q, dq, dst, stride);
35 vp8_dc_only_idct_add_c (q[0]*dq[0], dst, stride, dst, stride);
43 dst += 4*stride - 16;
49 unsigned char *dstu, unsigned char *dstv, int stride, char *eobs)
58 vp8_dequant_idct_add_c (q, dq, dstu, stride);
61 vp8_dc_only_idct_add_c (q[0]*dq[0], dstu, stride, dstu, stride);
21 vp8_dequant_idct_add_y_block_c(short *q, short *dq, unsigned char *dst, int stride, char *eobs) argument
47 vp8_dequant_idct_add_uv_block_c(short *q, short *dq, unsigned char *dstu, unsigned char *dstv, int stride, char *eobs) argument
[all...]
H A Dpostproc.c541 int y_1, int u_1, int v_1, int alpha, int stride)
548 y += 2*stride + 2;
555 y += stride;
558 stride >>= 1;
560 u += stride + 1;
561 v += stride + 1;
570 u += stride;
571 v += stride;
579 int y_1, int u_1, int v_1, int alpha, int stride)
592 y += stride;
540 vp8_blend_mb_inner_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride) argument
578 vp8_blend_mb_outer_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride) argument
642 vp8_blend_b_c(unsigned char *y, unsigned char *u, unsigned char *v, int y_1, int u_1, int v_1, int alpha, int stride) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/mips/dspr2/
H A Ddequantize_dspr2.c18 unsigned char *dest, int stride)
27 vp8_short_idct4x4llm_dspr2(input, dest, stride, dest, stride);
17 vp8_dequant_idct_add_dspr2(short *input, short *dq, unsigned char *dest, int stride) argument
H A Didct_blk_dspr2.c18 unsigned char *dst, int stride, char *eobs)
27 vp8_dequant_idct_add_dspr2(q, dq, dst, stride);
30 vp8_dc_only_idct_add_dspr2(q[0]*dq[0], dst, stride, dst, stride);
38 dst += 4 * stride - 16;
44 unsigned char *dstu, unsigned char *dstv, int stride, char *eobs)
53 vp8_dequant_idct_add_dspr2(q, dq, dstu, stride);
56 vp8_dc_only_idct_add_dspr2(q[0]*dq[0], dstu, stride, dstu, stride);
64 dstu += 4 * stride
16 vp8_dequant_idct_add_y_block_dspr2(short *q, short *dq, unsigned char *dst, int stride, char *eobs) argument
42 vp8_dequant_idct_add_uv_block_dspr2(short *q, short *dq, unsigned char *dstu, unsigned char *dstv, int stride, char *eobs) argument
[all...]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
H A Didct_blk_mmx.c28 unsigned char *dst, int stride, char *eobs)
35 vp8_dequant_idct_add_mmx (q, dq, dst, stride);
38 vp8_dc_only_idct_add_mmx (q[0]*dq[0], dst, stride, dst, stride);
43 vp8_dequant_idct_add_mmx (q+16, dq, dst+4, stride);
46 vp8_dc_only_idct_add_mmx (q[16]*dq[0], dst+4, stride,
47 dst+4, stride);
52 vp8_dequant_idct_add_mmx (q+32, dq, dst+8, stride);
55 vp8_dc_only_idct_add_mmx (q[32]*dq[0], dst+8, stride,
56 dst+8, stride);
26 vp8_dequant_idct_add_y_block_mmx(short *q, short *dq, unsigned char *dst, int stride, char *eobs) argument
75 vp8_dequant_idct_add_uv_block_mmx(short *q, short *dq, unsigned char *dstu, unsigned char *dstv, int stride, char *eobs) argument
[all...]

Completed in 354 milliseconds

1234567