Home
last modified time | relevance | path

Searched full:flac (Results 1 – 25 of 2010) sorted by relevance

12345678910>>...81

/aosp_15_r20/external/flac/
H A DCHANGELOG.md3 This changelog is not exhaustive, review [the git commit log](https://github.com/xiph/flac/commits)…
5 ## FLAC 1.4.3 (23-Jun-2023)
16 * flac
20 …* Decoded file is checked afterwards, to see whether stored foreign format data agrees with FLAC a…
32 …nd and --data-format, which makes it possible to copy metadata blocks from one FLAC file to another
44 * Fuzzers were added for the flac and metaflac command line tools
47 ## FLAC 1.4.2 (22-Oct-2022)
49 Once again, this release only has a few changes. A problem with FLAC playback in GStreamer (and pos…
66 ## FLAC 1.4.1 (22-Sep-2022)
78 ## FLAC 1.4.0 (09-Sep-2022)
[all …]
H A DREADME.md2 /* FLAC - Free Lossless Audio Codec
6 * This file is part the FLAC project. FLAC is comprised of several
12 * COPYING.FDL). Each file in the FLAC distribution contains at the top the
15 * Since this particular file is relevant to all components of FLAC,
22 # Free Lossless Audio Codec (FLAC)
24 FLAC is open source software that can reduce the amount of storage space
28 The files read and produced by this software are called FLAC files. As
29 these files (which follow the [FLAC format](https://xiph.org/flac/format.html))
31 is often referred to as the FLAC reference implementation.
33 FLAC has been developed by volunteers. If you want to help out, see
[all …]
H A DCONTRIBUTING.md1 Thanks for considering contributing to the FLAC project!
3 Contributing to FLAC is possible in many ways. Among them are
5 - Reporting bugs or other issues at https://github.com/xiph/flac/issues
6 - Submitting patches at https://github.com/xiph/flac/pulls
7 - Testing FLAC playing devices and software at
11 the FLAC mailing lists:
14 https://lists.xiph.org/mailman/listinfo/flac
16 https://lists.xiph.org/mailman/listinfo/flac-dev
20 Since FLAC is an open-source project, it's important to have a set of
27 - FLAC should be and stay an open format with an open-source reference
[all …]
H A DCMakeLists.txt11 project(FLAC VERSION 1.4.3) # HOMEPAGE_URL "https://www.xiph.org/flac/") project
216 set_target_properties(FLAC grabbag getopt replaygain_analysis replaygain_synthesis utf8 PROPERTIES …
218 set_target_properties(FLAC++ PROPERTIES FOLDER Libraries)
245 NAMESPACE FLAC::)
246 export(EXPORT targets NAMESPACE FLAC:: FILE FLACTargets.cmake)
249 ${PROJECT_SOURCE_DIR}/flac-config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/flac-config.cmake
252 ${CMAKE_CURRENT_BINARY_DIR}/flac-config-version.cmake COMPATIBILITY AnyNewerVersion)
255 …FILES ${CMAKE_CURRENT_BINARY_DIR}/flac-config.cmake ${CMAKE_CURRENT_BINARY_DIR}/flac-config-versio…
261 "${CMAKE_CURRENT_BINARY_DIR}/flac-config.cmake"
262 "${CMAKE_CURRENT_BINARY_DIR}/flac-config-version.cmake"
[all …]
/aosp_15_r20/external/flac/test/
H A Dtest_flac.sh3 # FLAC - Free Lossless Audio Codec
7 # This file is part the FLAC project. FLAC is comprised of several
13 # FLAC distribution contains at the top the terms under which it may be
16 # Since this particular file is relevant to all components of FLAC,
28 PATH="$(pwd)/../src/flac:$PATH"
33 flac${EXE} --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable"
38 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_flac.valgrin…
39 …valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac${EXE} $TOTALLY_SIL…
41 flac${EXE} $TOTALLY_SILENT --no-error-on-compression-fail $*
61 echo "Checking for --ogg support in flac..."
[all …]
H A Dtest_seeking.sh3 # FLAC - Free Lossless Audio Codec
7 # This file is part the FLAC project. FLAC is comprised of several
13 # FLAC distribution contains at the top the terms under which it may be
16 # Since this particular file is relevant to all components of FLAC,
23 PATH=../src/flac:$PATH
33 flac${EXE} --help 1>/dev/null 2>/dev/null || die "ERROR can't find flac executable"
39 …echo "valgrind --leak-check=yes --show-reachable=yes --num-callers=50 flac $*" >>test_seeking.valg…
40 …valgrind --leak-check=yes --show-reachable=yes --num-callers=50 --log-fd=4 flac${EXE} --no-error-o…
42 flac${EXE} --no-error-on-compression-fail $*
66 echo $ECHO_N "Checking for --ogg support in flac ... " $ECHO_C
[all …]
/aosp_15_r20/external/flac/man/
H A Dflac.md1 % flac(1) Version 1.4.3 | Free Lossless Audio Codec conversion tool
5 flac - Free Lossless Audio Codec
9 **flac** \[ *OPTIONS* \] \[ *infile.wav* \| *infile.rf64* \|
10 *infile.aiff* \| *infile.raw* \| *infile.flac* \| *infile.oga* \|
13 **flac** \[ **-d** \| **\--decode** \| **-t** \| **\--test** \| **-a** \|
14 **\--analyze** \] \[ *OPTIONS* \] \[ *infile.flac* \| *infile.oga* \|
19 **flac** is a command-line tool for encoding, decoding, testing and
20 analyzing FLAC streams.
24 **flac** supports as input RIFF WAVE, Wave64, RF64, AIFF, FLAC or Ogg
25 FLAC format, or raw interleaved samples. The decoder currently can output
[all …]
/aosp_15_r20/external/flac/doc/
H A Disoflac.txt1 Encapsulation of FLAC in ISO Base Media File Format
10 3.3 Definition of FLAC sample
12 3.3.2 FLAC Specific Box
14 3.3.4 Duration of FLAC sample
27 FLAC coded audio bitstreams in ISO Base Media file format and its
28 derivatives. The encapsulation of FLAC coded bitstreams in
44 [3] FLAC format specification
46 https://xiph.org/flac/format.html
48 Definition of the FLAC Audio Codec stream format
50 [4] FLAC-in-Ogg mapping specification
[all …]
/aosp_15_r20/external/flac/include/FLAC/
H A Dall.h50 * This is the documentation for the FLAC C and C++ APIs. It is
54 * knowledge of the FLAC format, documented
55 * <A HREF="https://xiph.org/flac/format.html">here</A>.
57 * \section c_api FLAC C API
59 * The FLAC C API is the interface to libFLAC, a set of structures
60 * describing the components of FLAC streams, and functions for
61 * encoding and decoding streams, as well as manipulating FLAC
63 * in your include area (for example /usr/include/FLAC/...).
66 * relatively easy to add FLAC support to another program. The
67 * library is licensed under <A HREF="https://xiph.org/flac/license.html">Xiph's BSD license</A>.
[all …]
H A Dformat.h43 /** \file include/FLAC/format.h
47 * of FLAC format components in memory. These are the basic
54 /** \defgroup flac_format FLAC/format.h: format components
55 * \ingroup flac
59 * of FLAC format components in memory. These are the basic
63 * <A HREF="https://xiph.org/flac/format.html">FLAC format</A>. Many of the values here
88 Most of the values described in this file are defined by the FLAC
101 /** The maximum block size, in samples, permitted by the FLAC subset for
116 * FLAC__MAX_BITS_PER_SAMPLE is the limit of the FLAC format. However,
130 /** The maximum LPC order permitted by the FLAC subset for sample rates
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
H A DFlacMetadataReaderTest.java25 import com.google.android.exoplayer2.extractor.flac.FlacConstants;
27 import com.google.android.exoplayer2.metadata.flac.PictureFrame;
28 import com.google.android.exoplayer2.metadata.flac.VorbisComment;
41 * href="https://xiph.org/flac/documentation_tools_metaflac.html">metaflac</a> command.
48 ExtractorInput input = buildExtractorInput("media/flac/bear_with_id3.flac"); in peekId3Metadata_updatesPeekPosition()
58 ExtractorInput input = buildExtractorInput("media/flac/bear_with_id3.flac"); in peekId3Metadata_parseData_returnsNonEmptyMetadata()
68 ExtractorInput input = buildExtractorInput("media/flac/bear_with_id3.flac"); in peekId3Metadata_doNotParseData_returnsNull()
77 String fileWithoutId3Metadata = "media/flac/bear.flac"; in peekId3Metadata_noId3Metadata_returnsNull()
87 ExtractorInput input = buildExtractorInput("media/flac/bear.flac"); in checkAndPeekStreamMarker_updatesPeekPosition()
97 ExtractorInput input = buildExtractorInput("media/flac/bear.flac"); in checkAndPeekStreamMarker_validData_isTrue()
[all …]
H A DFlacFrameReaderTest.java24 import com.google.android.exoplayer2.extractor.flac.FlacConstants;
36 * href="https://xiph.org/flac/documentation_tools_flac.html">flac</a> command.
47 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_validData_updatesPosition()
67 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_validData_isTrue()
88 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_validData_writesSampleNumber()
108 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_invalidData_isFalse()
125 String file = "media/flac/bear_one_metadata_block.flac"; in checkFrameHeaderFromPeek_validData_doesNotUpdatePositions()
148 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkFrameHeaderFromPeek_validData_isTrue()
167 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkFrameHeaderFromPeek_validData_writesSampleNumber()
185 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkFrameHeaderFromPeek_invalidData_isFalse()
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
H A DFlacMetadataReaderTest.java25 import com.google.android.exoplayer2.extractor.flac.FlacConstants;
27 import com.google.android.exoplayer2.metadata.flac.PictureFrame;
41 * href="https://xiph.org/flac/documentation_tools_metaflac.html">metaflac</a> command.
48 ExtractorInput input = buildExtractorInput("media/flac/bear_with_id3.flac"); in peekId3Metadata_updatesPeekPosition()
58 ExtractorInput input = buildExtractorInput("media/flac/bear_with_id3.flac"); in peekId3Metadata_parseData_returnsNonEmptyMetadata()
68 ExtractorInput input = buildExtractorInput("media/flac/bear_with_id3.flac"); in peekId3Metadata_doNotParseData_returnsNull()
77 String fileWithoutId3Metadata = "media/flac/bear.flac"; in peekId3Metadata_noId3Metadata_returnsNull()
87 ExtractorInput input = buildExtractorInput("media/flac/bear.flac"); in checkAndPeekStreamMarker_updatesPeekPosition()
97 ExtractorInput input = buildExtractorInput("media/flac/bear.flac"); in checkAndPeekStreamMarker_validData_isTrue()
115 ExtractorInput input = buildExtractorInput("media/flac/bear_with_id3.flac"); in readId3Metadata_updatesReadPositionAndAlignsPeekPosition()
[all …]
H A DFlacFrameReaderTest.java24 import com.google.android.exoplayer2.extractor.flac.FlacConstants;
36 * href="https://xiph.org/flac/documentation_tools_flac.html">flac</a> command.
47 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_validData_updatesPosition()
67 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_validData_isTrue()
88 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_validData_writesSampleNumber()
108 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkAndReadFrameHeader_invalidData_isFalse()
125 String file = "media/flac/bear_one_metadata_block.flac"; in checkFrameHeaderFromPeek_validData_doesNotUpdatePositions()
148 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkFrameHeaderFromPeek_validData_isTrue()
167 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkFrameHeaderFromPeek_validData_writesSampleNumber()
185 "media/flac/bear_one_metadata_block.flac", streamMetadataHolder); in checkFrameHeaderFromPeek_invalidData_isFalse()
[all …]
/aosp_15_r20/external/flac/oss-fuzz/
H A Dmetadata.cc36 #include "FLAC++/metadata.h"
50 char filename[] = "/tmp/tmpXXXXXX.flac"; in LLVMFuzzerTestOneInput()
103 FLAC::Metadata::StreamInfo streaminfo; in run_tests_with_level_0_interface()
104 FLAC::Metadata::VorbisComment vorbis_comment; in run_tests_with_level_0_interface()
105 FLAC::Metadata::CueSheet cue_sheet; in run_tests_with_level_0_interface()
106 FLAC::Metadata::Picture picture; in run_tests_with_level_0_interface()
108 FLAC::Metadata::get_streaminfo(filename,streaminfo); in run_tests_with_level_0_interface()
109 FLAC::Metadata::get_tags(filename,vorbis_comment); in run_tests_with_level_0_interface()
110 FLAC::Metadata::get_cuesheet(filename,cue_sheet); in run_tests_with_level_0_interface()
111FLAC::Metadata::get_picture(filename,picture, (FLAC__StreamMetadata_Picture_Type)(1), NULL, NULL, … in run_tests_with_level_0_interface()
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/
H A DFlacExtractorTest.java16 package com.google.android.exoplayer2.ext.flac;
35 fail("Flac library not available."); in setUp()
43 /* file= */ "media/flac/bear.flac", in sample()
44 /* dumpFilesPrefix= */ "extractordumps/flac/bear_raw"); in sample()
51 /* file= */ "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Enabled()
52 /* dumpFilesPrefix= */ "extractordumps/flac/bear_with_id3_enabled_raw"); in sampleWithId3HeaderAndId3Enabled()
59 /* file= */ "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Disabled()
60 /* dumpFilesPrefix= */ "extractordumps/flac/bear_with_id3_disabled_raw"); in sampleWithId3HeaderAndId3Disabled()
67 /* file= */ "media/flac/bear_no_seek_table_no_num_samples.flac", in sampleUnseekable()
68 /* dumpFilesPrefix= */ "extractordumps/flac/bear_no_seek_table_no_num_samples_raw"); in sampleUnseekable()
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/
H A DFlacExtractorTest.java16 package com.google.android.exoplayer2.ext.flac;
35 fail("Flac library not available."); in setUp()
43 /* file= */ "media/flac/bear.flac", in sample()
44 /* dumpFilesPrefix= */ "extractordumps/flac/bear_raw"); in sample()
51 /* file= */ "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Enabled()
52 /* dumpFilesPrefix= */ "extractordumps/flac/bear_with_id3_enabled_raw"); in sampleWithId3HeaderAndId3Enabled()
59 /* file= */ "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Disabled()
60 /* dumpFilesPrefix= */ "extractordumps/flac/bear_with_id3_disabled_raw"); in sampleWithId3HeaderAndId3Disabled()
67 /* file= */ "media/flac/bear_no_seek_table_no_num_samples.flac", in sampleUnseekable()
68 /* dumpFilesPrefix= */ "extractordumps/flac/bear_no_seek_table_no_num_samples_raw"); in sampleUnseekable()
[all …]
/aosp_15_r20/out/soong/.intermediates/external/flac/src/libFLAC/libFLAC/android_arm64_armv8-2a_cortex-a55_static_cfi_apex31/
DlibFLAC.a.rsp1flac/src/libFLAC/libFLAC/android_arm64_armv8-2a_cortex-a55_static_cfi_apex31/obj/external/flac/src…
/aosp_15_r20/external/flac/src/test_libFLAC++/
H A Dmetadata_object.cpp27 #include "FLAC/assert.h"
28 #include "FLAC++/metadata.h"
254 printf("testing class FLAC::Metadata::StreamInfo\n"); in test_metadata_object_streaminfo()
257 FLAC::Metadata::StreamInfo block; in test_metadata_object_streaminfo()
270 FLAC::Metadata::StreamInfo blockcopy(block); in test_metadata_object_streaminfo()
284 FLAC::Metadata::StreamInfo blockcopy(streaminfo_); in test_metadata_object_streaminfo()
295 FLAC::Metadata::StreamInfo blockcopy(&streaminfo_); in test_metadata_object_streaminfo()
306 FLAC::Metadata::StreamInfo blockcopy(&streaminfo_, /*copy=*/true); in test_metadata_object_streaminfo()
318 FLAC::Metadata::StreamInfo blockcopy(copy, /*copy=*/false); in test_metadata_object_streaminfo()
329 FLAC::Metadata::StreamInfo blockcopy; in test_metadata_object_streaminfo()
[all …]
H A Dmetadata_manip.cpp35 #include "FLAC/assert.h"
36 #include "FLAC++/decoder.h"
37 #include "FLAC++/metadata.h"
48 to create a dummy FLAC file with a known set of initial metadata
51 a FLAC::Decoder::File over the dummy file after each operation, comparing
57 class OurFileDecoder: public FLAC::Decoder::File {
70 FLAC::Metadata::Prototype *blocks[64];
82 return is_ogg? "metadata.oga" : "metadata.flac"; in flacfilename()
91 static bool die_c_(const char *msg, FLAC::Metadata::Chain::Status status) in die_c_()
98 static bool die_ss_(const char *msg, FLAC::Metadata::SimpleIterator &iterator) in die_ss_()
[all …]
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/flac/
H A DFlacExtractorTest.java16 package com.google.android.exoplayer2.extractor.flac;
42 "media/flac/bear.flac", in sample()
43 new AssertionConfig.Builder().setDumpFilesPrefix("extractordumps/flac/bear_flac").build(), in sample()
51 "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Enabled()
53 .setDumpFilesPrefix("extractordumps/flac/bear_with_id3_enabled_flac") in sampleWithId3HeaderAndId3Enabled()
62 "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Disabled()
64 .setDumpFilesPrefix("extractordumps/flac/bear_with_id3_disabled_flac") in sampleWithId3HeaderAndId3Disabled()
73 "media/flac/bear_no_seek_table_no_num_samples.flac", in sampleUnseekable()
75 .setDumpFilesPrefix("extractordumps/flac/bear_no_seek_table_no_num_samples_flac") in sampleUnseekable()
84 "media/flac/bear_with_vorbis_comments.flac", in sampleWithVorbisComments()
[all …]
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/flac/
H A DFlacExtractorTest.java16 package com.google.android.exoplayer2.extractor.flac;
42 "media/flac/bear.flac", in sample()
43 new AssertionConfig.Builder().setDumpFilesPrefix("extractordumps/flac/bear_flac").build(), in sample()
51 "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Enabled()
53 .setDumpFilesPrefix("extractordumps/flac/bear_with_id3_enabled_flac") in sampleWithId3HeaderAndId3Enabled()
62 "media/flac/bear_with_id3.flac", in sampleWithId3HeaderAndId3Disabled()
64 .setDumpFilesPrefix("extractordumps/flac/bear_with_id3_disabled_flac") in sampleWithId3HeaderAndId3Disabled()
73 "media/flac/bear_no_seek_table_no_num_samples.flac", in sampleUnseekable()
75 .setDumpFilesPrefix("extractordumps/flac/bear_no_seek_table_no_num_samples_flac") in sampleUnseekable()
84 "media/flac/bear_with_vorbis_comments.flac", in sampleWithVorbisComments()
[all …]
/aosp_15_r20/out/soong/.intermediates/external/flac/src/libFLAC/libFLAC/android_arm64_armv8-2a_cortex-a55_static_cfi_apex31/obj/external/flac/src/libFLAC/
Dstream_encoder.o.d1 …oong/.intermediates/external/flac/src/libFLAC/libFLAC/android_arm64_armv8-2a_cortex-a55_static_cfi…
4 external/flac/src/libFLAC/libFLAC_blocklist.txt \
6 external/flac/src/libFLAC/stream_encoder.c external/flac/config.h \
64 external/flac/include/share/compat.h bionic/libc/include/unistd.h \
88 external/flac/include/FLAC/assert.h \
89 external/flac/include/FLAC/stream_decoder.h \
90 external/flac/include/FLAC/export.h \
91 external/flac/include/FLAC/format.h \
92 external/flac/include/FLAC/ordinals.h \
95 external/flac/src/libFLAC/include/protected/stream_encoder.h \
[all …]
Dstream_decoder.o.d1 …oong/.intermediates/external/flac/src/libFLAC/libFLAC/android_arm64_armv8-2a_cortex-a55_static_cfi…
4 external/flac/src/libFLAC/libFLAC_blocklist.txt \
6 external/flac/src/libFLAC/stream_decoder.c external/flac/config.h \
61 external/flac/include/share/compat.h bionic/libc/include/unistd.h \
89 external/flac/include/FLAC/assert.h \
90 external/flac/include/share/alloc.h \
91 external/flac/src/libFLAC/include/protected/stream_decoder.h \
92 external/flac/include/FLAC/stream_decoder.h \
93 external/flac/include/FLAC/export.h \
94 external/flac/include/FLAC/format.h \
[all …]
/aosp_15_r20/external/flac/src/libFLAC/
H A DCMakeLists.txt37 add_library(FLAC target
74 set_property(TARGET FLAC PROPERTY PROJECT_LABEL "libFLAC")
75 if(TARGET FLAC-asm)
76 target_sources(FLAC PRIVATE $<TARGET_OBJECTS:FLAC-asm>)
79 target_compile_definitions(FLAC
83 … target_compile_definitions(FLAC PRIVATE $<$<BOOL:${BUILD_SHARED_LIBS}>:FLAC__USE_VISIBILITY_ATTR>)
85 target_include_directories(FLAC INTERFACE
88 target_link_libraries(FLAC PUBLIC $<$<BOOL:${HAVE_LROUND}>:m>)
90 target_link_libraries(FLAC PUBLIC Ogg::ogg)
93 set_target_properties(FLAC PROPERTIES
[all …]

12345678910>>...81