FFV1 Video Coding Format Version 0, 1, and 3
draft-ietf-cellar-ffv1-10

Document Type Active Internet-Draft (cellar WG)
Last updated 2019-10-10
Stream IETF
Intended RFC status Informational
Formats plain text html xml pdf htmlized bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Peter Bubestinger-Steindl
Shepherd write-up Show (last changed 2019-02-28)
IESG IESG state Publication Requested::AD Followup
Consensus Boilerplate Unknown
Telechat date
Responsible AD Adam Roach
Send notices to Michael Richardson <mcr+ietf@sandelman.ca>, "Peter B." <pb@das-werkstatt.com>
cellar                                                    M. Niedermayer
Internet-Draft                                                   D. Rice
Intended status: Informational                               J. Martinez
Expires: 12 April 2020                                   10 October 2019

              FFV1 Video Coding Format Version 0, 1, and 3
                       draft-ietf-cellar-ffv1-10

Abstract

   This document defines FFV1, a lossless intra-frame video encoding
   format.  FFV1 is designed to efficiently compress video data in a
   variety of pixel formats.  Compared to uncompressed video, FFV1
   offers storage compression, frame fixity, and self-description, which
   makes FFV1 useful as a preservation or intermediate video format.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 12 April 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Niedermayer, et al.       Expires 12 April 2020                 [Page 1]
Internet-Draft                    FFV1                      October 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Notation and Conventions  . . . . . . . . . . . . . . . . . .   4
     2.1.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   5
     2.2.  Conventions . . . . . . . . . . . . . . . . . . . . . . .   5
       2.2.1.  Pseudo-code . . . . . . . . . . . . . . . . . . . . .   6
       2.2.2.  Arithmetic Operators  . . . . . . . . . . . . . . . .   6
       2.2.3.  Assignment Operators  . . . . . . . . . . . . . . . .   6
       2.2.4.  Comparison Operators  . . . . . . . . . . . . . . . .   7
       2.2.5.  Mathematical Functions  . . . . . . . . . . . . . . .   7
       2.2.6.  Order of Operation Precedence . . . . . . . . . . . .   8
       2.2.7.  Range . . . . . . . . . . . . . . . . . . . . . . . .   8
       2.2.8.  NumBytes  . . . . . . . . . . . . . . . . . . . . . .   8
       2.2.9.  Bitstream Functions . . . . . . . . . . . . . . . . .   8
   3.  Sample Coding . . . . . . . . . . . . . . . . . . . . . . . .   9
     3.1.  Border  . . . . . . . . . . . . . . . . . . . . . . . . .   9
     3.2.  Samples . . . . . . . . . . . . . . . . . . . . . . . . .  10
     3.3.  Median Predictor  . . . . . . . . . . . . . . . . . . . .  10
     3.4.  Context . . . . . . . . . . . . . . . . . . . . . . . . .  11
     3.5.  Quantization Table Sets . . . . . . . . . . . . . . . . .  12
     3.6.  Quantization Table Set Indexes  . . . . . . . . . . . . .  12
     3.7.  Color spaces  . . . . . . . . . . . . . . . . . . . . . .  12
       3.7.1.  YCbCr . . . . . . . . . . . . . . . . . . . . . . . .  13
       3.7.2.  RGB . . . . . . . . . . . . . . . . . . . . . . . . .  13
     3.8.  Coding of the Sample Difference . . . . . . . . . . . . .  15
       3.8.1.  Range Coding Mode . . . . . . . . . . . . . . . . . .  15
       3.8.2.  Golomb Rice Mode  . . . . . . . . . . . . . . . . . .  20
   4.  Bitstream . . . . . . . . . . . . . . . . . . . . . . . . . .  25
     4.1.  Parameters  . . . . . . . . . . . . . . . . . . . . . . .  26
       4.1.1.  version . . . . . . . . . . . . . . . . . . . . . . .  28
       4.1.2.  micro_version . . . . . . . . . . . . . . . . . . . .  28
       4.1.3.  coder_type  . . . . . . . . . . . . . . . . . . . . .  29
       4.1.4.  state_transition_delta  . . . . . . . . . . . . . . .  29
       4.1.5.  colorspace_type . . . . . . . . . . . . . . . . . . .  29
       4.1.6.  chroma_planes . . . . . . . . . . . . . . . . . . . .  30
       4.1.7.  bits_per_raw_sample . . . . . . . . . . . . . . . . .  30
       4.1.8.  log2_h_chroma_subsample . . . . . . . . . . . . . . .  31
       4.1.9.  log2_v_chroma_subsample . . . . . . . . . . . . . . .  31
Show full document text