Lines Matching refs:psource_frame

512     psource_frame (NULL),
2268 if (psource_frame) {
2269 m_cb.EmptyBufferDone(&m_cmp ,m_app_data,psource_frame);
2270 psource_frame = NULL;
5892 if (psource_frame) {
5893 m_cb.EmptyBufferDone(&m_cmp, m_app_data, psource_frame);
5894 psource_frame = NULL;
6257 if (psource_frame == NULL) {
6259 psource_frame = buffer;
6279 if (pdest_frame == NULL || psource_frame == NULL) {
6293 if (psource_frame == NULL) {
6297 psource_frame = (OMX_BUFFERHEADERTYPE *)address;
6298 DEBUG_PRINT_LOW("\n Next source Buffer %p time stamp %d",psource_frame,
6299 psource_frame->nTimeStamp);
6301 psource_frame->nFlags,psource_frame->nFilledLen);
6308 while ((pdest_frame != NULL) && (psource_frame != NULL)) {
6344 psource_frame,psource_frame->nTimeStamp);
6345 if (m_frame_parser.parse_sc_frame(psource_frame,
6353 pdest_frame->nFilledLen,psource_frame,frame_count);
6385 } else if (!(psource_frame->nFlags & OMX_BUFFERFLAG_EOS)) {
6402 if (psource_frame->nFilledLen == 0) {
6403 if (psource_frame->nFlags & OMX_BUFFERFLAG_EOS) {
6405 pdest_frame->nFlags |= psource_frame->nFlags;
6422 DEBUG_PRINT_LOW("\n Buffer Consumed return back to client %p",psource_frame);
6423 m_cb.EmptyBufferDone (hComp,m_app_data,psource_frame);
6424 psource_frame = NULL;
6427 DEBUG_PRINT_LOW("\n Pull Next source Buffer %p",psource_frame);
6429 psource_frame = (OMX_BUFFERHEADERTYPE *) address;
6430 DEBUG_PRINT_LOW("\n Next source Buffer %p time stamp %d",psource_frame,
6431 psource_frame->nTimeStamp);
6433 psource_frame->nFlags,psource_frame->nFilledLen);
6470 if (m_frame_parser.parse_sc_frame(psource_frame,
6477 if (m_frame_parser.parse_h264_nallength(psource_frame,
6488 h264_scratch.nTimeStamp = psource_frame->nTimeStamp;
6489 h264_scratch.nFlags = psource_frame->nFlags;
6565 if (psource_frame->nFilledLen || h264_scratch.nFilledLen) {
6596 if (!psource_frame->nFilledLen) {
6597 DEBUG_PRINT_LOW("\n Buffer Consumed return source %p back to client",psource_frame);
6599 if (psource_frame->nFlags & OMX_BUFFERFLAG_EOS) {
6613 pdest_frame->nFlags = h264_scratch.nFlags | psource_frame->nFlags;
6638 if (generate_ebd && !psource_frame->nFilledLen) {
6639 m_cb.EmptyBufferDone (hComp,m_app_data,psource_frame);
6640 psource_frame = NULL;
6642 DEBUG_PRINT_LOW("\n Pull Next source Buffer %p",psource_frame);
6644 psource_frame = (OMX_BUFFERHEADERTYPE *) address;
6646 psource_frame->nFlags,psource_frame->nFilledLen);
6697 if (m_frame_parser.parse_sc_frame(psource_frame,
6704 if (m_frame_parser.parse_h264_nallength(psource_frame,
6715 h264_scratch.nTimeStamp = psource_frame->nTimeStamp;
6716 h264_scratch.nFlags = psource_frame->nFlags;
6741 if (psource_frame->nFilledLen || h264_scratch.nFilledLen) {
6763 DEBUG_PRINT_LOW("psource_frame is partial nFilledLen %d nTimeStamp %lld, pdest_frame nFilledLen %d nTimeStamp %lld, h264_scratch nFilledLen %d nTimeStamp %lld \n",
6764 psource_frame->nFilledLen, psource_frame->nTimeStamp, pdest_frame->nFilledLen, pdest_frame->nTimeStamp, h264_scratch.nFilledLen, h264_scratch.nTimeStamp);
6774 if (!psource_frame->nFilledLen) {
6775 DEBUG_PRINT_LOW("Buffer Consumed return source %p back to client\n",psource_frame);
6777 if (psource_frame->nFlags & OMX_BUFFERFLAG_EOS) {
6785 pdest_frame->nFlags = h264_scratch.nFlags | psource_frame->nFlags;
6803 if (generate_ebd && !psource_frame->nFilledLen) {
6804 m_cb.EmptyBufferDone (hComp,m_app_data,psource_frame);
6805 psource_frame = NULL;
6808 psource_frame = (OMX_BUFFERHEADERTYPE *) address;
6810 psource_frame->nFlags,psource_frame->nFilledLen, psource_frame->nTimeStamp);
6827 buf = psource_frame->pBuffer;
6828 buf_len = psource_frame->nFilledLen;