Lines Matching refs:mSections
479 switch((mSections[i].Type)) { in encodeJPEG()
482 fwrite(mSections[i].Data, sizeof(unsigned char), in encodeJPEG()
483 mSections[i].Size, fh); in encodeJPEG()
498 fwrite(&mSections[i].Type, sizeof(unsigned char), 1, fh); in encodeJPEG()
499 fwrite(mSections[i].Data, sizeof(unsigned char), in encodeJPEG()
500 mSections[i].Size, fh); in encodeJPEG()
541 mSections = (Sections_t *)malloc(sizeof(Sections_t) * mSectionsAllocated); in ReadSectionsFromBuffer()
542 if (!mSections) { in ReadSectionsFromBuffer()
574 if (mSections == NULL) { in ReadSectionsFromBuffer()
589 mSections[mSectionsRead].Type = marker; in ReadSectionsFromBuffer()
602 mSections[mSectionsRead].Size = itemlen; in ReadSectionsFromBuffer()
609 mSections[mSectionsRead].Data = Data; in ReadSectionsFromBuffer()
653 if (mSections == NULL) { in ReadSectionsFromBuffer()
658 mSections[mSectionsRead].Data = Data; in ReadSectionsFromBuffer()
659 mSections[mSectionsRead].Size = size; in ReadSectionsFromBuffer()
660 mSections[mSectionsRead].Type = PSEUDO_IMAGE_MARKER; in ReadSectionsFromBuffer()
673 free(mSections[--mSectionsRead].Data); in ReadSectionsFromBuffer()
688 free(mSections[--mSectionsRead].Data); in ReadSectionsFromBuffer()
699 mSections[mSectionsRead-1].Type = M_XMP; in ReadSectionsFromBuffer()
704 free(mSections[--mSectionsRead].Data); in ReadSectionsFromBuffer()
714 free(mSections[--mSectionsRead].Data); in ReadSectionsFromBuffer()
757 mSections = (Sections_t *)realloc(mSections, in CheckSectionsAllocated()
759 if (mSections == NULL){ in CheckSectionsAllocated()
779 if (mSections[a].Type == SectionType){ in FindSection()
780 return &mSections[a]; in FindSection()
801 free(mSections[a].Data); in DiscardData()
820 free(mSections); in DiscardSections()
1634 mSections(NULL), in CameraContext()