• Home
  • Raw
  • Download

Lines Matching refs:meteringAreas

1492   OMX_ALGOAREASTYPE **meteringAreas;  in setMeteringAreas()  local
1508 meteringAreas = (OMX_ALGOAREASTYPE**) memMgr.allocateBuffer(0, 0, NULL, areasSize, 1); in setMeteringAreas()
1513 if (!meteringAreas) in setMeteringAreas()
1519 OMX_INIT_STRUCT_PTR (meteringAreas[0], OMX_ALGOAREASTYPE); in setMeteringAreas()
1521 meteringAreas[0]->nPortIndex = OMX_ALL; in setMeteringAreas()
1522 meteringAreas[0]->nNumAreas = mMeteringAreas.size(); in setMeteringAreas()
1523 meteringAreas[0]->nAlgoAreaPurpose = OMX_AlgoAreaExposure; in setMeteringAreas()
1530 (size_t&)meteringAreas[0]->tAlgoAreas[n].nTop, in setMeteringAreas()
1531 (size_t&)meteringAreas[0]->tAlgoAreas[n].nLeft, in setMeteringAreas()
1532 (size_t&)meteringAreas[0]->tAlgoAreas[n].nWidth, in setMeteringAreas()
1533 (size_t&)meteringAreas[0]->tAlgoAreas[n].nHeight); in setMeteringAreas()
1535 meteringAreas[0]->tAlgoAreas[n].nLeft = in setMeteringAreas()
1536 … ( meteringAreas[0]->tAlgoAreas[n].nLeft * METERING_AREAS_RANGE ) / mPreviewData->mWidth; in setMeteringAreas()
1537 meteringAreas[0]->tAlgoAreas[n].nTop = in setMeteringAreas()
1538 … ( meteringAreas[0]->tAlgoAreas[n].nTop* METERING_AREAS_RANGE ) / mPreviewData->mHeight; in setMeteringAreas()
1539 meteringAreas[0]->tAlgoAreas[n].nWidth = in setMeteringAreas()
1540 … ( meteringAreas[0]->tAlgoAreas[n].nWidth * METERING_AREAS_RANGE ) / mPreviewData->mWidth; in setMeteringAreas()
1541 meteringAreas[0]->tAlgoAreas[n].nHeight = in setMeteringAreas()
1542 … ( meteringAreas[0]->tAlgoAreas[n].nHeight * METERING_AREAS_RANGE ) / mPreviewData->mHeight; in setMeteringAreas()
1544 meteringAreas[0]->tAlgoAreas[n].nPriority = mMeteringAreas.itemAt(n)->getWeight(); in setMeteringAreas()
1547 … n, (int)meteringAreas[0]->tAlgoAreas[n].nTop, (int)meteringAreas[0]->tAlgoAreas[n].nLeft, in setMeteringAreas()
1548 … (int)meteringAreas[0]->tAlgoAreas[n].nWidth, (int)meteringAreas[0]->tAlgoAreas[n].nHeight, in setMeteringAreas()
1549 (int)meteringAreas[0]->tAlgoAreas[n].nPriority); in setMeteringAreas()
1557 sharedBuffer.pSharedBuff = (OMX_U8 *) meteringAreas[0]; in setMeteringAreas()
1580 if (NULL != meteringAreas) in setMeteringAreas()
1582 memMgr.freeBuffer((void*) meteringAreas); in setMeteringAreas()
1583 meteringAreas = NULL; in setMeteringAreas()