Abstract

This document specifies a coded codestream format for storage of light field modalities as well as associated metadata descriptors that are light field modality specific. This document also provides information on the encoding tools.

Status
Not Published
Current Stage
6000 - International Standard under publication - 60 Publication
Start Date
19-Sep-2026

Buy Documents

Draft

ISO/IEC FDIS 21794-2 - Information technology — Plenoptic image coding system (JPEG Pleno) — Part 2: Light field coding

Release Date:10-Jul-2026
English language (139 pages)
sale 15% off
sale 15% off
Draft

REDLINE ISO/IEC FDIS 21794-2 - Information technology — Plenoptic image coding system (JPEG Pleno) — Part 2: Light field coding

Release Date:10-Jul-2026
English language (139 pages)
sale 15% off
sale 15% off

ISO/IEC 21794-2 is an ISO/IEC standard in the JPEG Pleno series for light field coding. It specifies a coded codestream format for storing light field modalities, light-field-specific metadata descriptors, and the encoding tools used to build that codestream.

The document is written for people implementing light field encoders, decoders, storage formats, and interoperability workflows. In practice, it tells you how a JPEG Pleno light field file is organized, how views are coded, and how the decoder reconstructs the stored light field.

What does ISO/IEC 21794-2 specify?

ISO/IEC 21794-2 specifies how to store and decode light field data in JPEG Pleno form. The document covers a codestream format, metadata descriptors specific to light field modalities, and the tools used for encoding.

The document is organized into general clauses and normative annexes. Clause 6 gives the decoding overview and the encoder and decoder requirements, while Clause 7 explains how the annexes fit together.

AnnexWhat it covers
Annex AJPEG Pleno Light Field superbox and its metadata structure
Annex B4D transform mode
Annex CJPEG Pleno light field reference view decoding
Annex DJPEG Pleno light field normalized disparity view decoding
Annex EJPEG Pleno Light Field Intermediate View superbox and intermediate view decoding
Annex FSlanted 4D transform mode
Annex GProfiles and Levels for JPEG Pleno Light Field Coding System

What are the key requirements of ISO/IEC 21794-2?

File structure and conformance

ISO/IEC 21794-2 ties conformance to the codestream syntax and file format syntax defined in the relevant annexes. Clause 6.2 says an encoder shall conform to the syntax for the encoding process it implements, and Clause 6.3 says a decoder shall reconstruct coded light field data from any conforming codestream or file-format parts it is intended to support.

Annex A defines the JPEG Pleno Light Field superbox as the container for compressed light field data and associated metadata. For a conforming JPL file, the boxes identified as required must be present, so file-level interoperability depends on using the box structure exactly as defined.

Reference views and normalized disparity views

Annex C and Annex D use an external codec path for stored views. Reference views are encoded with TCODEC, and normalized disparity views are encoded with DCODEC, with the codec header separated from the remaining codestream and placed in a Common Codestream Elements box.

This matters because a decoder must rebuild the original codec input before decoding the view data. The standard also defines a shared row-wise scan order and pointer fields such as TPEC and DPEC so the decoder can find each stripped codestream inside the Contiguous Codestream box.

For normalized disparity views, Annex D adds quantization and optional level shifting. In practice, that means disparity is stored in a compact coded form, but the decoder must undo the level shift and dequantization before the disparity can be used for prediction.

Intermediate view prediction and reconstruction

Annex E defines how intermediate views are reconstructed from reference views and normalized disparity views. The decoder warps the reference views, merges the warped data, inpaints uncovered pixels, and can apply sparse filtering when SF is enabled.

This is the core of the view-based coding path. It means the encoder and decoder must agree on the reference-view set, the normalized disparity-view set, the view order, and the selected merging mode so that the same intermediate image is rebuilt at both ends.

Annex E defines three merging modes through MMODE:

  • least-squares merging
  • fixed-weight merging
  • median merging

Residual view data can then be decoded and added back to the predicted intermediate view. In practice, this allows the standard to correct prediction errors instead of relying only on warping and merging.

4D transform mode and Slanted 4D transform mode

Annex B defines the 4D transform mode. It uses 4D block partitioning, forward 4D-DCT, quantization, and 4D bit-plane hexadeca-tree coding with arithmetic encoding.

Annex F extends that architecture with the Slanted 4D transform mode. It applies a geometric transformation before the conventional 4D-DCT stage so that EPI slopes are better aligned with the transform dimensions. That helps coding efficiency for light fields with wider baselines, where the plain 4D transform mode is less effective.

Profiles and levels

Annex G defines three profiles for JPEG Pleno Light Field coding: baseline block-based, baseline view-based, and slanted block-based. It also defines levels for each profile through Ppih and Plev.

This is the part a buyer or integrator usually checks first for interoperability. The profile tells you which coding path the decoder must support, and the level constrains the scale and complexity of the coded light field that can be signalled.

What terms does ISO/IEC 21794-2 define?

  • Arithmetic coder - An entropy coder that converts variable-length strings to variable-length codes and back again during decoding.
  • Bit-plane - A two-dimensional array of bits used in transform coding and bit-plane processing.
  • Disparity view - An image that represents the apparent pixel shift between two subaperture views along a horizontal or vertical axis.
  • Hexadeca-tree - A division of a 4D region into 16 subregions for hierarchical block decomposition.
  • Intermediate view (IV) - A subaperture view generated from surrounding reference view(s).
  • Reference view (RV) - A subaperture view used as one of the references to generate intermediate views.
  • Subaperture view - An image taken of a 3D scene by a pinhole camera at a particular viewpoint and viewing angle.

Who uses ISO/IEC 21794-2?

ISO/IEC 21794-2 is used by engineers who build light field encoders and decoders, especially when the implementation needs JPEG Pleno interoperability. It is also relevant to system integrators and vendors working with storage, exchange, visualization, and metadata handling for plenoptic imaging.

In practice, the standard is used by:

  • codec developers choosing between 4D transform, 4D prediction, and Slanted 4D transform modes
  • camera and capture system engineers mapping subaperture views and camera parameters
  • storage and packaging teams building JPL files and their metadata boxes
  • QA and interoperability teams checking that a file can be decoded by conforming implementations
  • buyers and technical reviewers comparing profiles and levels before selecting a coding path

What changed in ISO/IEC 21794-2 from the previous edition?

ISO/IEC 21794-2 is the second edition and it cancels and replaces ISO/IEC 21794-2:2021. It also incorporates ISO/IEC 21794-2:2021/Amd 1:2021.

The main change stated in the document is the addition of the Slanted 4D transform mode and its associated profile.

Which standards are used with ISO/IEC 21794-2?

