Powered by Apache

CVS log for mpgedit/header.c

[BACK] Up to [local] / mpgedit

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.20 / (download) - annotate - [select for diffs], Thu Sep 8 06:18:55 2005 UTC (6 years, 8 months ago) by number6
Branch: MAIN
CVS Tags: mpgedit_0-75_xmpgedit_pcmlevel_scroll_fix_cp3, mpgedit_0-75_xmpgedit_decimate_adjust_cp2, mpgedit_0-75_spinner_refactor_cp1, mpgedit_0-75_dev_branchroot, mpgedit_0-75_dev2, mpgedit_0-75_dev1, mpgedit_0-74beta1_build2, mpgedit_0-74beta1_build1, mpgedit_0-74_beta1-MP, mpgedit_0-74_beta1, mpgedit_0-73_pcmview_eof_110208, mpgedit_0-73_offset_control_092008, mpgedit_0-73_dev_xmpgedit_volume_segv, mpgedit_0-73_dev_win32_iss_template, mpgedit_0-73_dev_mpgedit_I_editfix, mpgedit_0-73_dev_dev1_ckptbuild, mpgedit_0-73_dev_decode_display_fix, mpgedit_0-73_dev_branchroot, mpgedit_0-73_dev_64_bit_port, mpgedit_0-73_dev2_100607, mpgedit_0-73_dev1_092307, mpgedit_0-73_clist_fix_083108, mpgedit_0-72_sup_branchroot, mpgedit_0-72_sup-xmpgedit_package_improve, mpgedit_0-72_sup-readmes_version_h, mpgedit_0-72_sup-osx_package_cvs_commit_fix, mpgedit_0-72_sup-osx_package_cvs_commit, mpgedit_0-72_sup-osx_mpgedit_disk_image_pkg, mpgedit_0-72_sup-mpgedit_package_installer, mpgedit_0-72_sup-beta2_rc2, mpgedit_0-72_sup-beta2_rc1, mpgedit_0-72_beta_rc2, mpgedit_0-72_beta_rc1, mpgedit_0-72_beta3, mpgedit_0-72_beta2_0-73_dev-MP, mpgedit_0-72_beta2, mpgedit_0-72_beta, mpgedit_0-71_dev_112605_macosx_mixer_refactor_cp57, mpgedit_0-71_dev_111905_macosx_mixer_refactor_cp56, mpgedit_0-71_dev_110605_clist_pcmview_fix_cp55, mpgedit_0-71_dev_102305_macosx_port_cp54, mpgedit_0-71_dev_101805_release_cp53a, mpgedit_0-71_dev_101605_release_cp53, mpgedit_0-71_dev_101305-p-I_flag_addition_cp53, mpgedit_0-71_dev_090705_maindatabegin_cp52, HEAD
Changes since 1.19: +27 -1 lines
Diff to previous 1.19 (colored)

Added display of mp3 file main data begin in -vvv output.  xmpgedit now
caches last directory traversed in file selection widget, and stores in
config .xmpgeditrc file.

Revision 1.19 / (download) - annotate - [select for diffs], Sat Nov 27 21:13:29 2004 UTC (7 years, 5 months ago) by number6
Branch: MAIN
CVS Tags: mpgedit_0-71_dev_rodir_xmpgedit_core_cp49, mpgedit_0-71_dev_release_cp49, mpgedit_0-71_dev_mar_2_2005_cp50, mpgedit_0-71_dev_X2_fix_cp48, mpgedit_0-71_dev_061105_libmad_import_cp51
Changes since 1.18: +13 -0 lines
Diff to previous 1.18 (colored)

