Home
last modified time | relevance | path

Searched refs:pitches (Results 1 – 22 of 22) sorted by relevance

/hardware/intel/common/libva/test/
Dloadsurface.h237 unsigned int pitches[3]={0,0,0}; in upload_surface() local
245 pitches[0] = surface_image.pitches[0]; in upload_surface()
250 pitches[1] = surface_image.pitches[1]; in upload_surface()
251 pitches[2] = surface_image.pitches[1]; in upload_surface()
256 pitches[1] = surface_image.pitches[1]; in upload_surface()
257 pitches[2] = surface_image.pitches[2]; in upload_surface()
262 pitches[1] = surface_image.pitches[2]; in upload_surface()
263 pitches[2] = surface_image.pitches[1]; in upload_surface()
268 pitches[1] = surface_image.pitches[0]; in upload_surface()
269 pitches[2] = surface_image.pitches[0]; in upload_surface()
[all …]
/hardware/intel/img/psb_video/src/
Dpsb_output.c318 obj_image->image.pitches[0] = pitch_pot; in psb_CreateImage()
319 obj_image->image.pitches[1] = pitch_pot; in psb_CreateImage()
335 obj_image->image.pitches[0] = 4 * pitch_pot; in psb_CreateImage()
349 obj_image->image.pitches[0] = 4 * pitch_pot; in psb_CreateImage()
363 obj_image->image.pitches[0] = pitch_pot; in psb_CreateImage()
377 obj_image->image.pitches[0] = pitch_pot; in psb_CreateImage()
378 obj_image->image.pitches[1] = pitch_pot / 2; in psb_CreateImage()
379 obj_image->image.pitches[2] = pitch_pot / 2; in psb_CreateImage()
396 obj_image->image.pitches[0] = pitch_pot; in psb_CreateImage()
397 obj_image->image.pitches[1] = pitch_pot; in psb_CreateImage()
[all …]
Dpsb_drv_video.c771 attribute_tpi.luma_stride = pExternalBufDesc->pitches[0]; in psb_CreateSurfaces2()
772 attribute_tpi.chroma_u_stride = pExternalBufDesc->pitches[1]; in psb_CreateSurfaces2()
773 attribute_tpi.chroma_v_stride = pExternalBufDesc->pitches[2]; in psb_CreateSurfaces2()
/hardware/intel/common/libmix/videoencoder/
DVideoEncoderUtils.cpp619 LOG_V("pitches[0] = %d\n", destImage.pitches[0]); in doActionCopy()
620 LOG_V("pitches[1] = %d\n", destImage.pitches[1]); in doActionCopy()
643 dstY += destImage.pitches[0]; in doActionCopy()
649 dstUV += destImage.pitches[1]; in doActionCopy()
710 extbuf.pitches[0] = vinfo.lumaStride; in CreateSurfaceFromExternalBuf()
711 extbuf.pitches[1] = vinfo.lumaStride; in CreateSurfaceFromExternalBuf()
712 extbuf.pitches[2] = vinfo.lumaStride; in CreateSurfaceFromExternalBuf()
713 extbuf.pitches[3] = 0; in CreateSurfaceFromExternalBuf()
782 extbuf.pitches[0] = width; in CreateNewVASurface()
783 extbuf.pitches[1] = width; in CreateNewVASurface()
[all …]
DVideoEncoderBase.cpp1539 *stride = image.pitches[0]; in getNewUsrptrFromSurface()
1542 LOG_V("image->pitches[0] = %d\n", image.pitches[0]); in getNewUsrptrFromSurface()
1543 LOG_V("image->pitches[1] = %d\n", image.pitches[1]); in getNewUsrptrFromSurface()
/hardware/intel/common/libva/test/videoprocess/
Dvideoprocess.cpp232 memset(y_dst, max_luma + 1, surface_image.pitches[0]); in construct_nv12_mask_surface()
234 memset(y_dst, (min_luma + max_luma) / 2, surface_image.pitches[0]); in construct_nv12_mask_surface()
236 y_dst += surface_image.pitches[0]; in construct_nv12_mask_surface()
245 u_dst += surface_image.pitches[1]; in construct_nv12_mask_surface()
304 y_dst += surface_image.pitches[0]; in upload_yv12_frame_to_yuv_surface()
320 v_dst += surface_image.pitches[1]; in upload_yv12_frame_to_yuv_surface()
321 u_dst += surface_image.pitches[2]; in upload_yv12_frame_to_yuv_surface()
323 v_dst += surface_image.pitches[2]; in upload_yv12_frame_to_yuv_surface()
324 u_dst += surface_image.pitches[1]; in upload_yv12_frame_to_yuv_surface()
334 u_dst += surface_image.pitches[1]; in upload_yv12_frame_to_yuv_surface()
[all …]
/hardware/intel/common/utils/ISV/base/
Disv_worker.cpp238 vaExtBuf.pitches[0] = stride; in allocSurface()
239 vaExtBuf.pitches[1] = stride / 2; in allocSurface()
240 vaExtBuf.pitches[2] = stride / 2; in allocSurface()
241 vaExtBuf.pitches[3] = 0; in allocSurface()
250 vaExtBuf.pitches[0] = stride; in allocSurface()
251 vaExtBuf.pitches[1] = stride / 2; in allocSurface()
252 vaExtBuf.pitches[2] = stride / 2; in allocSurface()
253 vaExtBuf.pitches[3] = 0; in allocSurface()
271 vaExtBuf.pitches[0] = stride; in allocSurface()
272 vaExtBuf.pitches[1] = stride; in allocSurface()
[all …]
/hardware/intel/common/libva/test/basic/
Dtest_vaSurfaceAttrib.c123 …vaSurfaceExternBuf.pitches[0] = vaSurfaceExternBuf.pitches[1] = vaSurfaceExternBuf.pitches[2] = fr… in test()
/hardware/intel/common/libmix/videodecoder/
DVideoDecoderBase.cpp918 mVASurfaceAttrib->pitches[0] = mConfigBuffer.graphicBufferHStride; in setupVA()
919 mVASurfaceAttrib->pitches[1] = mConfigBuffer.graphicBufferHStride; in setupVA()
920 mVASurfaceAttrib->pitches[2] = 0; in setupVA()
921 mVASurfaceAttrib->pitches[3] = 0; in setupVA()
1177 mSurfaceBuffers[i].mappedData->pitch[pi] = image.pitches[pi]; in mapSurface()
1181 if (image.pitches[0] != image.pitches[1] || in mapSurface()
1288 src += vaImage.pitches[0]; in getRawDataFromSurface()
1299 src += vaImage.pitches[1]; in getRawDataFromSurface()
1331 surfExtBuf.pitches[0] = mConfigBuffer.graphicBufferHStride; in createSurfaceFromHandle()
1332 surfExtBuf.pitches[1] = mConfigBuffer.graphicBufferHStride; in createSurfaceFromHandle()
[all …]
/hardware/intel/img/hwcomposer/merrifield/common/base/
DDrm.cpp606 uint32_t pitches[4] = {0}; in setDrmMode() local
614 pitches[0] = stride * DrmConfig::getFrameBufferBpp() / 8; in setDrmMode()
622 pitches, in setDrmMode()
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DVirtualDevice.cpp160 buf.pitches[0] = stride; in VAMappedHandle()
161 buf.pitches[1] = stride; in VAMappedHandle()
162 buf.pitches[2] = stride; in VAMappedHandle()
163 buf.pitches[3] = 0; in VAMappedHandle()
173 buf.pitches[0] = stride; in VAMappedHandle()
174 buf.pitches[1] = stride; in VAMappedHandle()
175 buf.pitches[2] = 0; in VAMappedHandle()
176 buf.pitches[3] = 0; in VAMappedHandle()
1857 buf.pitches[0] = stride; in queueCompose()
1858 buf.pitches[1] = stride; in queueCompose()
[all …]
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoformatenc_preview.c1010 "image->pitches[0] = %d\n", image->pitches[0]); in mix_videofmtenc_preview_process_encode()
1012 "image->pitches[1] = %d\n", image->pitches[1]); in mix_videofmtenc_preview_process_encode()
1034 dst_y += image->pitches[0]; in mix_videofmtenc_preview_process_encode()
1045 dst_uv += image->pitches[1]; in mix_videofmtenc_preview_process_encode()
Dmixvideoformatenc_mpeg4.c1345 "image->pitches[0] = %d\n", image->pitches[0]); in mix_videofmtenc_mpeg4_process_encode()
1347 "image->pitches[1] = %d\n", image->pitches[1]); in mix_videofmtenc_mpeg4_process_encode()
1369 dst_y += image->pitches[0]; in mix_videofmtenc_mpeg4_process_encode()
1380 dst_uv += image->pitches[1]; in mix_videofmtenc_mpeg4_process_encode()
Dmixvideoformat_vc1.c876 ui32Stride = va_image.pitches[0]; in GetImageFromSurface()
889 g_print ("va_image.pitches[0] = %d\n", va_image.pitches[0]); in GetImageFromSurface()
890 g_print ("va_image.pitches[1] = %d\n", va_image.pitches[1]); in GetImageFromSurface()
891 g_print ("va_image.pitches[2] = %d\n", va_image.pitches[2]); in GetImageFromSurface()
Dmixvideoformatenc_h264.c1409 "image->pitches[0] = %d\n", image->pitches[0]); in mix_videofmtenc_h264_process_encode()
1411 "image->pitches[1] = %d\n", image->pitches[1]); in mix_videofmtenc_h264_process_encode()
1433 dst_y += image->pitches[0]; in mix_videofmtenc_h264_process_encode()
1444 dst_uv += image->pitches[1]; in mix_videofmtenc_h264_process_encode()
/hardware/intel/common/omx-components/videocodec/
DOMXVideoDecoderVP9HWR.cpp286 surfExtBuf->pitches[0] = surfaceHStride; in ProcessorInit()
287 surfExtBuf->pitches[1] = surfaceHStride; in ProcessorInit()
288 surfExtBuf->pitches[2] = 0; in ProcessorInit()
289 surfExtBuf->pitches[3] = 0; in ProcessorInit()
/hardware/intel/common/libva/test/encode/
Dmpeg2enc.c466 y_dst += surface_image.pitches[0]; in upload_yuv_to_surface()
477 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
488 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
489 v_dst += surface_image.pitches[2]; in upload_yuv_to_surface()
Dmpeg2vaenc.c466 y_dst += surface_image.pitches[0]; in upload_yuv_to_surface()
477 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
488 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
489 v_dst += surface_image.pitches[2]; in upload_yuv_to_surface()
Davcenc.c387 y_dst += surface_image.pitches[0]; in upload_yuv_to_surface()
398 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()
413 u_dst += surface_image.pitches[U]; in upload_yuv_to_surface()
414 v_dst += surface_image.pitches[V]; in upload_yuv_to_surface()
/hardware/intel/common/libva/va/
Dva.h1087 unsigned int pitches[4]; member
2819 unsigned int pitches[3]; member
Dva_trace.c496 tmp->pitches[0], tmp->pitches[1], tmp->pitches[2], tmp->pitches[3]); in va_TraceSurfaceAttributes()
/hardware/intel/common/libva/test/transcode/
Dmpeg2transcode.cpp2191 y_dst += surface_image.pitches[0]; in upload_yuv_to_surface()
2206 u_dst += surface_image.pitches[1]; in upload_yuv_to_surface()