FF Video Codec 1
draft-niedermayer-cellar-ffv1-02

Document Type Active Internet-Draft (cellar WG)
Last updated 2017-06-07 (latest revision 2017-05-09)
Stream IETF
Intended RFC status Informational
Formats plain text xml pdf html bibtex
Stream WG state WG Document (wg milestone: Apr 2017 - Submit informational... )
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
cellar                                                    M. Niedermayer
Internet-Draft
Intended status: Standards Track                                 D. Rice
Expires: November 10, 2017
                                                             J. Martinez
                                                             May 9, 2017

                            FF Video Codec 1
                    draft-niedermayer-cellar-ffv1-02

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 http://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 November 10, 2017.

Copyright Notice

   Copyright (c) 2017 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
   (http://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

Niedermayer, et al.     Expires November 10, 2017               [Page 1]
Internet-Draft                    FFV1                          May 2017

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Notation and Conventions  . . . . . . . . . . . . . . . . . .   4
     2.1.  Definitions . . . . . . . . . . . . . . . . . . . . . . .   4
     2.2.  Conventions . . . . . . . . . . . . . . . . . . . . . . .   4
       2.2.1.  Arithmetic operators  . . . . . . . . . . . . . . . .   5
       2.2.2.  Assignment operators  . . . . . . . . . . . . . . . .   5
       2.2.3.  Comparison operators  . . . . . . . . . . . . . . . .   5
       2.2.4.  Mathematical functions  . . . . . . . . . . . . . . .   6
       2.2.5.  Order of operation precedence . . . . . . . . . . . .   6
       2.2.6.  Range . . . . . . . . . . . . . . . . . . . . . . . .   7
       2.2.7.  NumBytes  . . . . . . . . . . . . . . . . . . . . . .   7
       2.2.8.  Bitstream functions . . . . . . . . . . . . . . . . .   7
   3.  General Description . . . . . . . . . . . . . . . . . . . . .   7
     3.1.  Border  . . . . . . . . . . . . . . . . . . . . . . . . .   7
     3.2.  Median predictor  . . . . . . . . . . . . . . . . . . . .   8
     3.3.  Context . . . . . . . . . . . . . . . . . . . . . . . . .   8
     3.4.  Quantization  . . . . . . . . . . . . . . . . . . . . . .   9
     3.5.  Color space . . . . . . . . . . . . . . . . . . . . . . .   9
       3.5.1.  YCbCr . . . . . . . . . . . . . . . . . . . . . . . .   9
       3.5.2.  JPEG2000-RCT  . . . . . . . . . . . . . . . . . . . .  10
     3.6.  Coding of the sample difference . . . . . . . . . . . . .  11
       3.6.1.  Range coding mode . . . . . . . . . . . . . . . . . .  11
       3.6.2.  Huffman coding mode . . . . . . . . . . . . . . . . .  15
   4.  Bitstream . . . . . . . . . . . . . . . . . . . . . . . . . .  17
     4.1.  Configuration Record  . . . . . . . . . . . . . . . . . .  18
       4.1.1.  reserved_for_future_use . . . . . . . . . . . . . . .  19
       4.1.2.  configuration_record_crc_parity . . . . . . . . . . .  19
       4.1.3.  Mapping FFV1 into Containers  . . . . . . . . . . . .  19
     4.2.  Frame . . . . . . . . . . . . . . . . . . . . . . . . . .  20
     4.3.  Slice . . . . . . . . . . . . . . . . . . . . . . . . . .  20
     4.4.  Slice Header  . . . . . . . . . . . . . . . . . . . . . .  21
       4.4.1.  slice_x . . . . . . . . . . . . . . . . . . . . . . .  21
       4.4.2.  slice_y . . . . . . . . . . . . . . . . . . . . . . .  21
       4.4.3.  slice_width . . . . . . . . . . . . . . . . . . . . .  21
Show full document text