Lines Matching refs:m_pAppWriter

76     m_pAppWriter = new CAppMarkerWriter();  in ExynosJpegEncoderForCamera()
77 if (!m_pAppWriter) { in ExynosJpegEncoderForCamera()
117 delete m_pAppWriter; in ~ExynosJpegEncoderForCamera()
261 m_pAppWriter->PrepareAppWriter(base + JPEG_MARKER_SIZE, exifInfo, extra); in ProcessExif()
263 if (limit <= (m_pAppWriter->CalculateAPPSize(0) + NECESSARY_JPEG_LENGTH)) { in ProcessExif()
283 m_pAppWriter->Write(reserve_thumbspace, JPEG_MARKER_SIZE, align, in ProcessExif()
287 PTR_DIFF(base, m_pAppWriter->GetMainStreamBase()), m_pAppWriter->CalculateAPPSize(), in ProcessExif()
383 int offset = PTR_DIFF(m_pStreamBase, m_pAppWriter->GetMainStreamBase()); in encode()
386 if (setOutBuf(m_pAppWriter->GetMainStreamBase(), buffsize) < 0) { in encode()
388 fdJpegBuffer, m_pAppWriter->GetMainStreamBase(), buffsize); in encode()
394 fdJpegBuffer, m_pAppWriter->GetMainStreamBase(), buffsize); in encode()
400 bool thumbenc = m_pAppWriter->GetThumbStreamBase() != NULL; in encode()
469 char *mainbase = m_pAppWriter->GetMainStreamBase(); in FinishCompression()
470 char *thumbbase = m_pAppWriter->GetThumbStreamBase(); in FinishCompression()
477 m_pAppWriter->GetMainStreamBase()[0] = 0; in FinishCompression()
478 m_pAppWriter->GetMainStreamBase()[1] = 0; in FinishCompression()
494 …thumblen = CompressThumbnailOnly(m_pAppWriter->GetMaxThumbnailSize(), m_nThumbQuality, getColorFor… in FinishCompression()
499 …size_t max_thumb = min(m_pAppWriter->GetMaxThumbnailSize(), max_streamsize - m_pAppWriter->Calcula… in FinishCompression()
510 if (!m_pAppWriter->IsThumbSpaceReserved()) { in FinishCompression()
514 max_streamsize, m_pAppWriter->CalculateAPPSize(thumblen), mainlen, thumblen); in FinishCompression()
519 memmove(m_pAppWriter->GetApp1End() + thumblen, m_pAppWriter->GetApp1End(), in FinishCompression()
520 … mainlen + PTR_DIFF(m_pAppWriter->GetApp1End(), m_pAppWriter->GetMainStreamBase())); in FinishCompression()
521 m_pAppWriter->UpdateApp1Size(thumblen); in FinishCompression()
528 memcpy(m_pAppWriter->GetThumbStreamBase(), m_pIONThumbJpegBuffer, thumblen); in FinishCompression()
529 m_pAppWriter->Finalize(thumblen); in FinishCompression()
532 if (m_pAppWriter->IsThumbSpaceReserved()) { in FinishCompression()
534 memset(m_pAppWriter->GetThumbStreamBase() + thumblen, 0, in FinishCompression()
535m_pAppWriter->GetMaxThumbnailSize() - thumblen + m_pAppWriter->GetAPP1ResrevedSize()); in FinishCompression()
541 m_nStreamSize += m_pAppWriter->CalculateAPPSize(thumblen) + mainlen; in FinishCompression()
653 …return CompressThumbnailOnly(m_pAppWriter->GetMaxThumbnailSize(), m_nThumbQuality, v4l2Format, buf… in CompressThumbnail()