Lines Matching defs:dataBuffer
416 SEC_OMX_DATABUFFER *dataBuffer = &pSECComponent->secDataBuffer[INPUT_PORT_INDEX];
417 OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader;
455 dataBuffer->dataValid = OMX_FALSE;
456 dataBuffer->dataLen = 0;
457 dataBuffer->remainDataLen = 0;
458 dataBuffer->usedDataLen = 0;
459 dataBuffer->bufferHeader = NULL;
460 dataBuffer->nFlags = 0;
461 dataBuffer->timeStamp = 0;
473 SEC_OMX_DATABUFFER *dataBuffer = NULL;
480 dataBuffer = &pSECComponent->secDataBuffer[INPUT_PORT_INDEX];
488 if (dataBuffer->dataValid != OMX_TRUE) {
496 dataBuffer->bufferHeader = (OMX_BUFFERHEADERTYPE *)(message->pCmdData);
497 dataBuffer->allocSize = dataBuffer->bufferHeader->nAllocLen;
498 dataBuffer->dataLen = dataBuffer->bufferHeader->nFilledLen;
499 dataBuffer->remainDataLen = dataBuffer->dataLen;
500 dataBuffer->usedDataLen = 0;
501 dataBuffer->dataValid = OMX_TRUE;
502 dataBuffer->nFlags = dataBuffer->bufferHeader->nFlags;
503 dataBuffer->timeStamp = dataBuffer->bufferHeader->nTimeStamp;
507 if (dataBuffer->allocSize <= dataBuffer->dataLen)
508 SEC_OSAL_Log(SEC_LOG_WARNING, "Input Buffer Full, Check input buffer size! allocSize:%d, dataLen:%d", dataBuffer->allocSize, dataBuffer->dataLen);
525 SEC_OMX_DATABUFFER *dataBuffer = &pSECComponent->secDataBuffer[OUTPUT_PORT_INDEX];
526 OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader;
531 bufferHeader->nFilledLen = dataBuffer->remainDataLen;
533 bufferHeader->nFlags = dataBuffer->nFlags;
534 bufferHeader->nTimeStamp = dataBuffer->timeStamp;
564 /* reset dataBuffer */
565 dataBuffer->dataValid = OMX_FALSE;
566 dataBuffer->dataLen = 0;
567 dataBuffer->remainDataLen = 0;
568 dataBuffer->usedDataLen = 0;
569 dataBuffer->bufferHeader = NULL;
570 dataBuffer->nFlags = 0;
571 dataBuffer->timeStamp = 0;
583 SEC_OMX_DATABUFFER *dataBuffer = NULL;
590 dataBuffer = &pSECComponent->secDataBuffer[OUTPUT_PORT_INDEX];
598 if (dataBuffer->dataValid != OMX_TRUE) {
606 dataBuffer->bufferHeader = (OMX_BUFFERHEADERTYPE *)(message->pCmdData);
607 dataBuffer->allocSize = dataBuffer->bufferHeader->nAllocLen;
608 dataBuffer->dataLen = 0; //dataBuffer->bufferHeader->nFilledLen;
609 dataBuffer->remainDataLen = dataBuffer->dataLen;
610 dataBuffer->usedDataLen = 0; //dataBuffer->bufferHeader->nOffset;
611 dataBuffer->dataValid =OMX_TRUE;
612 /* dataBuffer->nFlags = dataBuffer->bufferHeader->nFlags; */
613 /* dataBuffer->nTimeStamp = dataBuffer->bufferHeader->nTimeStamp; */
614 pSECComponent->processData[OUTPUT_PORT_INDEX].dataBuffer = dataBuffer->bufferHeader->pBuffer;
615 pSECComponent->processData[OUTPUT_PORT_INDEX].allocSize = dataBuffer->bufferHeader->nAllocLen;
634 SEC_OMX_DATABUFFER *dataBuffer = &pSECComponent->secDataBuffer[portIndex];
635 /* OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader; */
637 dataBuffer->dataValid = OMX_FALSE;
638 dataBuffer->dataLen = 0;
639 dataBuffer->remainDataLen = 0;
640 dataBuffer->usedDataLen = 0;
641 dataBuffer->bufferHeader = NULL;
642 dataBuffer->nFlags = 0;
643 dataBuffer->timeStamp = 0;
653 /* SEC_OMX_DATABUFFER *dataBuffer = &pSECComponent->secDataBuffer[portIndex]; */
654 /* OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader; */
712 SEC_OSAL_Memcpy(inputData->dataBuffer + inputData->dataLen, checkInputStream, copySize);