avcodec/utils: Add AV_PIX_FMT_GBRAP16?E to avcodec_align_dimensions2()
Found-by: kierank Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		
							parent
							
								
									2272ab0e84
								
							
						
					
					
						commit
						9ee4c89348
					
				@ -351,6 +351,8 @@ void avcodec_align_dimensions2(AVCodecContext *s, int *width, int *height,
 | 
			
		||||
    case AV_PIX_FMT_GBRP14BE:
 | 
			
		||||
    case AV_PIX_FMT_GBRP16LE:
 | 
			
		||||
    case AV_PIX_FMT_GBRP16BE:
 | 
			
		||||
    case AV_PIX_FMT_GBRAP16LE:
 | 
			
		||||
    case AV_PIX_FMT_GBRAP16BE:
 | 
			
		||||
        w_align = 16; //FIXME assume 16 pixel per macroblock
 | 
			
		||||
        h_align = 16 * 2; // interlaced needs 2 macroblocks height
 | 
			
		||||
        break;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user