Fixed -X2 XING header patch code for MPEG2/MPEG2.5 encoded files.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 11 06:14:11 2003 UTC (8 years, 8 months ago) by number6
Branch: MAIN
CVS Tags: mpgedit_0_71_dev_silence_detect-HEAD-MP, mpgedit_0-7_beta_p2-MP, mpgedit_0-7_beta_p2, mpgedit_0-7_beta_p1, mpgedit_0-7_beta_bugfixes-BP, mpgedit_0-7_beta-MP, mpgedit_0-71beta-py_mpgedit0-2beta, mpgedit_0-71beta-py_mpgedit0-1beta, mpgedit_0-71_dev_win32build_fix_cp11, mpgedit_0-71_dev_v3_index_bugfixes_cp20, mpgedit_0-71_dev_timescale_spin_button_refactor_cp33, mpgedit_0-71_dev_timescale_spin_button_refactor_cp27, mpgedit_0-71_dev_timescale_fix_cp28, mpgedit_0-71_dev_snapshot_build_cp35, mpgedit_0-71_dev_skipframe_hiccup_fix_cp10, mpgedit_0-71_dev_silence-detect_segment_detect_refactor_cp8, mpgedit_0-71_dev_silence-detect_mpgedit_decode_cp6, mpgedit_0-71_dev_silence-detect_average_in_levelsfile_cp7, mpgedit_0-71_dev_silence-detect-cp5, mpgedit_0-71_dev_silence-detect-cp4, mpgedit_0-71_dev_silence-detect-cp3, mpgedit_0-71_dev_silence-detect-cp2, mpgedit_0-71_dev_silence-detect-cp1, mpgedit_0-71_dev_silence-detect-BP, mpgedit_0-71_dev_sigsegv_emptyeditor_cp47, mpgedit_0-71_dev_sigsegv_bugfix_cp46, mpgedit_0-71_dev_segment_detect_mpgedit_refactor_cp9, mpgedit_0-71_dev_release_cp47, mpgedit_0-71_dev_release_cp43, mpgedit_0-71_dev_release_cp41, mpgedit_0-71_dev_release_cp38, mpgedit_0-71_dev_playback_control_refactor_cp30, mpgedit_0-71_dev_playback_control_refactor_cp29, mpgedit_0-71_dev_playback_control_cleanup_cp32, mpgedit_0-71_dev_pcmview_xmpgedit_integration_cp26, mpgedit_0-71_dev_pcmview_xmpgedit_integration_cp23, mpgedit_0-71_dev_pcmview_timepick_fix_cp34, mpgedit_0-71_dev_pcmview_seek_refactor_cp25, mpgedit_0-71_dev_pcmview_scale_seek_cp42, mpgedit_0-71_dev_pcmview_integration_cp31, mpgedit_0-71_dev_pcmview_gui_cp22, mpgedit_0-71_dev_pcmview__selector3_cp38, mpgedit_0-71_dev_pcmview__selector2_cp37, mpgedit_0-71_dev_pcm_highlight_drag_cp36, mpgedit_0-71_dev_pcm_file_timeindex_cp24, mpgedit_0-71_dev_md5sum_release_cp17, mpgedit_0-71_dev_md5sum_cp17, mpgedit_0-71_dev_macosx-tony_port, mpgedit_0-71_dev_macosx-colin_port, mpgedit_0-71_dev_macosx-BP, mpgedit_0-71_dev_line_join_cp16, mpgedit_0-71_dev_index_v3_cp18, mpgedit_0-71_dev_dsp_reset_cp44, mpgedit_0-71_dev_decode_new_files_cp43, mpgedit_0-71_dev_bigendian_fix_cp45, mpgedit_0-71_dev_autoeditmenu_commasep_cp21, mpgedit_0-71_dev_auto_edit_win32_memory_fix_cp15, mpgedit_0-71_dev_auto_edit_webupdate_cp15, mpgedit_0-71_dev_auto_edit_integration_cp12, mpgedit_0-71_dev_auto_edit_curses_menu_cp13, mpgedit_0-71_dev_auto_edit_curses_menu_bugfixes_cp14, mpgedit_0-71_dev_auto_edit_cp15, mpgedit_0-71_dev_E_option_cp19, mpgedit_0-71_dev_7segment_display_cp39, mpgedit_0-71_dev_7segment_display3_cp41, mpgedit_0-71_dev_7segment_display2_cp40, mpgedit_0-2_dev_py_mpgedit-rc2_r2, mpgedit_0-2_dev_py_mpgedit-rc2_r1, mpgedit_0-2_dev_py_mpgedit-rc2-MP, mpgedit_0-2_dev_py_mpgedit-rc2, mpgedit_0-2_dev_py_mpgedit-rc1, mpgedit_0-2_dev_py_mpgedit-BP, latest
Changes since 1.17: +40 -35 lines
Diff to previous 1.17 (colored)

Merge of mpgedit_0-7_beta with tip.

Revision 1.17.4.6 / (download) - annotate - [select for diffs], Sat Aug 16 20:28:13 2003 UTC (8 years, 9 months ago) by number6
Branch: mpgedit_devl-0-7_beta
CVS Tags: mpgedit_0-7_beta
Changes since 1.17.4.5: +0 -8 lines
Diff to previous 1.17.4.5 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored)

Updates to README for 0.7 beta release.  Changes to editif to eliminate
returning mpeg_time structure from mpgedit_editspec_get_stime() and
mpgedit_editspec_get_stime() for support of mpgedit.py work.

Revision 1.17.4.5 / (download) - annotate - [select for diffs], Thu Aug 14 16:11:31 2003 UTC (8 years, 9 months ago) by number6
Branch: mpgedit_devl-0-7_beta
Changes since 1.17.4.4: +41 -30 lines
Diff to previous 1.17.4.4 (colored) to branchpoint 1.17 (colored)

