Lines Matching refs:bufferHeader
138 pSECPort->bufferHeader[i] = temp_bufferHeader;
237 pSECPort->bufferHeader[i] = temp_bufferHeader;
316 if (((pSECPort->bufferStateAllocate[i] | BUFFER_STATE_FREE) != 0) && (pSECPort->bufferHeader[i] != NULL)) {
317 if (pSECPort->bufferHeader[i]->pBuffer == pBufferHdr->pBuffer) {
319 SEC_OSAL_Free(pSECPort->bufferHeader[i]->pBuffer);
320 pSECPort->bufferHeader[i]->pBuffer = NULL;
327 SEC_OSAL_Free(pSECPort->bufferHeader[i]);
328 pSECPort->bufferHeader[i] = NULL;
415 OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader;
419 if (bufferHeader != NULL) {
421 bufferHeader->hMarkTargetComponent = secOMXInputPort->markType.hMarkTargetComponent;
422 bufferHeader->pMarkData = secOMXInputPort->markType.pMarkData;
427 if (bufferHeader->hMarkTargetComponent != NULL) {
428 if (bufferHeader->hMarkTargetComponent == pOMXComponent) {
432 0, 0, bufferHeader->pMarkData);
434 pSECComponent->propagateMarkType.hMarkTargetComponent = bufferHeader->hMarkTargetComponent;
435 pSECComponent->propagateMarkType.pMarkData = bufferHeader->pMarkData;
440 OMX_FillThisBuffer(secOMXInputPort->tunneledComponent, bufferHeader);
442 bufferHeader->nFilledLen = 0;
443 bufferHeader);
457 dataBuffer->bufferHeader = NULL;
494 dataBuffer->bufferHeader = (OMX_BUFFERHEADERTYPE *)(message->pCmdData);
495 dataBuffer->allocSize = dataBuffer->bufferHeader->nAllocLen;
496 dataBuffer->dataLen = dataBuffer->bufferHeader->nFilledLen;
498 dataBuffer->usedDataLen = 0; //dataBuffer->bufferHeader->nOffset;
500 dataBuffer->nFlags = dataBuffer->bufferHeader->nFlags;
501 dataBuffer->timeStamp = dataBuffer->bufferHeader->nTimeStamp;
502 pSECComponent->processData[INPUT_PORT_INDEX].dataBuffer = dataBuffer->bufferHeader->pBuffer;
503 pSECComponent->processData[INPUT_PORT_INDEX].allocSize = dataBuffer->bufferHeader->nAllocLen;
523 OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader;
527 if (bufferHeader != NULL) {
528 bufferHeader->nFilledLen = dataBuffer->remainDataLen;
529 bufferHeader->nOffset = 0;
530 bufferHeader->nFlags = dataBuffer->nFlags;
531 bufferHeader->nTimeStamp = dataBuffer->timeStamp;
534 bufferHeader->hMarkTargetComponent = pSECComponent->propagateMarkType.hMarkTargetComponent;
535 bufferHeader->pMarkData = pSECComponent->propagateMarkType.pMarkData;
540 if (bufferHeader->nFlags & OMX_BUFFERFLAG_EOS) {
545 bufferHeader->nFlags, NULL);
549 OMX_EmptyThisBuffer(secOMXOutputPort->tunneledComponent, bufferHeader);
551 pSECComponent->pCallbacks->FillBufferDone(pOMXComponent, pSECComponent->callbackData, bufferHeader);
566 dataBuffer->bufferHeader = NULL;
603 dataBuffer->bufferHeader = (OMX_BUFFERHEADERTYPE *)(message->pCmdData);
604 dataBuffer->allocSize = dataBuffer->bufferHeader->nAllocLen;
605 dataBuffer->dataLen = 0; //dataBuffer->bufferHeader->nFilledLen;
607 dataBuffer->usedDataLen = 0; //dataBuffer->bufferHeader->nOffset;
609 /* dataBuffer->nFlags = dataBuffer->bufferHeader->nFlags; */
610 /* dataBuffer->nTimeStamp = dataBuffer->bufferHeader->nTimeStamp; */
629 /* OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader; */
635 dataBuffer->bufferHeader = NULL;
648 /* OMX_BUFFERHEADERTYPE *bufferHeader = dataBuffer->bufferHeader; */
675 checkInputStream = inputUseBuffer->bufferHeader->pBuffer + inputUseBuffer->usedDataLen;
871 SEC_OSAL_Memcpy((outputUseBuffer->bufferHeader->pBuffer + outputUseBuffer->dataLen),
893 SEC_OSAL_Memcpy((outputUseBuffer->bufferHeader->pBuffer + outputUseBuffer->dataLen),