/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerDriver.cpp | 676 int32_t width, height; local 678 && stats->findInt32("height", &height)) { 679 snprintf(buf, sizeof(buf), " resolution(%d x %d)\n", width, height);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 1915 msg->findInt32("max-height", &maxHeight)) { 1926 inputFormat->setInt32("max-height", maxHeight); 1976 msg->findInt32("max-height", &maxHeight)) { 1989 inputFormat->setInt32("max-height", maxHeight); 2392 // Calculate period based on width and height 2393 uint32_t width, height; local 2405 height = video_def->nFrameHeight; 2407 *intraRefreshPeriod = divUp((divUp(width, 16u) * divUp(height, 16u)), refreshParams.nCirMBs); 2439 // Calculate macroblocks that need to be intra coded base on width and height 2440 uint32_t width, height; local 3152 int32_t width, height; local 3277 setColorAspectsForVideoDecoder( int32_t width, int32_t height, bool usingNativeWindow, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat) argument 3366 getColorAspectsAndDataSpaceForVideoDecoder( int32_t width, int32_t height, const sp<AMessage> &configFormat, sp<AMessage> &outputFormat, android_dataspace *dataSpace) argument 3409 int32_t width, height; local 3467 int32_t width, height; local 3602 int32_t width, height, bitrate; local 3977 getAVCLevelFor( int width, int height, int rate, int bitrate, OMX_VIDEO_AVCPROFILETYPE profile) argument 4368 setVideoFormatOnPort( OMX_U32 portIndex, int32_t width, int32_t height, OMX_VIDEO_CODINGTYPE compressionFormat, float frameRate) argument 4741 int32_t height = (int32_t)videoDef->nFrameHeight; local [all...] |
H A D | AVIExtractor.cpp | 699 uint32_t height = U32LE_AT(&data[8]); local 702 track->mMeta->setInt32(kKeyHeight, height); 1088 int32_t width, height; local 1090 CHECK(meta->findInt32(kKeyHeight, &height)); 1098 track->mMeta->setInt32(kKeyHeight, height);
|
H A D | CameraSource.cpp | 152 size.height = -1; 205 mVideoSize.height = -1; 247 * Check to see whether the requested video width and height is one 250 * @param height the video frame height in pixels 252 * @return true if the dimension (width and height) is supported. 255 int32_t width, int32_t height, 261 height == supportedSizes[i].height) { 318 * (width and height) an 254 isVideoSizeSupported( int32_t width, int32_t height, const Vector<Size>& supportedSizes) argument 331 configureCamera( CameraParameters* params, int32_t width, int32_t height, int32_t frameRate) argument 407 checkVideoSize( const CameraParameters& params, int32_t width, int32_t height) argument 530 initBufferQueue(uint32_t width, uint32_t height, uint32_t format, android_dataspace dataSpace, uint32_t bufferCount) argument [all...] |
H A D | CameraSourceTimeLapse.cpp | 90 mVideoHeight = videoSize.height; 92 if (OK == mInitCheck && !trySettingVideoSize(videoSize.width, videoSize.height)) { 125 int32_t width, int32_t height) { 144 int32_t pictureHeight = supportedSizes[i].height; 146 if ((pictureWidth == width) && (pictureHeight == height)) { 153 ALOGV("Video size (%d, %d) is supported", width, height); 155 params.setVideoSize(width, height); 157 params.setPreviewSize(width, height); 162 ALOGE("Failed to set preview size to %dx%d", width, height); 124 trySettingVideoSize( int32_t width, int32_t height) argument
|
H A D | JPEGSource.cpp | 207 uint16_t width, height; local 208 if (!mSource->getUInt16(i + 1, &height) 214 mHeight = height;
|
H A D | MPEG4Extractor.cpp | 1442 uint16_t height = U16_AT(&buffer[6 + 20]); local 1445 // Use some default width and height value, and 1446 // let the decoder figure out the actual width and height (and thus 1449 if (height == 0) height = 288; 1451 // printf("*** coding='%s' width=%d height=%d\n", 1452 // chunk, width, height); 1462 mLastTrack->meta->setInt32(kKeyHeight, height); 1551 uint32_t width, height; local 1553 !mLastTrack->meta->findInt32(kKeyHeight,(int32_t*) &height)) { 2568 uint32_t height = U32_AT(&buffer[dynSize + 56]); local [all...] |
H A D | MPEG4Writer.cpp | 2931 int32_t width, height; local 2933 success = success && mMeta->findInt32(kKeyHeight, &height); 2937 mOwner->writeInt16(height); 3136 int32_t width, height; local 3138 success = success && mMeta->findInt32(kKeyHeight, &height); 3142 mOwner->writeInt32(height << 16); // 32-bit fixed-point value
|
H A D | MediaCodec.cpp | 447 format->findInt32("height", &mVideoHeight); 455 ALOGE("buffer size is too big, width=%d, height=%d", mVideoWidth, mVideoHeight); 1452 int32_t left, top, right, bottom, width, height; local 1456 && mOutputFormat->findInt32("height", &height)) { 1457 mCrypto->notifyResolution(width, height);
|
H A D | MediaCodecListOverrides.cpp | 52 static bool getMeasureSize(sp<MediaCodecInfo::Capabilities> caps, int32_t *width, int32_t *height) { argument 71 *height = strtol(sHeight.c_str(), NULL, 10); 72 return (*width > 0) && (*height > 0); 106 int32_t height = 0; local 107 if (!getMeasureSize(caps, &width, &height)) { 111 format->setInt32("height", height);
|
H A D | StagefrightMetadataRetriever.cpp | 368 int32_t width, height; local 370 CHECK(outputFormat->findInt32("height", &height)); 376 crop_bottom = height - 1; 408 width, height,
|
H A D | SurfaceUtils.cpp | 29 int width, int height, int format, int rotation, int usage, bool reconnect) { 47 err = native_window_set_buffers_dimensions(nativeWindow, width, height); 117 nativeWindow, width, height, format, rotation, finalUsage); 27 setNativeWindowSizeFormatAndUsage( ANativeWindow *nativeWindow , int width, int height, int format, int rotation, int usage, bool reconnect) argument
|
H A D | Utils.cpp | 640 int32_t width, height; local 642 || !meta->findInt32(kKeyHeight, &height)) { 647 msg->setInt32("height", height); 653 msg->setInt32("sar-height", sarHeight); 736 msg->setInt32("max-height", maxHeight); 1277 int32_t height; local 1278 if (msg->findInt32("width", &width) && msg->findInt32("height", &height)) { 1280 meta->setInt32(kKeyHeight, height); [all...] |
H A D | avc_utils.cpp | 93 int32_t *width, int32_t *height, 162 *height = (2 - frame_mbs_only_flag) 196 *height -= 218 static const struct { unsigned width, height; } kFixedSARs[] = { member in struct:android::__anon327 240 sar_height = kFixedSARs[aspect_ratio_idc].height; 374 int32_t width, height; local 377 seqParamSet, &width, &height, &sarWidth, &sarHeight); 421 meta->setInt32(kKeyHeight, height); 432 height, 441 height, 91 FindAVCDimensions( const sp<ABuffer> &seqParamSet, int32_t *width, int32_t *height, int32_t *sarWidth, int32_t *sarHeight) argument 541 ExtractDimensionsFromVOLHeader( const uint8_t *data, size_t size, int32_t *width, int32_t *height) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avcapi_common.h | 148 /** In/Out: Coded height of the luma component, must be multiple of 16. */ 149 int height; member in struct:tagAVCFrameIO 154 /** In/Out: Display height, less than height */
|
H A D | avcint_common.h | 56 /* a:block address, b:block width, c:block height, d:total_width, e:x or y coordinate */ 503 int height;/* how many line */ member in struct:tagPictureData
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_api.h | 100 int height; /* height of an input frame in pixel */ member in struct:tagAVCEncParam
|
H A D | avcenc_int.h | 350 int height; member in struct:tagPadInfo
|
H A D | motion_est.cpp | 485 int pitch, width, height; local 489 height = refPic->height; 528 i = height; 967 int height = currPic->height; local 1047 if (jhigh > height - 3) // same reason as above 1049 jhigh = height - 3;
|
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 115 320 /* width */, 240 /* height */, callbacks, 646 uint32_t height = s_dec_op.u4_pic_ht; local 648 handlePortSettingsChange(&portWillReset, width, height);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 69 320 /* width */, 240 /* height */, callbacks, 594 uint32_t height = s_dec_op.u4_pic_ht; local 596 handlePortSettingsChange(&portWillReset, width, height);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/include/ |
H A D | mp4dec_api.h | 131 int16 height; /* Height */ member in struct:tagVideoRefCopyInfoData 133 int16 realHeight; /* Non-padded height, not a multiple of 16. */ 150 OSCL_IMPORT_REF Bool PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode); 151 Bool PVAllocVideoData(VideoDecControls *decCtrl, int width, int height, int nLayers);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | chv_filter.cpp | 150 int height, 157 height : height of decoded frame 179 int height, 199 pp_h = (height >> 3); 456 int height, 476 pp_h = (height >> 3); 176 CombinedHorzVertFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument 453 CombinedHorzVertFilter_NoSoftDeblocking( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
|
H A D | chvr_filter.cpp | 26 int height, 51 /* Calculate the width and height of the area in blocks (divide by 8) */ 53 pp_h = (height >> 3); 23 CombinedHorzVertRingFilter( uint8 *rec, int width, int height, int16 *QP_store, int chr, uint8 *pp_mod) argument
|
H A D | conceal.cpp | 124 CopyVopMB(video->currVop, video->concealFrame, i, video->width, video->height); 139 void CopyVopMB(Vop *curr, uint8 *prevFrame, int mbnum, int width_Y, int height) argument 157 size = (int32)height * width_Y;
|