Changes needed to generate Win32 DLL.  Most of these changes involve adding
the _DSOEXPORT tag to exported functions.  Also had to refactor printf_XXX
functions that were in the DLL to generate a string form of what they
used to print to stdout, so the calling app can then call printf
on the formatted string.  printf() in a dll works, but the strings
printed from the app get garbled with the strings printed from
printf calls in the dll.

Revision 1.17.4.4 / (download) - annotate - [select for diffs], Sun Feb 9 22:47:30 2003 UTC (9 years, 3 months ago) by number6
Branch: mpgedit_devl-0-7_beta
Changes since 1.17.4.3: +0 -1 lines
Diff to previous 1.17.4.3 (colored) to branchpoint 1.17 (colored)

Major refactoring to eliminate the double file read when no actions have
been specified to mpgedit; only read data for file statistics operation.
The code reorganization was done to collapse the indexfile_ctx into the
playctx structure, which then allows access to the index operation structure
members.  Additionally, statistics gathering was added to the index
operation, which is then available to the caller for display.  Improved
index file API; mpgedit_edit_index_init(), mpgedit_edit_index(),
mpgedit_edit_index_free().  This code passes the main regression test.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Thu Feb 6 17:34:35 2003 UTC (9 years, 3 months ago) by number6
Branch: mpgedit-0-6_beta_branchroot
CVS Tags: mpgedit_release-0-6p2_beta
Changes since 1.17: +7 -4 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

This was messed up.  The 0.6p1 release was really on the
0.7 development branch.  This has been fixed by creating a new
branch called  mpgedit-0-6_beta_branchroot at the
mpgedit_release-0-6_beta trunk level. Then all of the changes from
0.6p1 have been merged onto the mpgedit-0-6_beta_branchroot branch.
This then allows for bug fixes to be performed on 0.6p1.  The
one that needed attention is the ./ pathing problem in the
Linux makefile.  make install and mkbuildnum commands were broken
for users without . in their path.

Revision 1.17.4.3 / (download) - annotate - [select for diffs], Sun May 12 07:34:38 2002 UTC (10 years ago) by number6
Branch: mpgedit_devl-0-7_beta
CVS Tags: mpgedit_release-0-6p1_beta
Changes since 1.17.4.2: +5 -2 lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored)

Finally, I think all of the frame size computation formulas
are correct.  This has been tested for MPEG1 layer 1/2/3 and
MPEG 2 layer 2/3 using ISO test patterns.

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Sun May 12 05:19:07 2002 UTC (10 years ago) by number6
Branch: mpgedit_devl-0-7_beta
Changes since 1.17.4.1: +2 -2 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored)

Fixed mpeg_compute_frame_size() handling of MPEG1 layer 1, and MPEG2
layer 2 files.  Now that test data is available, this can be verified
as correct.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Fri May 10 07:50:16 2002 UTC (10 years ago) by number6
Branch: mpgedit_devl-0-7_beta
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

Use  mpeg_version_index when testing for size correction for MPEG2
files.  Found this bug when testing MPEG2 file with low sample rate.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 9 07:11:22 2002 UTC (10 years, 1 month ago) by number6
Branch: MAIN
CVS Tags: mpgedit_release-0-6_beta_rc1, mpgedit_release-0-6_beta, mpgedit_devl-0-7_beta_branchroot, experimental_tag_deleteme
Branch point for: mpgedit_devl-0-7_beta, mpgedit-0-6_beta_branchroot
Changes since 1.16: +78 -29 lines
Diff to previous 1.16 (colored)

Fixed MPEG 2 file processing.  Was not properly computing frame size
for MPEG 2 files.  This is still probably not correct for MPEG 2 Layer 1
and 2 files; only tested layer 3 files. Added new function
mpeg_compute_frame_size().  Ripped out all of the hack code from
find_mpeg_header_buf() that did a -1 byte reverse search when a frame was
not found.  This was present because the frame length was not properly
computed for MPEG 2 files.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Apr 7 18:16:22 2002 UTC (10 years, 1 month ago) by number6
Branch: MAIN
Changes since 1.15: +104 -43 lines
Diff to previous 1.15 (colored)

Checking all of the marge changes and new files added during 0.5 beta
development branch.

Revision 1.15.6.3 / (download) - annotate - [select for diffs], Tue Apr 2 07:53:22 2002 UTC (10 years, 1 month ago) by number6
Branch: mpgedit_release-0-5_beta_development
Changes since 1.15.6.2: +21 -18 lines
Diff to previous 1.15.6.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Many changes to find_mpeg_header_buf().  Eliminated 'offset' parameter,
as it is redundant with header->position.  Fixed problems related to
processing of the frame immediately before EOF.  Fixed problem with how
mpeg header variable was being used.  The output parameter was being
updated each time  possible frame hit was found during a valid frame
search.  This occasionally caused random values to be returned in header.
Separated use of sts from found, which caused problems during search
for next valid frame.

