{"title":"H.264/AVC中宏块均匀性检测方法及其在块大小决定中的应用","authors":"G. Tian, T. Zhang, S. Goto","doi":"10.11371/IIEEJ.39.672","DOIUrl":null,"url":null,"abstract":"〈 Summary 〉 The variable block sizes for intra and inter coding in H.264/AVC achieves significant coding gain compared with coding a macroblock (MB) with fixed size. How-ever, extremely heavy computational burden is required when Rate Distortion Optimization (RDO) process runs in brutal force searching manner for selecting the optimal coding block. This paper proposes an MB homogeneity detection method to accelerate H.264/AVC intra and inter coding. All the luminance values of pixels in an MB are taken to calculate their entropy feature, which is defined as MB’s spatial homogeneity. Based on homogeneity judgment, 16 × 16 or 4 × 4 block size is appropriately selected for intra coding; Meanwhile, either the large blocks in { 16 × 16 , 16 × 8 , 8 × 16 } or sub-blocks in { 8 × 8 , 8 × 4 , 4 × 8 , 4 × 4 } are chosen for inter coding. Especially, a cost function is defined to select near optimal threshold for selecting optimal block size. Proposed methods are verified on a wide range of video sequences with different spatial-/motion characteristics. Sufficient simulations demonstrate that consistent encoding gain is achieved for all videos with different motion and spatial features. Encoding complexity for intra coding alone can be reduced by 31%– 34% and time savings for inter mode decision is 43.7%–58.7%, both with negligible loss in bitrate and PSNR.","PeriodicalId":153591,"journal":{"name":"The Journal of the Institute of Image Electronics Engineers of Japan","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2010-09-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"A Macroblock Homogeneity Detection Method and its Application for Block Size Decision in H.264/AVC\",\"authors\":\"G. Tian, T. Zhang, S. Goto\",\"doi\":\"10.11371/IIEEJ.39.672\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"〈 Summary 〉 The variable block sizes for intra and inter coding in H.264/AVC achieves significant coding gain compared with coding a macroblock (MB) with fixed size. How-ever, extremely heavy computational burden is required when Rate Distortion Optimization (RDO) process runs in brutal force searching manner for selecting the optimal coding block. This paper proposes an MB homogeneity detection method to accelerate H.264/AVC intra and inter coding. All the luminance values of pixels in an MB are taken to calculate their entropy feature, which is defined as MB’s spatial homogeneity. Based on homogeneity judgment, 16 × 16 or 4 × 4 block size is appropriately selected for intra coding; Meanwhile, either the large blocks in { 16 × 16 , 16 × 8 , 8 × 16 } or sub-blocks in { 8 × 8 , 8 × 4 , 4 × 8 , 4 × 4 } are chosen for inter coding. Especially, a cost function is defined to select near optimal threshold for selecting optimal block size. Proposed methods are verified on a wide range of video sequences with different spatial-/motion characteristics. Sufficient simulations demonstrate that consistent encoding gain is achieved for all videos with different motion and spatial features. Encoding complexity for intra coding alone can be reduced by 31%– 34% and time savings for inter mode decision is 43.7%–58.7%, both with negligible loss in bitrate and PSNR.\",\"PeriodicalId\":153591,\"journal\":{\"name\":\"The Journal of the Institute of Image Electronics Engineers of Japan\",\"volume\":\"21 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2010-09-25\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"The Journal of the Institute of Image Electronics Engineers of Japan\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.11371/IIEEJ.39.672\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Journal of the Institute of Image Electronics Engineers of Japan","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.11371/IIEEJ.39.672","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
A Macroblock Homogeneity Detection Method and its Application for Block Size Decision in H.264/AVC
〈 Summary 〉 The variable block sizes for intra and inter coding in H.264/AVC achieves significant coding gain compared with coding a macroblock (MB) with fixed size. How-ever, extremely heavy computational burden is required when Rate Distortion Optimization (RDO) process runs in brutal force searching manner for selecting the optimal coding block. This paper proposes an MB homogeneity detection method to accelerate H.264/AVC intra and inter coding. All the luminance values of pixels in an MB are taken to calculate their entropy feature, which is defined as MB’s spatial homogeneity. Based on homogeneity judgment, 16 × 16 or 4 × 4 block size is appropriately selected for intra coding; Meanwhile, either the large blocks in { 16 × 16 , 16 × 8 , 8 × 16 } or sub-blocks in { 8 × 8 , 8 × 4 , 4 × 8 , 4 × 4 } are chosen for inter coding. Especially, a cost function is defined to select near optimal threshold for selecting optimal block size. Proposed methods are verified on a wide range of video sequences with different spatial-/motion characteristics. Sufficient simulations demonstrate that consistent encoding gain is achieved for all videos with different motion and spatial features. Encoding complexity for intra coding alone can be reduced by 31%– 34% and time savings for inter mode decision is 43.7%–58.7%, both with negligible loss in bitrate and PSNR.