Home
last modified time | relevance | path

Searched refs:s_streamW (Results 1 – 3 of 3) sorted by relevance

/hardware/intel/img/psb_video/src/
Dpnw_hostjpeg.c772 STREAMTYPEW s_streamW;
775 s_streamW.Offset = 0;
776 s_streamW.Buffer = puc_stream_buff;
779 fPutBitsToBuffer(&s_streamW, 2, START_OF_IMAGE);
782 fPutBitsToBuffer(&s_streamW, 2, DQT_MARKER);
784 …fPutBitsToBuffer(&s_streamW, 3, LQPQ << 4); // 20 bits = LQPQ, 4 bits = 0 (Destination identifier …
787 fPutBitsToBuffer(&s_streamW, 1, pContext->pvLowLevelEncContext->Qmatrix[0][gZigZag[uc_i]]);
791 fPutBitsToBuffer(&s_streamW, 2, DQT_MARKER);
793 …fPutBitsToBuffer(&s_streamW, 3, (LQPQ << 4) | 1); // 20 bits = LQPQ, 4 bits = 1 (Destination ident…
796 fPutBitsToBuffer(&s_streamW, 1, pContext->pvLowLevelEncContext->Qmatrix[1][gZigZag[uc_i]]);
[all …]
Dtng_jpegES.c646 STREAMTYPEW s_streamW; in EncodeMarkerSegment() local
649 s_streamW.Offset = 0; in EncodeMarkerSegment()
650 s_streamW.Buffer = puc_stream_buff; in EncodeMarkerSegment()
653 fPutBitsToBuffer(&s_streamW, 2, START_OF_IMAGE); in EncodeMarkerSegment()
656 fPutBitsToBuffer(&s_streamW, 2, DQT_MARKER); in EncodeMarkerSegment()
658 …fPutBitsToBuffer(&s_streamW, 3, LQPQ << 4); // 20 bits = LQPQ, 4 bits = 0 (Destination identifier … in EncodeMarkerSegment()
663 … fPutBitsToBuffer(&s_streamW, 1, pJPEGContext->psTablesBlock->aui8LumaQuantParams[gZigZag[uc_i]]); in EncodeMarkerSegment()
667 fPutBitsToBuffer(&s_streamW, 2, DQT_MARKER); in EncodeMarkerSegment()
669 …fPutBitsToBuffer(&s_streamW, 3, (LQPQ << 4) | 1); // 20 bits = LQPQ, 4 bits = 1 (Destination ident… in EncodeMarkerSegment()
673 …fPutBitsToBuffer(&s_streamW, 1, pJPEGContext->psTablesBlock->aui8ChromaQuantParams[gZigZag[uc_i]]); in EncodeMarkerSegment()
[all …]
Dpnw_jpeg.c628 STREAMTYPEW s_streamW; in pnw_jpeg_AppendMarkers() local
683 s_streamW.Buffer = pSegStart; in pnw_jpeg_AppendMarkers()
684 s_streamW.Offset = (sizeof(BUFFER_HEADER) + pBufHeader->ui32BytesUsed); in pnw_jpeg_AppendMarkers()
686 fPutBitsToBuffer(&s_streamW, 2, END_OF_IMAGE); in pnw_jpeg_AppendMarkers()