c3bcd22ed3 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Error out on other unsupported type values as well  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1743938df1 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Disallow using the reserved q values  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1de9317bd0 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Fold the default qtables case into an existing if statement  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a218deb856 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Store and reuse old qtables for q values 128-254  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a252649059 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Simplify the calculation of the number of qtables  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cbaa9eeda3 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Add more comments about the fields in the SOF0 section  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								31adff08a1 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Clarify where the subsampling magic numbers come from  
							
							Write out the numbers the way they are constructed, not just the
final values.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c64d2a63df 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Don't use a bitstream writer for the EOI marker  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20f325f320 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Don't needlessly use a bitstream writer for the header  
							
							Everything written with this bitstream writer is 8/16 bit units
(except for a pair of 4 bit values), so using a bitstream writer
isn't necessary.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43957fcc71 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Simplify writing of the jpeg header  
							
							Generalize writing of any number of qtables. Don't manually write
16 bit values in two separate calls.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								932d8300d3 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Merge two if statements  
							
							This makes the code more readable and robust.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7ef4323405 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Write the DHT section properly  
							
							Currently the size header of the generated DHT section is
incorrect, making the mjpeg decoder just skip it. Since the
written huffman tables are the default ones, this failure had
gone undetected.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55e778bebd 
								
							
								 
							
						 
						
							
							
								
								rtpdec_jpeg: Add support for default quantizers  
							
							Generate quantization tables when they are not present in the
first chunk.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c19815416 
								
							
								 
							
						 
						
							
							
								
								rtp: Depacketization of JPEG (RFC 2435)  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago