"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "srcs/api-java/java/com/nokia/heif/example/HEIFExample.java" between
heif-3.6.1.tar.gz and heif-3.6.2.tar.gz

About: HEIF (High Efficiency Image File Format) is a visual media container format for images and image sequences (MPEG-standard). This HEIF engine demonstrates its powerful features and capabilities (under Nokia HEIF license).

HEIFExample.java  (heif-3.6.1):HEIFExample.java  (heif-3.6.2)
/* /*
* This file is part of Nokia HEIF library * This file is part of Nokia HEIF library
* *
* Copyright (c) 2015-2019 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved. * Copyright (c) 2015-2021 Nokia Corporation and/or its subsidiary(-ies). All ri ghts reserved.
* *
* Contact: heif@nokia.com * Contact: heif@nokia.com
* *
* This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its subsidiaries. All rights are reserved. * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its subsidiaries. All rights are reserved.
* Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior written consent of Nokia. * Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior written consent of Nokia.
* *
* *
*/ */
package com.nokia.heif.example; package com.nokia.heif.example;
skipping to change at line 111 skipping to change at line 111
} }
static void createImageSequence() static void createImageSequence()
{ {
String outputFolderPath = "/heic_output/"; String outputFolderPath = "/heic_output/";
File outputFolder = new File(outputFolderPath); File outputFolder = new File(outputFolderPath);
if (!outputFolder.exists()) { if (!outputFolder.exists()) {
outputFolder.mkdir(); outputFolder.mkdir();
} }
String filename = new String(outputFolderPath + "/imageSeq.heic"); String filename = outputFolderPath + "/imageSeq.heic";
// These should contain the encoded image data and the corresponding dec oder config data // These should contain the encoded image data and the corresponding dec oder config data
int width = 640; int width = 640;
int height = 480; int height = 480;
// Sizes are just placeholders // Sizes are just placeholders
byte[] decoderConfigData = new byte[1024]; // fake data byte[] decoderConfigData = new byte[1024]; // fake data
byte[] imageData = new byte[50000]; // fake data byte[] imageData = new byte[50000]; // fake data
// !!!! this is fake data - initiate list of fake image sequence sample data, normally you would get this from video encoder. // !!!! this is fake data - initiate list of fake image sequence sample data, normally you would get this from video encoder.
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)