StandardWhat it contributes
ISO/IEC 21794-1The JPEG Pleno framework, terminology, and box definitions used by this part
ITU-T Rec. T.800ISO/IEC 15444-1
ITU-T Rec. T.801ISO/IEC 15444-2
ITU-T Rec. T.84ISO/IEC 10918-3

The document also relies on JPEG 2000-style capability signalling when TCODEC, DCODEC, or RCODEC is set to 7. In practice, that means an implementation may need the referenced JPEG 2000 family documents to decode the external codestreams used inside the JPEG Pleno file structure.

What does the ISO/IEC 21794-2 document contain?

ISO/IEC 21794-2 contains a technical file structure, coding tools, and decoding procedures rather than a single algorithm. Annex A gives the superbox layout and camera-parameter content, including tables and formulas for describing camera geometry and the signal fields used in the file.

Annex B and Annex F contain the transform-based coding paths, with procedures for block partitioning, transform application, bit-plane coding, trimming, padding, and codestream parsing. Annex C, Annex D, and Annex E contain the view-based coding paths, including the view sets, warping steps, merging methods, inpainting, residual handling, and the header-stripping and reconstruction steps for external codestreams.

The document also includes figures for decoder architecture, view hierarchy, EPI behavior, and block partition trees. Annex G contains the profile-and-level tables used to state what a conforming codestream belongs to and how large or complex the coded light field may be.

Relations

Effective Date
08-Feb-2025
Effective Date
08-Feb-2025

Buy Documents

Draft

ISO/IEC FDIS 21794-2 - Information technology — Plenoptic image coding system (JPEG Pleno) — Part 2: Light field coding

Release Date:10-Jul-2026
English language (139 pages)
sale 15% off
sale 15% off
Draft

REDLINE ISO/IEC FDIS 21794-2 - Information technology — Plenoptic image coding system (JPEG Pleno) — Part 2: Light field coding

Release Date:10-Jul-2026
English language (139 pages)
sale 15% off
sale 15% off

Get Certified

Connect with accredited certification bodies for this standard

BSI Group

BSI (British Standards Institution) is the business standards company that helps organizations make excellence a habit.

UKAS United Kingdom Verified

NYCE

Mexican standards and certification body.

EMA Mexico Verified

Sponsored listings

Frequently Asked Questions

ISO/IEC 21794-2 is a draft published by the International Organization for Standardization (ISO). Its full title is "Information technology — Plenoptic image coding system (JPEG Pleno) — Part 2: Light field coding". This standard covers: This document specifies a coded codestream format for storage of light field modalities as well as associated metadata descriptors that are light field modality specific. This document also provides information on the encoding tools.

This document specifies a coded codestream format for storage of light field modalities as well as associated metadata descriptors that are light field modality specific. This document also provides information on the encoding tools.

ISO/IEC 21794-2 is classified under the following ICS (International Classification for Standards) categories: 35.040.30 - Coding of graphical and photographical information. The ICS classification helps identify the subject area and facilitates finding related standards.

ISO/IEC 21794-2 has the following relationships with other standards: It is inter standard links to ISO/IEC 21794-2:2021/Amd 1:2021, ISO/IEC 21794-2:2021. Understanding these relationships helps ensure you are using the most current and applicable version of the standard.

ISO/IEC 21794-2 is available in PDF format for immediate download after purchase. The document can be added to your cart and obtained through the secure checkout process. Digital delivery ensures instant access to the complete standard document.

Standards Content (Sample)

Contents

  • Introduction
  • 1 Scope
  • 2 Normative references
  • 3 Terms and definitions
  • 3.1 arithmetic coder
  • 3.2 bit-plane
  • 3.3 4D bit-plane
  • 3.4 coefficient
  • 3.5 compression
  • 3.6 depth
  • 3.7 disparity view
  • 3.8 hexadeca-tree
  • 3.9 pixel
  • 3.10 plenoptic function
  • 3.11 reference view
  • 3.12 subaperture view
  • 3.13 texture
  • 3.14 transform
  • 4 Symbols and abbreviated terms
  • 4.1 Symbols
  • 4.2 Abbreviated terms
  • 5 Conventions
  • 5.1 Naming conventions for numerical values
  • 5.2 Operators
  • 6 General
  • 6.1 Functional overview on the decoding process
  • 6.2 Encoder requirements
  • 6.3 Decoder requirements
  • 7 Organization of the document
  • Annex A
  • 0 XCC(t,s) = s × BaselineX + XCC(0,0)
  • 1 The T×S XCC(t,s) entries in Table A.7 are signalled
  • 0 YCC(t,s) = t × BaselineY + YCC(0,0)
  • 1 The T×S YCC(t,s) entries in Table A.7 are signalled
  • 0 ZCC(t,s) = ZCC(0,0) and the remaining (T×S)-1 ZCC entries in Table A.7 are not signalled
  • 1 The T×S ZCC(t,s) entries in Table A.7 are signalled
  • 1 The T×S θ (t,s) entries in Table A.7 are signalled
  • 1 The T×S θ (t,s) entries in Table A.7 are signalled
  • 1 The T×S θ (t,s) entries in Table A.7 are signalled
  • 1 The T×S f(t,s) entries in Table A.7 are signalled
  • 1 The T×S sW(t,s) entries in Table A.7 are signalled
  • 1 The T×S sH(t,s) entries in Table A.7 are signalled
  • 1 The T×S sk(t,s) entries in Table A.7 are signalled
  • 1 The T×S v0(t,s) entries in Table A.7 are signalled
  • Annex B
  • 0 S V
  • Annex C
  • 2 Encode X with TCODEC at the requested rate
  • 3 Repeat step 1 and 2 until all N reference views have been encoded
  • Annex D
  • Annex E
  • 8 Successive bits are packed as a byte. If N is not a multiple of 8, the remaining bits of
  • 1 I I
  • 2 I I
  • 3 I I
  • 1 I I
  • 2 I I
  • 3 I I
  • 4 Repeat step 1 and 2 until all N residual views have been encoded
  • 3 Concatenate RHEADER and RDATA as RENCODINGR  HEADER,RDATA
  • 6 Rt ,.sR
  • Annex F
  • 1 Original 2D EPI of a 4D block
  • 3 Slanted EPI blocks s in (2) after splitting
  • Annex G
  • Bibliography

Introduction

This document is part of a series of standards for a system known as JPEG Pleno. This document defines the JPEG Pleno framework. It facilitates the capture, representation, exchange and visualization of plenoptic imaging modalities. A plenoptic image modality can be a light field, point cloud or hologram, which are sampled representations of the plenoptic function in the form of, respectively, a vector function that represents the radiance of a discretized set of light rays, a collection of points with position and attribute information, or a complex wavefront. The plenoptic function describes the radiance in time and in space obtained by positioning a pinhole camera at every viewpoint in 3D spatial coordinates, every viewing angle and every wavelength, resulting in a 7D function.

