android wifi display屏幕分辨率修改
来源:互联网 发布:如何手机投诉淘宝卖家 编辑:程序博客网 时间:2024/06/08 05:25
/frameworks/av/media/libstagefright/wifi-display/source/WifiDisplaySource.cpp
52 WifiDisplaySource::WifiDisplaySource( 53 const String16 &opPackageName, 54 const sp<ANetworkSession> &netSession, 55 const sp<IRemoteDisplayClient> &client, 56 const char *path) 57 : mOpPackageName(opPackageName), 58 mState(INITIALIZED), 59 mNetSession(netSession), 60 mClient(client), 61 mSessionID(0), 62 mStopReplyID(NULL), 63 mChosenRTPPort(-1), 64 mUsingPCMAudio(false), 65 mClientSessionID(0), 66 mReaperPending(false), 67 mNextCSeq(1), 68 mUsingHDCP(false), 69 mIsHDCP2_0(false), 70 mHDCPPort(0), 71 mHDCPInitializationComplete(false), 72 mSetupTriggerDeferred(false), 73 mPlaybackSessionEstablished(false) { 74 if (path != NULL) { 75 mMediaPath.setTo(path); 76 } 77 78 mSupportedSourceVideoFormats.disableAll(); 79 80 mSupportedSourceVideoFormats.setNativeResolution( 81 VideoFormats::RESOLUTION_CEA, 5); // 1280x720 p30 82 83 // Enable all resolutions up to 1280x720p30 84 mSupportedSourceVideoFormats.enableResolutionUpto( 85 VideoFormats::RESOLUTION_CEA, 5, 86 VideoFormats::PROFILE_CHP, // Constrained High Profile 87 VideoFormats::LEVEL_32); // Level 3.2 88 }
enum ProfileType { PROFILE_CBP = 0, PROFILE_CHP, kNumProfileTypes, }; enum LevelType { LEVEL_31 = 0, LEVEL_32, LEVEL_40, LEVEL_41, LEVEL_42, kNumLevelTypes, }; enum ResolutionType { RESOLUTION_CEA, RESOLUTION_VESA, RESOLUTION_HH, kNumResolutionTypes, };美国消费电子协会(CEA),据CEA的更新定义,超高清电视、显示器和投影机必须至少拥有800万有效像素,分辨率达到3,840 x 2,160,能够播放超高清视频,拥有至少一个能够支持至少3840x2160分辨率的HDMI输入,最低色调深度为8比特,能够解码HDCP 2.2 DRM。
有一张表是关于分辨率表的内容
frameworks/av/media/libstagefright/wifi-display/VideoFormats.cpp
还有一个关于display的分辨率,它们都在device tree里修改,
三星64位7420的设置如下:高通的修改如下:
0 0
- android wifi display屏幕分辨率修改
- android wifi display
- android wifi display
- android wifi display
- Android 4.2 WiFi Display 框架
- wifi display
- WiFi Display
- wifi display
- WiFi Display
- WIFI Display
- WiFi Display
- WiFi Display
- WiFi Display
- WiFi Display
- WiFi Display
- WiFi display
- wifi display
- 修改屏幕分辨率
- Iterated Local Search算法探索【编辑中....】
- 二次“素数生成”多项式
- 安装ubuntu 14.04
- iframe高度从内向外撑起
- listview复用 图片乱跳
- android wifi display屏幕分辨率修改
- 解决sublime text 3总是在新窗口中打开文件(标签中打开)
- Web前端大冒险 行程规划
- VBox共享文件夹 VBOXSVR无法找到网络名
- 陀螺仪偏航角的夹角计算方法
- MySQL四大日志(log_error、slow_query_log、bin_log、general_log)
- linux下查看日志
- jar包分类管理及导入
- bootstrap中contain和contain-fluid的区别