Lines Matching defs:encoder

852     int32_t encoder;
853 if (!msg->findInt32("encoder", &encoder)) {
854 encoder = false;
857 mIsEncoder = encoder;
859 status_t err = setComponentRole(encoder /* isEncoder */, mime);
866 // FLAC encoder doesn't need a bitrate, other encoders do
867 if (encoder && strcasecmp(mime, MEDIA_MIMETYPE_AUDIO_FLAC)
873 if (encoder
887 if (encoder
914 if (encoder) {
940 encoder, numChannels, sampleRate, bitRate, aacProfile, isADTS != 0);
943 err = setupAMRCodec(encoder, false /* isWAMR */, bitRate);
945 err = setupAMRCodec(encoder, true /* isWAMR */, bitRate);
955 err = setupG711Codec(encoder, numChannels);
959 if (encoder &&
962 ALOGE("missing channel count or sample rate for FLAC encoder");
965 if (encoder) {
976 err = setupFlacCodec(encoder, numChannels, sampleRate, compressionLevel);
980 if (encoder
989 if (!msg->findInt32("encoder-delay", &mEncoderDelay)) {
993 if (!msg->findInt32("encoder-padding", &mEncoderPadding)) {
1077 bool encoder, int32_t numChannels, int32_t sampleRate,
1079 if (encoder && isADTS) {
1084 encoder ? kPortIndexInput : kPortIndexOutput,
1092 if (encoder) {
1224 status_t ACodec::setupAMRCodec(bool encoder, bool isWAMR, int32_t bitrate) {
1227 def.nPortIndex = encoder ? kPortIndexOutput : kPortIndexInput;
1247 encoder ? kPortIndexInput : kPortIndexOutput,
1252 status_t ACodec::setupG711Codec(bool encoder, int32_t numChannels) {
1253 CHECK(!encoder); // XXX TODO
1260 bool encoder, int32_t numChannels, int32_t sampleRate, int32_t compressionLevel) {
1262 if (encoder) {
1282 encoder ? kPortIndexInput : kPortIndexOutput,
1359 if (!strcmp("OMX.TI.Video.encoder", mComponentName.c_str())) {
3042 int32_t encoder;
3043 if (!msg->findInt32("encoder", &encoder)) {
3044 encoder = false;
3049 encoder, // createEncoder