JPEG Pleno specifies tools for coding these modalities while providing advanced functionality at system level, such as support for data and metadata manipulation, editing, random access and interaction, protection of privacy and ownership rights.

FINAL DRAFT International Standard ISO/IEC FDIS 21794-2:2026(en) Information technology — Plenoptic image coding system (JPEG Pleno) — Part 2:

Light field coding

1 Scope

This document specifies a coded codestream format for storage of light field modalities as well as associated metadata descriptors that are light field modality specific. This document also provides information on the encoding tools.

This document specifies two coding modes: the 4D transform mode and the 4D prediction mode. The 4D prediction mode is efficient for light fields of all baselines but depends on the availability of accurate depth information. The 4D transform mode, although not relying on any sort of depth information, is only efficient for coding narrow baseline light fields. The Slanted 4D transform mode, based on 4D transformations, is efficient for light fields with both narrow and wide baselines and does not rely on the availability of depth information.

2 Normative references

The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ITU-T Rec. T.800 | ISO/IEC 15444 1, Information technology — JPEG 2000 image coding system — Part 1: Core coding system ITU-T Rec. T.801 | ISO/IEC 15444 2, Information technology — JPEG 2000 image coding system — Part 2:

Extensions ISO/IEC 21794-1:2020, Information technology — Plenoptic image coding system (JPEG Pleno) — Part 1:

Framework ITU-T Rec. T.84 | ISO/IEC 10918-3, Information technology — Digital compression and coding of continuoustone still images: Extensions

3 Terms and definitions

For the purposes of this document the terms and definitions given in ISO/IEC 21794-1 and the following apply.

ISO and IEC maintain terminology databases for use in standardization at the following addresses:

  • ISO Online browsing platform: available at https:// www .iso .org/ obp
  • IEC Electropedia: available at https:// www .electropedia .org/

3.1 arithmetic coder

entropy coder that converts variable length strings to variable length codes (encoding) and vice versa (decoding)

ISO/IEC FDIS 21794-2:2026(en)

3.2 bit-plane

two-dimensional array of bits

3.3 4D bit-plane

four-dimensional array of bits

3.4 coefficient

numerical value that is the result of a transformation or linear regression

3.5 compression

reduction in the number of bits used to represent source image data

3.6 depth

distance of a point in 3D space to the camera plane

3.7 disparity view

image that for each pixel of the subaperture view contains the apparent pixel shift between two subaperture views along either horizontal or vertical axis

3.8 hexadeca-tree

division of a 4D region into 16 (sixteen) 4D subregions

3.9 pixel

collection of sample values in the spatial image domain having all the same sample coordinates EXAMPLE A pixel may consist of three samples describing its red, green and blue value.

3.10 plenoptic function

amount of radiance in time and in space by positioning a pinhole camera at every viewpoint in 3D spatial coordinates, every viewing angle and every wavelength, resulting in a 7D representation

3.11 reference view

subaperture view that is used as one of the references to generate the intermediate views

3.12 subaperture view

subaperture image image taken of the 3D scene by a pinhole camera positioned at a particular viewpoint and viewing angle

3.13 texture

pixel attributes EXAMPLE Colour information, opacity, etc.

3.14 transform

transformation mathematical mapping from one signal space to another

ISO/IEC FDIS 21794-2:2026(en)

4 Symbols and abbreviated terms

4.1 Symbols

Codestream_Body() coded image data in the codestream without Codestream_Header() Codestream_Header() codestream header preceding the image data in the codestream DEC

decoded normalized disparity value at view ts, for pixel location vu, Dt,,sv,u  

Dt,,sv,u normalized disparity value at view ts, for pixel location vu,

pointer to contiguous codestream for normalized disparity view k DPEC k scaling parameter to translate quantized normalized disparity maps to positive D shift range DCODEC disparity view codec type f focal length fixed-weight merging parameter for view p FPW p Ht,s view hierarchy value for view ts,

HCCt,s horizontal camera centre coordinate for view ts,

Ht,s binary value defining the availability of a normalized disparity view ts,

D Lagrangian encoding cost J

Lagrangian encoding cost of spatial partitioning J

J Lagrangian encoding cost of view partitioning

sparse filter regressor mask of texture component c for view p KR pc, LightField() JPEG Pleno light field codestream quantized least-squares merging weight of texture component c for view p , pc, LSW j jN12,, , LS p absolute value of the minimum value over all quantized normalized disparity MIDV views view merging mode for intermediate view p MMODE p sparse filter order for view p MSP p number of least-squares merging coefficients for intermediate view p NLS p regressor template size parameter for sparse filter for view p NRT p NC number of components in an image N number of intermediate views I number of reference normalized disparity views N NDV

ISO/IEC FDIS 21794-2:2026(en) D number of normalized disparity reference views for intermediate view p N p T number of texture reference views for intermediate view p N p number of reference views N REF N number of prediction residual views RES N total available number of regressors for sparse filter sp Plev level a particular codestream complies to Ppih profile a particular codestream complies to 2D image of dimensions VU× , defines the occlusion state-based segmentation at Q p Intermediate view p Q normalized disparity quantization parameter R rate or bitrate, expressed in bit per sample RCODEC prediction residual view codec type array of bytes containing for a single prediction residual view the RCODEC code- RDATA stream after header information has been stripped array of bytes containing for a single prediction residual view the full DCODEC RENCODING codestream RGB colour data for the red, green and blue colour component of a pixel array of bytes containing for a single prediction residual view the header infor- RHEADER mation from the RCODEC codestream pointer to contiguous codestream for prediction residual view j RPEC j s coordinate of the addressed subaperture image along the s-axis S size of the light field image along the s-axis (COLUMNS) T subscript of the column index of the reference view, ii12,, ,N in the light field Tr p s

array in row-wise scanning order subscript of the column index of the reference normalized disparity view, Dr s D jj jj12,, ,N in the light field array in row-wise scanning order p binary variable, determines if sparse filter is used (true) or not (false) SF p quantized sparse filter coefficients of texture component c for view p , p,0 SPW j jM12,, , SP p de-quantized sparse filter coefficients of texture component c for view p , pc,

SPW j jM12,, , SP p t coordinate of the addressed subaperture image along the t-axis T size of the light field image along the t-axis (ROWS)

ISO/IEC FDIS 21794-2:2026(en) T subscript of the row index of the reference view, ii12,, ,N in the light field Tr p t

array in row-wise scanning order subscript of the row index of the reference normalized disparity view, Dr t D jj jj12,, ,N in the light field array in row-wise scanning order p D D view coordinate subscripts for normalized disparity view k ts,

k k X X view coordinate subscripts for reference view l ts,

