[FFmpeg-devel] [PATCH 3/4] FFV1 specification: Slice Header inferred values if not present

Jerome Martinez jerome at mediaarea.net
Thu Apr 30 14:12:16 CEST 2015


-------------- next part --------------
>From 5c6efe277fd8efa590dd9ffe7950c4aebad44c97 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Martinez?= <jerome at mediaarea.net>
Date: Thu, 30 Apr 2015 13:41:30 +0200
Subject: [PATCH 3/4] Slice Header inferred values if not present.

In the case of version 1 or 2, Slice Header does not exist and the specification should explicit the inferred values.
---
 ffv1.lyx | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/ffv1.lyx b/ffv1.lyx
index b90406d..947158a 100644
--- a/ffv1.lyx
+++ b/ffv1.lyx
@@ -4493,23 +4493,43 @@ ur
 
 \begin_layout Description
 slice_x indicates the x position on the slice raster formed by num_h_slices.
+\begin_inset Newline newline
+\end_inset
+
+Inferred to be 0 if not present.
 \end_layout
 
 \begin_layout Description
 slice_y indicates the y position on the slice raster formed by num_v_slices.
+\begin_inset Newline newline
+\end_inset
+
+Inferred to be 0 if not present.
 \end_layout
 
 \begin_layout Description
 slice_width indicates the width on the slice raster.
+\begin_inset Newline newline
+\end_inset
+
+Inferred to be 1 if not present.
 \end_layout
 
 \begin_layout Description
 slice_height indicates the height on the slice raster.
+\begin_inset Newline newline
+\end_inset
+
+Inferred to be 1 if not present.
 \end_layout
 
 \begin_layout Description
 quant_table_index indicates the index to select the quantization table set
  and the initial states for the slice.
+\begin_inset Newline newline
+\end_inset
+
+Inferred to be 0 if not present.
 \end_layout
 
 \begin_layout Description
@@ -4517,6 +4537,10 @@ picture_structure specifies the picture structure.
 \begin_inset Newline newline
 \end_inset
 
+Inferred to be 0 if not present.
+\begin_inset Newline newline
+\end_inset
+
 
 \begin_inset Tabular
 <lyxtabular version="3" rows="6" columns="2">
@@ -4655,6 +4679,10 @@ sar_num specifies the sample aspect ratio numerator.
 \begin_inset Newline newline
 \end_inset
 
+Inferred to be 0 if not present.
+\begin_inset Newline newline
+\end_inset
+
 MUST be 0 if sample aspect ratio is unknown.
 \end_layout
 
@@ -4663,6 +4691,10 @@ sar_den specifies the sample aspect ratio numerator.
 \begin_inset Newline newline
 \end_inset
 
+Inferred to be 0 if not present.
+\begin_inset Newline newline
+\end_inset
+
 MUST be 0 if sample aspect ratio is unknown.
 \end_layout
 
@@ -4671,6 +4703,10 @@ slice_coding_mode indicates the slice coding mode.
 \begin_inset Newline newline
 \end_inset
 
+Inferred to be 0 if not present.
+\begin_inset Newline newline
+\end_inset
+
 
 \begin_inset Tabular
 <lyxtabular version="3" rows="4" columns="2">
-- 
1.9.5.msysgit.1



More information about the ffmpeg-devel mailing list