Lines Matching refs:natts

410 MediaProfiles::createVideoCodec(const char **atts, size_t natts, MediaProfiles *profiles)  in createVideoCodec()  argument
412 CHECK(natts >= 10 && in createVideoCodec()
435 if (natts >= 12 && !strcmp("profile", atts[10])) { in createVideoCodec()
440 for (size_t ix = 12; natts >= ix + 2; ix += 2) { in createVideoCodec()
485 MediaProfiles::createAudioCodec(const char **atts, size_t natts, MediaProfiles *profiles) in createAudioCodec() argument
487 CHECK(natts >= 8 && in createAudioCodec()
500 if (natts >= 10 && !strcmp("profile", atts[8])) { in createAudioCodec()
515 MediaProfiles::createAudioDecoderCap(const char **atts, size_t natts) in createAudioDecoderCap() argument
517 CHECK(natts >= 4 && in createAudioDecoderCap()
535 MediaProfiles::createVideoDecoderCap(const char **atts, size_t natts) in createVideoDecoderCap() argument
537 CHECK(natts >= 4 && in createVideoDecoderCap()
555 MediaProfiles::createVideoEncoderCap(const char **atts, size_t natts) in createVideoEncoderCap() argument
557 CHECK(natts >= 20 && in createVideoEncoderCap()
585 MediaProfiles::createAudioEncoderCap(const char **atts, size_t natts) in createAudioEncoderCap() argument
587 CHECK(natts >= 16 && in createAudioEncoderCap()
612 MediaProfiles::createEncoderOutputFileFormat(const char **atts, size_t natts) in createEncoderOutputFileFormat() argument
614 CHECK(natts >= 2 && in createEncoderOutputFileFormat()
635 int cameraId, const char **atts, size_t natts, Vector<int>& cameraIds) in createCamcorderProfile() argument
637 CHECK(natts >= 6 && in createCamcorderProfile()
681 void MediaProfiles::addImageEncodingQualityLevel(int cameraId, const char** atts, size_t natts) in addImageEncodingQualityLevel() argument
683 CHECK(natts >= 2 && in addImageEncodingQualityLevel()
699 MediaProfiles::getCameraId(const char** atts, size_t natts) in getCameraId() argument
702 CHECK(natts >= 2 && in getCameraId()
707 void MediaProfiles::addStartTimeOffset(int cameraId, const char** atts, size_t natts) in addStartTimeOffset() argument
710 if (natts >= 3 && atts[2]) { in addStartTimeOffset()
711 CHECK(natts >= 4 && !strcmp("startOffsetMs", atts[2])); in addStartTimeOffset()
723 size_t natts = 0; in startElementHandler() local
724 while (atts[natts]) { in startElementHandler()
725 ++natts; in startElementHandler()
730 createVideoCodec(atts, natts, profiles); in startElementHandler()
732 createAudioCodec(atts, natts, profiles); in startElementHandler()
734 natts >= 4 && in startElementHandler()
736 MediaProfiles::VideoEncoderCap* cap = createVideoEncoderCap(atts, natts); in startElementHandler()
741 natts >= 4 && in startElementHandler()
743 MediaProfiles::AudioEncoderCap* cap = createAudioEncoderCap(atts, natts); in startElementHandler()
748 natts >= 4 && in startElementHandler()
750 MediaProfiles::VideoDecoderCap* cap = createVideoDecoderCap(atts, natts); in startElementHandler()
755 natts >= 4 && in startElementHandler()
757 MediaProfiles::AudioDecoderCap* cap = createAudioDecoderCap(atts, natts); in startElementHandler()
762 profiles->mEncoderOutputFileFormats.add(createEncoderOutputFileFormat(atts, natts)); in startElementHandler()
764 profiles->mCurrentCameraId = getCameraId(atts, natts); in startElementHandler()
765 profiles->addStartTimeOffset(profiles->mCurrentCameraId, atts, natts); in startElementHandler()
768 profiles->mCurrentCameraId, atts, natts, profiles->mCameraIds); in startElementHandler()
773 profiles->addImageEncodingQualityLevel(profiles->mCurrentCameraId, atts, natts); in startElementHandler()