l l I I view coordinate subscripts for intermediate view p ts,

p p 4D block dimensions at the 4D block partitioning stage ts××vu× kk kk ts××vu× 4D block dimensions at the bit-plane hexadeca-tree decomposition stage bb bb TCODEC reference view codec type array of bytes, containing for a single reference view, the TCODEC codestream, TDATA after header information has been stripped TENCODING array of bytes, containing for a single reference view the full TCODEC codestream array of bytes, containing for a single reference view the header information from THEADER the TCODEC codestream pointer to contiguous codestream for reference view l TPEC

u sample coordinate along the u-axis within the addressed subaperture image U size of the subaperture image along the u-axis (WIDTH) v sample coordinate along the v-axis within the addressed subaperture image V size of the subaperture image along the v-axis (HEIGHT) VCCt,s vertical camera centre coordinate for view ts,

view prediction parameters for intermediate view p VPP p Xt,,sv,,uc texture value at view ts, for pixel location vu, for texture component c

decoded texture value at view ts, for pixel location vu, for texture compo-

DEC Xt,,sv,,uc

nent c ts,

result of warping the texture view ts, to view location ts,

Xt ,s

11 22 W 22 ∆x horizontal distance between a pair of camera centres ∆y vertical distance between a pair of camera centres colour data for the luminance, the blue chrominance and the red chrominance YCbCr component of a pixel zt,,sv,u depth value at view ts, for pixel location vu,

T distance based merging weight for reference view iN1,, at intermediate p p ˆ θ

view p

ISO/IEC FDIS 21794-2:2026(en) distance based factor, used for defining the merging weight, at intermediate view p α T

p for reference view iN1,, p binary matrix, defining the locations of the non-zero merging weights in merging weight matrix Θ at intermediate view p . It is identical between all colour Γ pc, p components c de-quantized least-squares merging weight of texture component c for view p , pc, θ j jN12,, , LS p sp sparse filter coefficients at intermediate view p for colour component c θ pc, merging weight matrix for intermediate view p for colour component c Θ pc, Υ locations of the non-zero elements of  pc, vu,

 regressor template at pixel location vu,

vu,

Dr set of reference normalized disparity views for intermediate view p Ω p set of occluded pixels, which remain to be inpainted, during normalized disparity occlD Ω p view synthesis at intermediate view p set of occluded pixels, which remain to be inpainted, during texture view syntheocclT Ω p sis at intermediate view p Tr set of reference views for intermediate view p Ω p

4.2 Abbreviated terms

2D two dimensional 3D three dimensional 4D four dimensional DCT discrete cosine transform EPI Epipolar Plane Image floating point floating point notation HTTP hypertext transfer protocol IDCT inverse DCT IPR intellectual property rights IV Intermediate view; subaperture view that is generated from surrounding reference view(s) JPEG Joint Photographic Experts Group JPL JPEG Pleno file format LSB least significant bit MSB most significant bit R-D rate-distortion

ISO/IEC FDIS 21794-2:2026(en) RV reference view URL uniform resource locator XML eXtensible Markup Language

5 Conventions

5.1 Naming conventions for numerical values