Revision 1.15.6.2 / (download) - annotate - [select for diffs], Tue Jan 22 14:11:48 2002 UTC (10 years, 3 months ago) by number6
Branch: mpgedit_release-0-5_beta_development
Changes since 1.15.6.1: +1 -1 lines
Diff to previous 1.15.6.1 (colored) to branchpoint 1.15 (colored)

Win32 port.  Replaced use of unistd.h with portability.h.

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Wed Jan 16 06:35:43 2002 UTC (10 years, 4 months ago) by number6
Branch: mpgedit_release-0-5_beta_development
Changes since 1.15: +82 -24 lines
Diff to previous 1.15 (colored)

Added more decoding of MPEG header information
for -vvv.  Changed test output to be more constent when
printing the raw and interpretation of the raw value.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Oct 3 14:20:47 2001 UTC (10 years, 7 months ago) by number6
Branch: MAIN
CVS Tags: mpgedit_release-0-5_beta, mpgedit_release-0-4-1_beta_development, mpgedit_release-0-4-1_beta, mpgedit_release-0-4-0_beta_p1, mpgedit_release-0-4-0_beta
Branch point for: mpgedit_release-0-5_beta_development
Changes since 1.14: +21 -0 lines
Diff to previous 1.14 (colored)

Added GPL Copyright header.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 7 13:21:59 2001 UTC (10 years, 8 months ago) by number6
Branch: MAIN
CVS Tags: version_0_3_beta
Changes since 1.13: +13 -53 lines
Diff to previous 1.13 (colored)

 Added  argument to find_mpeg_header_buf() to allow the offset to
the frame start to be returned.  This value is  used  to  advance
the  frame data pointer when a valid frame is not found where ex-
pected.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jul 19 23:50:24 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
CVS Tags: version_0_3_alpha, version_0_2_alpha_p1, version_0_2_alpha
Changes since 1.12: +48 -37 lines
Diff to previous 1.12 (colored)

 Created get_bitrate_from_index() from case statements from parse
header code.  This is needed so  the  stats  print  function  can
lookup bitrates.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jul 17 11:13:08 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
CVS Tags: version_0_1p1
Changes since 1.11: +0 -2 lines
Diff to previous 1.11 (colored)

 Removed unused variables associated with removed ID3 code.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jul 17 11:04:24 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.10: +7 -40 lines
Diff to previous 1.10 (colored)

 Removed  hack  ID3  code.   Stubbed out code currently not being
called.  Made a few comments more consistent.

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 17 10:56:11 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.9: +52 -17 lines
Diff to previous 1.9 (colored)

 A  cleanup  pass to fix warnings reported by -Wall.  Fixed prob-
lems with frame search algorithm implemented  in  find_mpeg_head-
er_buf().   There  was unneeded duplication of code, and the full
following frame verification was not  being  performed  for  most
frames.   Added  experimental  code  (stubbed  out code now) that
prints ASCII text that is presumed to  be  ID3  tag  information.
This  is  being  checked  in here, but will be ripped out and re-
placed later with a better ID3 implementation.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jul 16 07:51:16 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.8: +1 -0 lines
Diff to previous 1.8 (colored)

 Added printf of a newline for support of -vv option

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jul 14 08:27:05 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.7: +26 -19 lines
Diff to previous 1.7 (colored)

 Found  problems  with  EOF detection.  The logic to return short
buffer found when a valid header did not cover the case where the
initial frame header was detected.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jul 12 22:59:18 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.6: +6 -0 lines
Diff to previous 1.6 (colored)

 Added test for invalid sample_rate in header.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 10 23:35:11 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

 Changed found to integer so it can store 1 and -1.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jul 10 10:58:43 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.4: +31 -12 lines
Diff to previous 1.4 (colored)

 Added  length check before searching for following frame header.
Return status of found, not found, and found but ran out of data.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 10 00:44:13 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.3: +23 -0 lines
Diff to previous 1.3 (colored)

 Added    copy_mpeg_frame_to_buf()    function.     Added    sam-
ples_per_frame to mpeg_header_data to allow computation  of  real
time offset of frame headers.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 9 09:14:16 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.2: +1 -113 lines
Diff to previous 1.2 (colored)

 Split out main program into its own module.

Revision 1.2 / (download) - annotate - [select for diffs], Sun Jul 8 11:16:57 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN
Changes since 1.1: +54 -8 lines
Diff to previous 1.1 (colored)

 Added  function  find_mpeg_header_buf, which parses the mp3 data
already read from a file and stored in a data  buffer.   Modified
rest of test program to use this function.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jun 29 07:48:00 2001 UTC (10 years, 10 months ago) by number6
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>