Home
last modified time | relevance | path

Searched refs:crop_rect (Results 1 – 9 of 9) sorted by relevance

/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
DTextureData.cpp45 stream->read(crop_rect, sizeof(crop_rect)); in TextureData()
73 stream->write(crop_rect, sizeof(crop_rect)); in onSave()
/hardware/google/gfxstream/host/gl/glestranslator/include/GLcommon/
DTextureData.h64 int32_t crop_rect[4] = {}; variable
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Domx_vdec_test.cpp429 OMX_CONFIG_RECTTYPE crop_rect = {0, {{0, 0, 0, 0}}, 0, 0, 0, 0, 0}; variable
863 frame_pos += (stride * (int)crop_rect.nTop) + (int)crop_rect.nLeft; in fbd_thread()
864 for (i = 0; i < crop_rect.nHeight; i++) { in fbd_thread()
865 … bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
872 frame_pos += (stride * (int)crop_rect.nTop) + (int)crop_rect.nLeft; in fbd_thread()
873 for (i = 0; i < crop_rect.nHeight/2; i++) { in fbd_thread()
874 … bytes_written += fwrite_helper(frame_pos, crop_rect.nWidth, 1, outputBufferFile); in fbd_thread()
1178 crop_rect.nPortIndex = outPortIndex; in EventHandler()
1180 OMX_IndexConfigCommonOutputCrop, &crop_rect); in EventHandler()
1186crop_rect.nLeft, crop_rect.nTop, crop_rect.nWidth, crop_rect.nHeight); in EventHandler()
[all …]
/hardware/google/gchips/gralloc4/src/stable-c/
DGrallocMapper.cpp158 std::optional<Rect> crop_rect; in getStandardMetadataHelper() local
159 common::get_crop_rect(hnd, &crop_rect); in getStandardMetadataHelper()
160 if (crop_rect.has_value()) { in getStandardMetadataHelper()
161 rect = crop_rect.value(); in getStandardMetadataHelper()
/hardware/google/gfxstream/host/gl/glestranslator/GLES_CM/
DGLEScmContext.cpp1714 texels[i][0] = (float)(texData->crop_rect[0])/(float)(texData->width); in drawTexOES()
1715 texels[i][1] = (float)(texData->crop_rect[1])/(float)(texData->height); in drawTexOES()
1717 texels[i][2] = (float)(texData->crop_rect[0])/(float)(texData->width); in drawTexOES()
1718 … texels[i][3] = (float)(texData->crop_rect[3]+texData->crop_rect[1])/(float)(texData->height); in drawTexOES()
1720 … texels[i][4] = (float)(texData->crop_rect[2]+texData->crop_rect[0])/(float)(texData->width); in drawTexOES()
1721 … texels[i][5] = (float)(texData->crop_rect[3]+texData->crop_rect[1])/(float)(texData->height); in drawTexOES()
1723 … texels[i][6] = (float)(texData->crop_rect[2]+texData->crop_rect[0])/(float)(texData->width); in drawTexOES()
1724 texels[i][7] = (float)(texData->crop_rect[1])/(float)(texData->height); in drawTexOES()
DCoreProfileEngine.cpp730 float texCropX = (float)(texData->crop_rect[0]); in drawTexOES()
731 float texCropY = (float)(texData->crop_rect[1]); in drawTexOES()
733 float texCropW = (float)(texData->crop_rect[2]); in drawTexOES()
734 float texCropH = (float)(texData->crop_rect[3]); in drawTexOES()
DGLEScmImp.cpp1444 params[i] = texData->crop_rect[i]; in glGetTexParameterfv()
1458 params[i] = texData->crop_rect[i]; in glGetTexParameteriv()
1472 params[i] = F2X(texData->crop_rect[i]); in glGetTexParameterxv()
2054 texData->crop_rect[i] = params[i]; in glTexParameterfv()
2086 texData->crop_rect[i] = params[i]; in glTexParameteriv()
2118 texData->crop_rect[i] = X2F(params[i]); in glTexParameterxv()
/hardware/google/gchips/gralloc4/src/hidl_common/
DMapperMetadata.cpp535 std::optional<Rect> crop_rect; in get_metadata() local
536 get_crop_rect(handle, &crop_rect); in get_metadata()
537 if (crop_rect.has_value()) in get_metadata()
539 rect = crop_rect.value(); in get_metadata()
/hardware/qcom/camera/msm8998/QCamera2/stack/common/
Dcam_intf.h692 cam_rect_t crop_rect; member