Home
last modified time | relevance | path

Searched refs:pFrame (Results 1 – 7 of 7) sorted by relevance

/hardware/google/aemu/host-common/
DMediaH264DecoderGeneric.cpp196 MediaSnapshotState::FrameInfo* pFrame = mSnapshotHelper->frontFrame(); in destroyH264Context() local
197 if (!pFrame) { in destroyH264Context()
200 if (mUseGpuTexture && pFrame->texture[0] > 0 && in destroyH264Context()
201 pFrame->texture[1] > 0) { in destroyH264Context()
203 TextureFrame{pFrame->texture[0], pFrame->texture[1]}); in destroyH264Context()
331 MediaSnapshotState::FrameInfo* pFrame = mSnapshotHelper->frontFrame(); in getImage() local
332 if (pFrame == nullptr) { in getImage()
340 if (mUseGpuTexture && pFrame->texture[0] > 0 && pFrame->texture[1] > 0) { in getImage()
344 param.hostColorBufferId, pFrame->texture[0], in getImage()
345 pFrame->texture[1]); in getImage()
[all …]
DMediaVpxDecoderGeneric.cpp249 MediaSnapshotState::FrameInfo* pFrame = mSnapshotHelper.frontFrame(); in getImage() local
250 if (pFrame == nullptr) { in getImage()
258 *(param.p_d_w) = pFrame->width; in getImage()
259 *(param.p_d_h) = pFrame->height; in getImage()
260 *(param.p_user_priv) = pFrame->pts; in getImage()
261 VPX_DPRINT("got time %" PRIx64, pFrame->pts); in getImage()
272 if (mUseGpuTexture && pFrame->texture[0] > 0 && pFrame->texture[1] > 0) { in getImage()
277 pFrame->texture[0], in getImage()
278 pFrame->texture[1]); in getImage()
280 param.hostColorBufferId, pFrame->width, pFrame->height, in getImage()
[all …]
/hardware/google/aemu/host-common/include/host-common/
DYuvConverter.h27 void PlanarToUVInterleaved(T* pFrame, int nPitch = 0) {
31 T* puv = pFrame + nPitch * nHeight;
48 void UVInterleavedToPlanar(T* pFrame, int nPitch = 0) {
52 T *puv = pFrame + nPitch * nHeight, *pu = puv,
/hardware/qcom/camera/msm8998/QCamera2/util/
DQCameraDualFOVPP.cpp510 mm_camera_super_buf_t *pFrame = pData->frame; in getSnapshotBuf() local
511 QCameraChannel *pChannel = m_pQCameraPostProc->getChannelByHandle(pFrame->ch_id); in getSnapshotBuf()
517 for (uint32_t i = 0; i < pFrame->num_bufs; i++) { in getSnapshotBuf()
518 pSnapshotStream = pChannel->getStreamByHandle(pFrame->bufs[i]->stream_id); in getSnapshotBuf()
522 pBufDef = pFrame->bufs[i]; in getSnapshotBuf()
547 mm_camera_super_buf_t* pFrame = pData->frame; in getMetadataBuf() local
550 LOGD("src_reproc_frame num_bufs = %d", pFrame->num_bufs); in getMetadataBuf()
565 LOGD("frame num_bufs = %d", pFrame->num_bufs); in getMetadataBuf()
566 pChannel = m_pQCameraPostProc->getChannelByHandle(pFrame->ch_id); in getMetadataBuf()
571 for (uint32_t i = 0; i < pFrame->num_bufs; i++) { in getMetadataBuf()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp501 bool QCamera2HardwareInterface::TsMakeupProcess_Preview(mm_camera_buf_def_t *pFrame, in TsMakeupProcess_Preview() argument
505 if (pStream == NULL || pFrame == NULL) { in TsMakeupProcess_Preview()
509 bRet = TsMakeupProcess(pFrame, pStream, mFaceRect); in TsMakeupProcess_Preview()
515 bool QCamera2HardwareInterface::TsMakeupProcess_Snapshot(mm_camera_buf_def_t *pFrame, in TsMakeupProcess_Snapshot() argument
519 if (pStream == NULL || pFrame == NULL) { in TsMakeupProcess_Snapshot()
530 unsigned char *yBuf = (unsigned char*)pFrame->buffer; in TsMakeupProcess_Snapshot()
555 bRet = TsMakeupProcess(pFrame,pStream,faceRect); in TsMakeupProcess_Snapshot()
568 bool QCamera2HardwareInterface::TsMakeupProcess(mm_camera_buf_def_t *pFrame, in TsMakeupProcess() argument
572 if (pStream == NULL || pFrame == NULL) { in TsMakeupProcess()
587 tempOriBuf = (unsigned char*)pFrame->buffer; in TsMakeupProcess()
[all …]
DQCamera2HWI.h800 bool TsMakeupProcess_Preview(mm_camera_buf_def_t *pFrame,QCameraStream * pStream);
801 bool TsMakeupProcess_Snapshot(mm_camera_buf_def_t *pFrame,QCameraStream * pStream);
/hardware/google/gfxstream/host/gl/
DYUVConverter.cpp276 uint8_t* pFrame, in NV12ToYUV420PlanarInPlaceConvert() argument
284 uint8_t *puv = pFrame + nPitch * nHeight, *pu = puv, in NV12ToYUV420PlanarInPlaceConvert()