/frameworks/av/cmds/stagefright/ |
H A D | record.cpp | 226 sp<MediaSource> encoder = 232 writer->addSource(encoder); 241 CHECK_EQ((status_t)OK, encoder->start()); 244 while (encoder->read(&buffer) == OK) { 259 err = encoder->stop(); 328 sp<MediaSource> encoder = local 331 encoder->start(); 336 while ((err = encoder->read(&buffer)) == OK) { 349 encoder->stop();
|
H A D | audioloop.cpp | 112 sp<MediaSource> encoder = OMXCodec::Create( local 125 writer->addSource(encoder); 134 encoder);
|
H A D | recordvideo.cpp | 48 fprintf(stderr, " -l encoder level. see omx il header (default: encoder specific)\n"); 49 fprintf(stderr, " -p encoder profile. see omx il header (default: encoder specific)\n"); 104 // We don't care about the contents. we just test video encoder 302 sp<MediaSource> encoder = local 314 writer->addSource(encoder);
|
/frameworks/av/media/libmedia/ |
H A D | IMediaCodecList.cpp | 82 const char *type, bool encoder, size_t startIndex = 0) const 91 data.writeInt32(encoder); 81 findCodecByType( const char *type, bool encoder, size_t startIndex = 0) const argument
|
H A D | MediaCodecInfo.cpp | 184 MediaCodecInfo::MediaCodecInfo(AString name, bool encoder, const char *mime) argument 186 mIsEncoder(encoder),
|
/frameworks/base/media/java/android/media/ |
H A D | MediaCodecList.java | 207 return findCodecForFormat(false /* encoder */, format); 211 * Find an encoder supporting a given {@link MediaFormat} in the list 221 * @param format An encoder media format with optional feature directives. 224 * @return the name of an encoder that supports the given format and feature 228 return findCodecForFormat(true /* encoder */, format); 231 private String findCodecForFormat(boolean encoder, MediaFormat format) { argument 234 if (info.isEncoder() != encoder) {
|
/frameworks/base/core/java/android/widget/ |
H A D | FrameLayout.java | 414 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 415 super.encodeProperties(encoder); 417 encoder.addProperty("measurement:measureAllChildren", mMeasureAllChildren); 418 encoder.addProperty("padding:foregroundPaddingLeft", mForegroundPaddingLeft); 419 encoder.addProperty("padding:foregroundPaddingTop", mForegroundPaddingTop); 420 encoder.addProperty("padding:foregroundPaddingRight", mForegroundPaddingRight); 421 encoder.addProperty("padding:foregroundPaddingBottom", mForegroundPaddingBottom);
|
H A D | TableRow.java | 516 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 517 super.encodeProperties(encoder); 518 encoder.addProperty("layout:column", column); 519 encoder.addProperty("layout:span", span);
|
H A D | ActionMenuView.java | 839 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 840 super.encodeProperties(encoder); 842 encoder.addProperty("layout:overFlowButton", isOverflowButton); 843 encoder.addProperty("layout:cellsUsed", cellsUsed); 844 encoder.addProperty("layout:extraPixels", extraPixels); 845 encoder.addProperty("layout:expandable", expandable); 846 encoder.addProperty("layout:preventEdgeOffset", preventEdgeOffset);
|
H A D | AdapterView.java | 1258 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 1259 super.encodeProperties(encoder); 1261 encoder.addProperty("scrolling:firstPosition", mFirstPosition); 1262 encoder.addProperty("list:nextSelectedPosition", mNextSelectedPosition); 1263 encoder.addProperty("list:nextSelectedRowId", mNextSelectedRowId); 1264 encoder.addProperty("list:selectedPosition", mSelectedPosition); 1265 encoder.addProperty("list:itemCount", mItemCount);
|
H A D | GridView.java | 2428 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 2429 super.encodeProperties(encoder); 2430 encoder.addProperty("numColumns", getNumColumns());
|
H A D | HorizontalScrollView.java | 1699 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 1700 super.encodeProperties(encoder); 1701 encoder.addProperty("layout:fillViewPort", mFillViewport);
|
H A D | LinearLayout.java | 1856 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 1857 super.encodeProperties(encoder); 1858 encoder.addProperty("layout:baselineAligned", mBaselineAligned); 1859 encoder.addProperty("layout:baselineAlignedChildIndex", mBaselineAlignedChildIndex); 1860 encoder.addProperty("measurement:baselineChildTop", mBaselineChildTop); 1861 encoder.addProperty("measurement:orientation", mOrientation); 1862 encoder.addProperty("measurement:gravity", mGravity); 1863 encoder.addProperty("measurement:totalLength", mTotalLength); 1864 encoder.addProperty("layout:totalLength", mTotalLength); 1865 encoder 1979 encodeProperties(@onNull ViewHierarchyEncoder encoder) argument [all...] |
H A D | RelativeLayout.java | 1633 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 1634 super.encodeProperties(encoder); 1635 encoder.addProperty("layout:alignWithParent", alignWithParent);
|
/frameworks/base/core/jni/android/graphics/ |
H A D | YuvToJpegEncoder.cpp | 230 YuvToJpegEncoder* encoder = YuvToJpegEncoder::create(format, imgStrides); local 232 if (encoder != NULL) { 233 encoder->encode(strm, yuv, width, height, imgOffsets, jpegQuality); 234 delete encoder;
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 286 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 287 super.encodeProperties(encoder); 289 encoder.addProperty("layout:maxWidth", maxWidth); 290 encoder.addProperty("layout:maxHeight", maxHeight);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 135 SoftAVCEncoder *encoder = static_cast<SoftAVCEncoder *>(userData); local 136 CHECK(encoder != NULL); 137 return encoder->allocOutputBuffers(sizeInMbs, numBuffers); 142 SoftAVCEncoder *encoder = static_cast<SoftAVCEncoder *>(userData); local 143 CHECK(encoder != NULL); 144 return encoder->bindOutputBuffer(index, yuv); 148 SoftAVCEncoder *encoder = static_cast<SoftAVCEncoder *>(userData); local 149 CHECK(encoder != NULL); 150 return encoder->unbindOutputBuffer(index); 256 // PV's AVC encoder require [all...] |
/frameworks/base/media/jni/ |
H A D | android_media_MediaProfiles.cpp | 86 video_encoder encoder = encoders[index]; local 87 int minBitRate = sProfiles->getVideoEncoderParamByName("enc.vid.bps.min", encoder); 88 int maxBitRate = sProfiles->getVideoEncoderParamByName("enc.vid.bps.max", encoder); 89 int minFrameRate = sProfiles->getVideoEncoderParamByName("enc.vid.fps.min", encoder); 90 int maxFrameRate = sProfiles->getVideoEncoderParamByName("enc.vid.fps.max", encoder); 91 int minFrameWidth = sProfiles->getVideoEncoderParamByName("enc.vid.width.min", encoder); 92 int maxFrameWidth = sProfiles->getVideoEncoderParamByName("enc.vid.width.max", encoder); 93 int minFrameHeight = sProfiles->getVideoEncoderParamByName("enc.vid.height.min", encoder); 94 int maxFrameHeight = sProfiles->getVideoEncoderParamByName("enc.vid.height.max", encoder); 102 jniThrowException(env, "java/lang/RuntimeException", "Error retrieving video encoder capabilit 138 audio_encoder encoder = encoders[index]; local [all...] |
/frameworks/av/cmds/screenrecord/ |
H A D | screenrecord.cpp | 145 * Configures and starts the MediaCodec encoder. Obtains an input surface 186 ALOGV("Creating encoder input surface"); 191 "ERROR: unable to create encoder input surface (err=%d)\n", err); 309 * Runs the MediaCodec encoder, sending the output to the MediaMuxer. The 317 static status_t runEncoder(const sp<MediaCodec>& encoder, argument 331 err = encoder->getOutputBuffers(&buffers); 354 err = encoder->dequeueOutputBuffer(&bufIndex, &offset, &size, &ptsUsec, 426 err = encoder->releaseOutputBuffer(bufIndex); 446 encoder->getOutputFormat(&newFormat); 459 // Not expected for an encoder; handl 567 sp<MediaCodec> encoder; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecList.cpp | 46 const char *kMaxEncoderInputBuffers = "max-video-encoder-input-buffers"; 469 addMediaCodecFromAttributes(false /* encoder */, attrs); 480 addMediaCodecFromAttributes(true /* encoder */, attrs); 648 void MediaCodecList::setCurrentCodecInfo(bool encoder, const char *name, const char *type) { argument 655 mCurrentInfo = new MediaCodecInfo(name, encoder, type); 663 mCurrentInfo = new MediaCodecInfo(name, encoder, type); 674 bool encoder, const char **attrs) { 733 mCurrentInfo = new MediaCodecInfo(name, encoder, type); 849 const char *type, bool encoder, size_t startIndex) const { 859 if (info.isEncoder() != encoder) { 673 addMediaCodecFromAttributes( bool encoder, const char **attrs) argument 848 findCodecByType( const char *type, bool encoder, size_t startIndex) const argument [all...] |
H A D | MediaCodec.cpp | 167 const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err, pid_t pid) { 170 const status_t ret = codec->init(mime, true /* nameIsType */, encoder); 182 const status_t ret = codec->init(name, false /* nameIsType */, false /* encoder */); 205 ALOGE("Failed to get encoder input buffer count!"); 295 status_t MediaCodec::init(const AString &name, bool nameIsType, bool encoder) { argument 301 mInitIsEncoder = encoder; 367 msg->setInt32("encoder", encoder); 1541 int32_t encoder = false; local 1544 CHECK(msg->findInt32("encoder", 166 CreateByType( const sp<ALooper> &looper, const char *mime, bool encoder, status_t *err, pid_t pid) argument [all...] |
/frameworks/av/media/ndk/ |
H A D | NdkMediaCodec.cpp | 144 static AMediaCodec * createAMediaCodec(const char *name, bool name_is_type, bool encoder) { argument 153 mData->mCodec = android::MediaCodec::CreateByType(mData->mLooper, name, encoder);
|
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 1385 protected void encodeProperties(@NonNull ViewHierarchyEncoder encoder) { argument 1386 super.encodeProperties(encoder); 1388 encoder.addProperty("gravity", gravity);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 61 // To collect the encoder usage for the battery app 166 ALOGE("Invalid audio encoder: %d", ae); 183 ALOGE("Invalid video encoder: %d", ve); 386 // range that a specific encoder supports. The mismatch between the 401 // range that a specific encoder supports. The mismatch between the 515 // Additional check will be done later when we load the encoder. 524 // Additional check will be done later when we load the encoder. 695 } else if (key == "video-param-encoder-profile") { 700 } else if (key == "video-param-encoder-level") { 968 ALOGE("Unknown audio encoder 1135 sp<MediaSource> encoder; local 1580 sp<MediaCodecSource> encoder = MediaCodecSource::Create( local 1652 sp<MediaSource> encoder; local [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | Resources.java | 1820 public void encode(@NonNull ViewHierarchyEncoder encoder) { argument 1821 encoder.beginObject(this); 1824 encoder.addProperty(properties[i], properties[i+1]); 1826 encoder.endObject();
|