Integer numbers are expressed as bit patterns, hexadecimal values or decimal numbers. Bit patterns and hexadecimal values have both a numerical value and an associated particular length in bits. Hexadecimal notation, indicated by prefixing the hexadecimal number by "0x", may be used instead of binary notation to denote a bit pattern having a length that is an integer multiple of 4. For example, 0x41 represents an eight-bit pattern having only its second most significant bit and its least significant bit equal to 1. Numerical values that are specified under a "Code" heading in tables that are referred to as "code tables" are bit pattern values (specified as a string of digits equal to 0 or 1 in which the left-most bit is considered the most-significant bit). Other numerical values not prefixed by "0x" are decimal values. When used in expressions, a hexadecimal value is interpreted as having a value equal to the value of the corresponding bit pattern evaluated as a binary representation of an unsigned integer (i.e. as the value of the number formed by prefixing the bit pattern with a sign bit equal to 0 and interpreting the result as a two's complement representation of an integer value). For example, the hexadecimal value 0xF is equivalent to the 4-bit pattern '1111' and is interpreted in expressions as being equal to the decimal number 15.

5.2 Operators

NOTE Many of the operators used in document are similar to those used in the C programming language.

5.2.1 Arithmetic operators

+ addition − subtraction (as a binary operator) or negation (as a unary prefix operator) × multiplication / division without truncation or rounding s << left shift; x<<s is defined as x×2 s >> right shift; x>>s is defined as ⎿x/2 ⏌ ++ increment with 1 -- decrement with 1 umod x umod a is the unique value y between 0 and a–1 for which y+Na = x with a suitable integer N & bitwise AND operator; compares each bit of the first operand to the corresponding bit of the second operand If both bits are 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0.

ISO/IEC FDIS 21794-2:2026(en) ^ bitwise XOR operator; compares each bit of the first operand to the corresponding bit of the second operand If both bits are equal, the corresponding result bit is set to 0. Otherwise, the corresponding result bit is set to 1.

5.2.2 Logical operators

|| logical OR && logical AND ! logical NOT

5.2.3 Relational operators

> greater than >= greater than or equal to < less than <= less than or equal to == equal to != not equal to

5.2.4 Precedence order of operators

Operators are listed in descending order of precedence. If several operators appear in the same line, they have equal precedence. When several operators of equal precedence appear at the same level in an expression, evaluation proceeds according to the associativity of the operator either from right to left or from left to right.

Operators Type of operation Associativity () expression left to right [] indexing of arrays left to right ++, -- increment, decrement left to right !, – logical not, unary negation ×, / multiplication, division left to right umod modulo (remainder) left to right +, − addition and subtraction left to right & bitwise AND left to right ^ bitwise XOR left to right && logical AND left to right || logical OR left to right <<, >> left shift and right shift left to right

ISO/IEC FDIS 21794-2:2026(en) < , >, <=, >= relational left to right

5.2.5 Mathematical functions

|x| absolute value, is –x for x < 0, otherwise x sign(x) sign of x, zero if x is zero, +1 if x is positive, -1 if x is negative clamp(x,min,max) clamps x to the range [min,max]: returns min if x < min, max if x > max or otherwise x ceiling of x; returns the smallest integer that is greater than or equal to x x

floor of x; returns the largest integer that is less than or equal to x x

x rounding of x to the nearest integer, equivalent to sign xx 05. 

6 General

6.1 Functional overview on the decoding process

This document specifies the JPEG Pleno Light Field superbox and the JPEG Pleno light field decoding algorithm. The generic JPEG Pleno Light Field superbox syntax is specified in Annex A. The specified light field decoding algorithm distinguishes three coding modes:

  • 4D transform mode: this mode is specified in Annex B and is based on a 4D inverse discrete cosine transform (IDCT), 4D block partitioning, and 4D bit-plane hexadeca-tree decoding.
  • 4D prediction mode: this mode is based the prediction of intermediate views based on reference views and normalized disparity maps. The signalling syntax and decoding of the reference views is addressed in Annex C, the normalized disparity views in Annex D, and the prediction parameters and residual views in Annex E. The intermediate views are reconstructed in a decoding process that involves view warping, view merging and prediction error correction.
  • Slanted 4D transform mode: this mode is specified in Annex F and is based on changing the EPI slants/ slopes in the 4D blocks by applying a geometric transformation before the conventional 4D-DCT stage of the 4D Transform mode architecture, notably to make the slopes of the lines composing the EPIs as aligned with one of the separable 4D-DCT dimensions as possible. The overall architecture of the three coding modes (Figure 1) provides the flexibility to configure the encoding and decoding system depending on the requirements of the addressed use case.

ISO/IEC FDIS 21794-2:2026(en) Figure 1 — Generic JPEG Pleno light field decoder architecture.

6.2 Encoder requirements

An encoding process converts source light field data to coded light field data. In order to conform with this document, an encoder shall conform with the codestream format syntax and file format syntax specified in the annexes for the encoding process(es) embodied by the encoder.

ISO/IEC FDIS 21794-2:2026(en)

6.3 Decoder requirements

A decoding process converts coded light field data to reconstructed light field data. Annexes A through F describe and specify the decoding process.

A decoder is an embodiment of the decoding process. In order to conform to this document, a decoder shall convert all, or specific parts of, any coded light field data that conform to the file format syntax and codestream syntax specified in Annex A to F to a reconstructed light field.

7 Organization of the document

Annex A specifies the description of the JPEG Pleno Light Field superbox. This document specifies three approaches to represent a compressed representation of light field data: the 4D Transform mode is specified in Annex B, the 4D Prediction mode is specified in Annex C, Annex D and Annex E. Annex C details the signalling of the reference view data, Annex D the signalling of the normalized disparity views and , Annex E the signalling of the prediction parameters to generate the intermediate views and residual view data to compensate for prediction errors, and Annex F specifies the Slanted 4D Transform mode. Annex G defines the profiles and levels of the three coding modes.

ISO/IEC FDIS 21794-2:2026(en)

Annex A

(normative)

JPEG Pleno Light Field superbox A.1 General This annex specifies the use of the JPEG Pleno Light Field superbox which is designed to contain compressed light field data and associated metadata. The listed boxes shall comply with their definitions as specified in ISO/IEC 21794-1.

This document may redefine the binary structure of some boxes defined as part of the ISO/IEC 15444-1 or ISO/IEC 15444-2 file formats. For those boxes, the definition found in this document shall be used for all JPL files.

...

Contents

  • Introduction
  • 1 Scope
  • 2 Normative references
  • 3 Terms and definitions
  • 4 Symbols and abbreviated terms
  • 4.1 Symbols
  • 0 Lagrangian encoding cost
  • 2 Lagrangian encoding cost of view partitioning
  • 4.2 Abbreviated terms
  • 5 Conventions
  • 5.1 Naming conventions for numerical values
  • 5.2 Operators
  • 6 General
  • 6.1 Functional overview on the decoding process
  • 6.2 Encoder requirements
  • 6.3 Decoder requirements
  • 7 Organization of the document
  • Annex A
  • 0 XCC(t,s) = s × BaselineX + XCC(0,0)
  • 1 The T×S XCC(t,s) entries in Table A.7Table A.7 are signalled
  • 0 YCC(t,s) = t × BaselineY + YCC(0,0)
  • 1 The T×S YCC(t,s) entries in Table A.7Table A.7 are signalled
  • 0 ZCC(t,s) = ZCC(0,0) and the remaining (T×S)-1 ZCC entries in Table A.7Table A.7 are not
  • 1 The T×S ZCC(t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S θ (t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S θYcam(t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S θ (t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S f(t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S sW(t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S sH(t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S sk(t,s) entries in Table A.7Table A.7 are signalled
  • 1 The T×S v0(t,s) entries in Table A.7Table A.7 are signalled
  • Annex B
  • 0 S V
  • Annex C
  • 2 Encode 𝑋 with TCODEC 𝑇𝐶𝑂𝐷𝐸𝐶 at the requested rate
  • 3 Repeat step 1 and 2 until all NREF reference views have been encoded
  • Annex D
  • 3 Level-shift by adding the quantity D : 𝐷 : 𝐷 = ⌊𝐷 ⋅ 2 ⌋ + 𝐷
  • 4 Encode D 𝐷 with 𝐷𝐶𝑂𝐷𝐸𝐶 at the requested rate
  • Annex E
  • 8 Successive bits are packed as a byte. If N is not a multiple of 8, the remaining bits of
  • 22 I I T pp I I
  • 3 Encode R 𝑅 with RCODEC 𝑅𝐶𝑂𝐷𝐸𝐶 at the requested rate
  • 4 Repeat step 1 and 2 until all NRES residual views have been encoded
  • Annex F
  • 1 Original 2D EPI of a 4D block
  • 3 Slanted EPI blocks s in (2) after splitting
  • Annex G
  • Bibliography

Introduction

This document is part of a series of standards for a system known as JPEG Pleno. This document defines the JPEG Pleno framework. It facilitates the capture, representation, exchange and visualization of plenoptic imaging modalities. A plenoptic image modality can be a light field, point cloud or hologram, which are sampled representations of the plenoptic function in the form of, respectively, a vector function that represents the radiance of a discretized set of light rays, a collection of points with position and attribute information, or a complex wavefront. The plenoptic function describes the radiance in time and in space obtained by positioning a pinhole camera at every viewpoint in 3D spatial coordinates, every viewing angle and every wavelength, resulting in a 7D function.

JPEG Pleno specifies tools for coding these modalities while providing advanced functionality at system level, such as support for data and metadata manipulation, editing, random access and interaction, protection of privacy and ownership rights.

DRAFT International Standard ISO/IEC DIS 21794-2:2025(en)

Information technology — — Plenoptic image coding system (JPEG Pleno)— ) — Part 2:

Light field coding

1 Scope

This document specifies a coded codestream format for storage of light field modalities as well as associated metadata descriptors that are light field modality specific. This document also provides information on the encoding tools.

This document specifies two coding modes: the 4D transform mode and the 4D prediction mode. The 4D prediction mode is efficient for light fields of all baselines but depends on the availability of accurate depth information. The 4D transform mode, although not relying on any sort of depth information, is only efficient for coding narrow baseline light fields. The Slanted 4D transform mode, based on 4D transformations, is efficient for light fields with both narrow and wide baselines and does not rely on the availability of depth information.

2 Normative references

The following documents are referred to in the text in such a way that some or all of their content constitutes requirements of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ITU-T Rec. T.800 | | ISO/IEC 15444- 1, Information technology — JPEG 2000 image coding system — Part 1:

Core coding system ITU-T Rec. T.801 | | ISO/IEC 15444- 2, Information technology — JPEG 2000 image coding system — Part 2:

Extensions ISO/IEC 21794--1:2020, Information technology — Plenoptic image coding system (JPEG Pleno) — Part 1:

Framework ITU-T Rec. T.84 | ISO/IEC -11810918-3, Information technology –— Digital compression and coding of continuous-tone still images: Extensions

3 Terms and definitions

For the purposes of this document the terms and definitions given in ISO/IEC 21794-1 and the following apply. ISO and IEC maintain terminologicalterminology databases for use in standardization at the following addresses:

  • — ISO Online browsing platform: available at https://www.iso.org/obphttps://www.iso.org/obp
  • — IEC Electropedia: available at http://www.electropedia.org/https://www.electropedia.org/

ISO/IEC FDIS 21794-2:2026(en) 3.1 3.1 arithmetic coder entropy coder that converts variable length strings to variable length codes (encoding) and vice versa (decoding) 3.2 3.2 bit-plane two-dimensional array of bits 3.3 3.3 4D bit-plane four-dimensional array of bits 3.4 3.4 coefficient numerical value that is the result of a transformation or linear regression 3.5 3.5 compression reduction in the number of bits used to represent source image data 3.6 3.6 depth distance of a point in 3D space to the camera plane 3.7 3.7 disparity view image that for each pixel of the subaperture view contains the apparent pixel shift between two subaperture views along either horizontal or vertical axis 3.8 3.8 hexadeca-tree division of a 4D region into 16 (sixteen) 4D subregions 3.9 3.9 pixel collection of sample values in the spatial image domain having all the same sample coordinates EXAMPLE A pixel may consist of three samples describing its red, green and blue value. 3.10 3.10 plenoptic function amount of radiance in time and in space by positioning a pinhole camera at every viewpoint in 3D spatial coordinates, every viewing angle and every wavelength, resulting in a 7D representation 3.11 3.11 reference view subaperture view that is used as one of the references to generate the intermediate views

ISO/IEC DISFDIS 21794-2:20252026(en) 3.12 3.12 subaperture view subaperture image image taken of the 3D scene by a pinhole camera positioned at a particular viewpoint and viewing angle 3.13 3.13 texture pixel attributes EXAMPLE Colour information, opacity, etc.

3.14 3.14 transform transformation mathematical mapping from one signal space to another

4 Symbols and abbreviated terms

4.1 Symbols

Codestream_Body() coded image data in the codestream without Codestream_Header() Codestream_Header() codestream header preceding the image data in the codestream DEC decoded normalized disparity value at view ts,  (𝑡, 𝑠) for pixel location vu,  D t ,s,v,u 𝐷𝐸𝐶 ˜ (𝑣, 𝑢) 𝐷 (𝑡, 𝑠, 𝑣, 𝑢)

Dt ,s,v,u 𝐷(𝑡, 𝑠, 𝑣, 𝑢) normalized disparity value at view ts,  (𝑡, 𝑠) for pixel location vu,  (𝑣, 𝑢) DPEC 𝐷𝑃𝐸𝐶 𝑘 pointer to contiguous codestream for normalized disparity view k 𝑘 k scaling parameter to translate quantized normalized disparity maps to positive D 𝐷 shift 𝑠ℎ𝑖𝑓𝑡 range DCODEC disparity view codec type f focal length FPW 𝐹𝑃𝑊 𝑝 fixed-weight merging parameter for view p 𝑝 p Ht ,s 𝐻(𝑡, 𝑠) view hierarchy value for view ts,  (𝑡, 𝑠) HCC t ,s 𝐻𝐶𝐶(𝑡, 𝑠) horizontal camera centre coordinate for view ts, (𝑡, 𝑠)

H t ,s 𝐻 (𝑡, 𝑠) binary value defining the availability of a normalized disparity view ts,  (𝑡, 𝑠) D 𝐷 J 𝐽

0 Lagrangian encoding cost

J 𝐽 Lagrangian encoding cost of spatial partitioning 1 1 J 𝐽

2 Lagrangian encoding cost of view partitioning

KR 𝐾𝑅 sparse filter regressor mask of texture component 𝑐 for view p 𝑝 pc, 𝑝,𝑐 c LightField() JPEG Pleno light field codestream quantized least-squares merging weight of texture component 𝑐 for view p ,

𝑝,𝑐 pc, LSW 𝐿𝑆𝑊 j 𝑗 j1,2, ,NLS 𝑝, 𝑗 = 1,2, … , 𝑁𝐿𝑆 p 𝑝

ISO/IEC FDIS 21794-2:2026(en) absolute value of the minimum value over all quantized normalized disparity MIDV views MMODE 𝑀𝑀𝑂𝐷𝐸 view merging mode for intermediate view p 𝑝 p 𝑝 MSP 𝑀𝑆𝑃 sparse filter order for view p 𝑝 p 𝑝 NLS 𝑁𝐿𝑆 number of least-squares merging coefficients for intermediate view p 𝑝 p 𝑝 NRT 𝑁𝑅𝑇 regressor template size parameter for sparse filter for view p 𝑝 p 𝑝 NC number of components in an image N 𝑁 𝐼 number of intermediate views I N 𝑁 number of reference normalized disparity views NDV 𝑁𝐷𝑉 D 𝐷 N 𝑁 number of normalized disparity reference views for intermediate view p 𝑝 p 𝑝 T 𝑇 N 𝑁 number of texture reference views for intermediate view p 𝑝 p 𝑝 N 𝑁 number of reference views REF 𝑅𝐸𝐹 N 𝑁 𝑅𝐸𝑆 number of prediction residual views RES N 𝑁 sp 𝑠𝑝 total available number of regressors for sparse filter Plev level a particular codestream complies to Ppih profile a particular codestream complies to 2D image of dimensions VU ,𝑉 × 𝑈, defines the occlusion state-based Q 𝑄 p 𝑝 segmentation at Intermediate view p 𝑝 Q normalized disparity quantization parameter R rate or bitrate, expressed in bit per sample RCODEC prediction residual view codec type array of bytes containing for a single prediction residual view the RCODEC RDATA codestream after header information has been stripped array of bytes containing for a single prediction residual view the full DCODEC RENCODING codestream RGB colour data for the red, green and blue colour component of a pixel array of bytes containing for a single prediction residual view the header RHEADER information from the RCODEC codestream RPEC 𝑅𝑃𝐸𝐶 pointer to contiguous codestream for prediction residual view j 𝑗 j 𝑗 𝑠 s coordinate of the addressed subaperture image along the s-axis S 𝑆 size of the light field image along the s-axis (COLUMNS) T 𝑇 subscript of the column index of the reference view, ii1,2, ,N 𝑖𝑖 = 1,2, … , 𝑁 in 𝑝 Tr p 𝑇𝑟 s 𝑠 ii 𝑖𝑖 the light field array in row-wise scanning order

ISO/IEC DISFDIS 21794-2:20252026(en) subscript of the column index of the reference normalized disparity view, 𝐷𝑟 Dr 𝑠 s 𝑗𝑗 D 𝐷 jj jj1,2, ,N 𝑗𝑗 = 1,2, … , 𝑁 in the light field array in row-wise scanning order p 𝑝 SF 𝑆𝐹 p 𝑝 binary variable, determines if sparse filter is used (true) or not (false) quantized sparse filter coefficients of texture component 𝑐 for view p ,

p ,0 𝑝,0 SPW 𝑆𝑃𝑊 j 𝑗 𝑝, 𝑗 = 1,2, … , 𝑀𝑆𝑃 j1,2, ,MSP 𝑝 p de-quantized sparse filter coefficients of texture component c 𝑐 for view p , pc, 𝑝,𝑐

SPW 𝑆𝑃𝑊 j 𝑗 j1,2, ,MSP 𝑝, 𝑗 = 1,2, … , 𝑀𝑆𝑃 𝑝 p t coordinate of the addressed subaperture image along the t-axis T size of the light field image along the t-axis (ROWS) T 𝑇 subscript of the row index of the reference view, 𝑖𝑖 = 1,2, … , 𝑁 in the ii1,2, ,N p 𝑝 Tr 𝑇𝑟 t 𝑡 ii 𝑖𝑖 light field array in row-wise scanning order subscript of the row index of the reference normalized disparity view, 𝐷𝑟 Dr 𝑡 t 𝑗𝑗 D 𝐷 jj jj1,2, ,N 𝑗𝑗 = 1,2, … , 𝑁 in the light field array in row-wise scanning order p 𝑝 DD 𝐷 𝐷 ts, (𝑡 , 𝑠 )   view coordinate subscripts for normalized disparity view k 𝑘 kk 𝑘 𝑘 XX 𝑋 𝑋 ts, (𝑡 , 𝑠 )   view coordinate subscripts for reference view l 𝑙 ll 𝑙 𝑙 II 𝐼 𝐼 ts, (𝑡 , 𝑠 ) view coordinate subscripts for intermediate view p 𝑝

pp 𝑝 𝑝 t  s v u 𝑡 × 𝑠 × k k k k 𝑘 𝑘 4D block dimensions at the 4D block partitioning stage 𝑣 × 𝑢 𝑘 𝑘 t  s v u 𝑡 × 𝑠 × b b b b 𝑏 𝑏 4D block dimensions at the bit-plane hexadeca-tree decomposition stage 𝑣 × 𝑢 𝑏 𝑏 TCODEC reference view codec type array of bytes, containing for a single reference view, the TCODEC codestream, TDATA after header information has been stripped TENCODING array of bytes, containing for a single reference view the full TCODEC codestream array of bytes, containing for a single reference view the header information from THEADER the TCODEC codestream TPEC 𝑇𝑃𝐸𝐶 pointer to contiguous codestream for reference view 𝑙 𝑙 l

u sample coordinate along the u-axis within the addressed subaperture image U size of the subaperture image along the u-axis (WIDTH) v sample coordinate along the v-axis within the addressed subaperture image V size of the subaperture image along the v-axis (HEIGHT) VCCt ,s 𝑉𝐶𝐶(𝑡, 𝑠) vertical camera centre coordinate for view ts,  (𝑡, 𝑠) VPP 𝑉𝑃𝑃 view prediction parameters for intermediate view 𝑝 𝑝 p p texture value at view ts,  (𝑡, 𝑠) for pixel location vu,  (𝑣, 𝑢) for texture Xt ,s,v,u,c 𝑋(𝑡, 𝑠, 𝑣, 𝑢, 𝑐) component c 𝑐

ISO/IEC FDIS 21794-2:2026(en) DEC decoded texture value at view ts,  (𝑡, 𝑠) for pixel location vu,  (𝑣, 𝑢) for texture X t ,s,v,u,c 𝐷𝐸𝐶 component 𝑐

𝑋 (𝑡, 𝑠, 𝑣, 𝑢, 𝑐) ts, 

X t ,s

W result of warping the texture view ts,  (𝑡 , 𝑠 ) to view location ts,  (𝑡 , 𝑠 ) 1 1 2 2 11 22 (𝑡 ,𝑠 ) 1 1 𝑋 (𝑡 , 𝑠 ) 2 2 𝑊 𝛥𝑥 horizontal distance between a pair of camera centres x 𝛥𝑦 y vertical distance between a pair of camera centres colour data for the luminance, the blue chrominance and the red chrominance YCbCr component of a pixel zt ,s,v,u 𝑧(𝑡, 𝑠, 𝑣, 𝑢) depth value at view ts,  (𝑡, 𝑠) for pixel location vu,  (𝑣, 𝑢) T 𝑇 distance based merging weight for reference view iN1, , 𝑖 = 1, … , 𝑁 at 𝑝 p p 𝑝 ˆ ^  𝜃 i 𝑖 intermediate view p 𝑝 distance based factor, used for defining the merging weight, at intermediate view 𝑝 p  𝛼 T 𝑇 i 𝑖 p 𝑝 for reference view iN1, , 𝑖 = 1, … , 𝑁 p 𝑝 binary matrix, defining the locations of the non-zero merging weights in merging  𝛤 weight matrix  𝛩 at intermediate view p .𝑝. It is identical between all colour 𝑝 𝑝,𝑐 p pc, components 𝑐

de-quantized least-squares merging weight of texture component 𝑐 for view , c p pc, 𝑝,𝑐  𝜃 j 𝑗 j1,2, ,NLS 𝑝, 𝑗 = 1,2, … , 𝑁𝐿𝑆 𝑝 p 𝑠𝑝 sp  𝜃 sparse filter coefficients at intermediate view p 𝑝 for colour component c 𝑐 pc, 𝑝,𝑐  𝛩 𝑝,𝑐 merging weight matrix for intermediate view p 𝑝 for colour component c 𝑐 pc,  𝛶 locations of the non-zero elements of  𝛹 pc, 𝑝,𝑐 vu,  (𝑣,𝑢)  𝛹 regressor template at pixel location vu,  (𝑣, 𝑢) vu,  (𝑣,𝑢) Dr 𝐷𝑟  𝛺 set of reference normalized disparity views for intermediate view p 𝑝 p 𝑝 set of occluded pixels, which remain to be inpainted, during normalized disparity occlD 𝑜𝑐𝑐𝑙𝐷 𝛺

𝑝 p view synthesis at intermediate view 𝑝 p set of occluded pixels, which remain to be inpainted, during texture view synthesis occlT 𝑜𝑐𝑐𝑙𝑇 𝛺

𝑝 p at intermediate view p 𝑝 Tr 𝑇𝑟  𝛺 set of reference views for intermediate view p 𝑝 p 𝑝

4.2 Abbreviated terms

2D two dimensional 3D three dimensional 4D four dimensional

ISO/IEC DISFDIS 21794-2:20252026(en) DCT discrete cosine transform EPI Epipolar Plane Image floating point floating point notation HTTP hypertext transfer protocol IDCT inverse DCT IPR intellectual property rights IV Intermediate view; subaperture view that is generated from surrounding reference view(s) JPEG Joint Photographic Experts Group JPL JPEG Pleno file format LSB least significant bit MSB most significant bit R-D rate-distortion RV reference view URL uniform resource locator XML eXtensible Markup Language

5 Conventions

5.1 Naming conventions for numerical values

Integer numbers are expressed as bit patterns, hexadecimal values or decimal numbers. Bit patterns and hexadecimal values have both a numerical value and an associated particular length in bits. Hexadecimal notation, indicated by prefixing the hexadecimal number by "0x", may be used instead of binary notation to denote a bit pattern having a length that is an integer multiple of 4. For example, 0x41 represents an eight-bit pattern having only its second most significant bit and its least significant bit equal to 1. Numerical values that are specified under a "Code" heading in tables that are referred to as "code tables" are bit pattern values (specified as a string of digits equal to 0 or 1 in which the left-most bit is considered the most-significant bit). Other numerical values not prefixed by "0x" are decimal values. When used in expressions, a hexadecimal value is interpreted as having a value equal to the value of the corresponding bit pattern evaluated as a binary representation of an unsigned integer (i.e. as the value of the number formed by prefixing the bit pattern with a sign bit equal to 0 and interpreting the result as a two's complement representation of an integer value). For example, the hexadecimal value 0xF is equivalent to the 4-bit pattern '1111' and is interpreted in expressions as being equal to the decimal number 15.

5.2 Operators

NOTE Many of the operators used in document are similar to those used in the C programming language.

5.2.1 Arithmetic operators

+ addition − subtraction (as a binary operator) or negation (as a unary prefix operator) × multiplication / division without truncation or rounding

ISO/IEC FDIS 21794-2:2026(en) s << left shift; x<<s is defined as x×2 s >> right shift; x>>s is defined as ⎿x/2 ⏌ ++ increment with 1 -- decrement with 1 umod x umod a is the unique value y between 0 and a–1 for which y+Na = x with a suitable integer N & bitwise AND operator; compares each bit of the first operand to the corresponding bit of the second operand If both bits are 1, the corresponding result bit is set to 1. Otherwise, the corresponding result bit is set to 0.

^ bitwise XOR operator; compares each bit of the first operand to the corresponding bit of the second operand If both bits are equal, the corresponding result bit is set to 0. Otherwise, the corresponding result bit is set to 1.

5.2.2 Logical operators

|| logical OR && logical AND ! logical NOT

5.2.3 Relational operators

> greater than >= greater than or equal to < less than <= less than or equal to == equal to != not equal to

5.2.4 Precedence order of operators

Operators are listed in descending order of precedence. If several operators appear in the same line, they have equal precedence. When several operators of equal precedence appear at the same level in an expression, evaluation proceeds according to the associativity of the operator either from right to left or from left to right. Operators Type of operation Associativity () expression left to right [] indexing of arrays left to right ++, -- increment, decrement left to right !, – logical not, unary negation

ISO/IEC DISFDIS 21794-2:20252026(en) ×, / multiplication, division left to right umod modulo (remainder) left to right +, − addition and subtraction left to right & bitwise AND left to right ^ bitwise XOR left to right && logical AND left to right || logical OR left to right <<, >> left shift and right shift left to right < , >, <=, >= relational left to right

5.2.5 Mathematical functions

|x| absolute value, is –x for x < 0, otherwise x sign(x) sign of x, zero if x is zero, +1 if x is positive, -1 if x is negative clamp(x,min,max) clamps x to the range [min,max]: returns min if x < min, max if x > max or otherwise x x ⌈x⌉ ceiling of x; returns the smallest integer that is greater than or equal to x

x ⌊𝑥⌋ floor of x; returns the largest integer that is less than or equal to x

x ⌈x⌉ rounding of x to the nearest integer, equivalent to signx x 0.5

𝑠𝑖𝑔𝑛(𝑥) ⌊|𝑥| + 0.5⌋

6 General

6.1 Functional overview on the decoding process

This document specifies the JPEG Pleno Light Field superbox and the JPEG Pleno light field decoding algorithm. The generic JPEG Pleno Light Field superbox syntax is specified in Annex A.Annex A. The specified light field decoding algorithm distinguishes three coding modes:

  • — 4D transform mode: this mode is specified in Annex BAnnex B and is based on a 4D inverse discrete cosine transform (IDCT), 4D block partitioning, and 4D bit-plane hexadeca-tree decoding.
  • — 4D prediction mode: this mode is based the prediction of intermediate views based on reference views and normalized disparity maps. The signalling syntax and decoding of the reference views is addressed in Annex C,Annex C, the normalized disparity views in Annex D,Annex D, and the prediction parameters and residual views in Annex E.Annex E. The intermediate views are reconstructed in a decoding process that involves view warping, view merging and prediction error correction.
  • — Slanted 4D transform mode: this mode is specified in Annex FAnnex F and is based on changing the EPI slants/slopes in the 4D blocks by applying a geometric transformation before the conventional 4D- DCT stage of the 4D Transform mode architecture, notably to make the slopes of the lines composing the EPIs as aligned with one of the separable 4D-DCT dimensions as possible. The overall architecture of the three coding modes (Figure 1)(Figure 1 ) provides the flexibility to configure the encoding and decoding system depending on the requirements of the addressed use case.

ISO/IEC FDIS 21794-2:2026(en)

ISO/IEC DISFDIS 21794-2:20252026(en)

Figure 1 — Generic JPEG Pleno light field decoder architecture.

6.2 Encoder requirements

An encoding process converts source light field data to coded light field data. In order to conform with this document, an encoder shall conform with the codestream format syntax and file format syntax specified in the annexes for the encoding process(es) embodied by the encoder.

ISO/IEC FDIS 21794-2:2026(en)

...