Lines Matching refs:format
92 sp<AMessage> format = new AMessage();
93 format->setString("mime", mime);
98 format->setInt32("bitrate", bitrate);
99 format->setInt32("encoder", 1);
108 format->setInt32("width", width);
109 format->setInt32("height", height);
116 format->setInt32("color-format", colorFormats[0]);
118 format->setFloat("frame-rate", 10.0);
119 format->setInt32("i-frame-interval", 10);
125 return format;
130 sp<AMessage> format = getMeasureFormat(isEncoder, mime, caps);
131 if (format == NULL) {
136 format->debugString().c_str());
157 err = codec->configure(format, nativeWindow, crypto, flags);