Hi All,
This may be specific to nexus s device. I want to capture the camera data
at lower layers before i give it to hardware encoder.
I want to know at which particular pointer YUV Semiplanar ( of size
720x480x3/2) data will be available .. If i am wrong suggest me the proper
direction.
I already tried to capture the data without anyluck.
*SsbSipMfcEncAPI.c*
SSBSIP_MFC_ERROR_CODE SsbSipMfcEncExe(void *openHandle)
{
......
pCTX = (_MFCLIB *)openHandle;
memset(&EncArg, 0x00, sizeof(mfc_common_args));
*EncArg.args.enc_exe.in_codec_type = pCTX->codec_type;
EncArg.args.enc_exe.in_Y_addr = (unsigned int)pCTX->phyFrmBuf.luma;
EncArg.args.enc_exe.in_CbCr_addr = (unsigned int)pCTX->phyFrmBuf.chroma;
EncArg.args.enc_exe.in_Y_addr_vir = (unsigned int)pCTX->virFrmBuf.luma;
EncArg.args.enc_exe.in_CbCr_addr_vir = (unsigned
int)pCTX->virFrmBuf.chroma;
EncArg.args.enc_exe.in_strm_st = (unsigned int)pCTX->phyStrmBuf;
EncArg.args.enc_exe.in_strm_end = (unsigned int)pCTX->phyStrmBuf +
pCTX->sizeStrmBuf;
EncArg.args.enc_exe.in_frametag = pCTX->in_frametag;*
* ret_code = ioctl(pCTX->hMFC, IOCTL_MFC_ENC_EXE, &EncArg); *
**
*..................*
}
Regards
Girish
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting