Hi,
i found that the captured image in the ipnc source code, being stored in a file.
source code in videoCaptureThr.c VideoCaptureCreate() --> Video_captureTskRunIsifIn() -->DRV_imageTuneIsSaveDate() --> IMAGE_TUNE_SaveData()
IMAGE_TUNE_SaveData() in framework\image_tune\imageTune.c
memset(tmpBuf, 0, fileHeader.validDataStartOffset);
memcpy(tmpBuf, &fileHeader, sizeof(fileHeader));
fp = fopen(filename, "wb");
if(fp==NULL) {
free(tmpBuf);
return OSA_EFAIL; }
writeDataSize = fwrite(tmpBuf, 1, fileHeader.validDataStartOffset, fp);
writeDataSize += fwrite(info->frameVirtAddr, 1, dataSize, fp);
fclose(fp);
free(tmpBuf);
but in encode process the input data to the
VIDENC1_process(pObj->hEncode, &inBufDesc, &outBufDesc, &h264InArgs, &outArgs); in algVidEnc.c
from where the captured image or resized image data is getting coppied to inBufDesc ?
how to know wethere the captured data/resized data is input to the video encoder or not ?