Recherche avancée

Médias (91)

Autres articles (70)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (7975)

  • Why is this code not writing png file ? I can not get any error code

    3 décembre 2019, par Go0od

    It not writing png file. I can’t get any error code. I want to save central widget to png file. I have 2 files, one is main file and second one is ui file. At first the program does not run properly and crashes. Link has ui file

    main.py

    import sys
    from PyQt5.QtWidgets import QWidget
    from PyQt5 import QtCore, QtGui, QtWidgets
    from green import Ui_MainWindow
    class MyWindow(QtWidgets.QMainWindow, Ui_MainWindow, QWidget):
      def __init__(self):
       QtWidgets.QMainWindow.__init__(self)
       Ui_MainWindow.__init__(self)

       self.setupUi(self)
       self.widger_screen()

    def widger_screen(self):

       self.process = QtCore.QProcess(app)
       self.process.setProcessChannelMode(self.process.ForwardedChannels)
       self.process.setOpenMode(self.process.WriteOnly)
       self.process.start('ffmpeg',
                          ['-y',
                           '-analyzeduration', '1000',
                           '-vcodec', 'png', '-i', '-',
                           '-vcodec', 'mpeg4',
                           '-qscale', '5', '-r', '24', 'video.avi',
                           "-loglevel2", "debug"])
       for i in range(100):
           QWidget.grab(self.centralwidget).save(self.process, "PNG")

    if __name__ == '__main__':
    app = QtWidgets.QApplication(sys.argv)
    window = MyWindow()
    window.show()
    sys.exit(app.exec_())

    green.ui
    https://paste.pythondiscord.com/ugorifokiq.py

  • Revision 7186a2dd86 : Code refactor on InterpKernel It in essence refactors the code for both the int

    22 juillet 2015, par Zoe Liu

    Changed Paths :
     Modify /test/convolve_test.cc


     Delete /vp9/common/arm/neon/vp9_convolve8_avg_neon.c


     Delete /vp9/common/arm/neon/vp9_convolve8_avg_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_convolve8_neon.c


     Delete /vp9/common/arm/neon/vp9_convolve8_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_convolve_avg_neon.c


     Delete /vp9/common/arm/neon/vp9_convolve_avg_neon_asm.asm


     Delete /vp9/common/arm/neon/vp9_convolve_neon.c


     Delete /vp9/common/arm/neon/vp9_copy_neon.c


     Delete /vp9/common/arm/neon/vp9_copy_neon_asm.asm


     Delete /vp9/common/mips/msa/vp9_convolve8_avg_horiz_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve8_avg_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve8_avg_vert_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve8_horiz_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve8_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve8_vert_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve_avg_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve_copy_msa.c


     Delete /vp9/common/mips/msa/vp9_convolve_msa.h


     Delete /vp9/common/vp9_convolve.c


     Delete /vp9/common/vp9_convolve.h


     Modify /vp9/common/vp9_entropymode.h


     Modify /vp9/common/vp9_filter.h


     Modify /vp9/common/vp9_idct.h


     Modify /vp9/common/vp9_reconinter.c


     Modify /vp9/common/vp9_reconinter.h


     Modify /vp9/common/vp9_reconintra.c


     Modify /vp9/common/vp9_rtcd_defs.pl


     Modify /vp9/common/vp9_scale.c


     Modify /vp9/common/vp9_scale.h


     Delete /vp9/common/x86/convolve.h


     Delete /vp9/common/x86/vp9_asm_stubs.c


     Delete /vp9/common/x86/vp9_copy_sse2.asm


     Delete /vp9/common/x86/vp9_high_subpixel_8t_sse2.asm


     Delete /vp9/common/x86/vp9_high_subpixel_bilinear_sse2.asm


     Delete /vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c


     Delete /vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c


     Delete /vp9/common/x86/vp9_subpixel_8t_sse2.asm


     Delete /vp9/common/x86/vp9_subpixel_8t_ssse3.asm


     Delete /vp9/common/x86/vp9_subpixel_bilinear_sse2.asm


     Delete /vp9/common/x86/vp9_subpixel_bilinear_ssse3.asm


     Modify /vp9/decoder/vp9_decodeframe.c


     Modify /vp9/encoder/vp9_blockiness.c


     Modify /vp9/encoder/vp9_denoiser.c


     Modify /vp9/encoder/vp9_encoder.c


     Modify /vp9/encoder/vp9_pickmode.c


     Modify /vp9/encoder/vp9_resize.c


     Modify /vp9/vp9_common.mk


     Add /vpx_dsp/arm/vpx_convolve8_avg_neon.c


     Add /vpx_dsp/arm/vpx_convolve8_avg_neon_asm.asm
    (from /vp9/common/arm/neon/vp9_convolve8_avg_neon_asm.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/arm/vpx_convolve8_neon.c


     Add /vpx_dsp/arm/vpx_convolve8_neon_asm.asm
    (from /vp9/common/arm/neon/vp9_convolve8_neon_asm.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/arm/vpx_convolve_avg_neon.c


     Add /vpx_dsp/arm/vpx_convolve_avg_neon_asm.asm
    (from /vp9/common/arm/neon/vp9_convolve_avg_neon_asm.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/arm/vpx_convolve_copy_neon.c


     Add /vpx_dsp/arm/vpx_convolve_copy_neon_asm.asm
    (from /vp9/common/arm/neon/vp9_copy_neon_asm.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/arm/vpx_convolve_neon.c
    (from /vp9/common/arm/neon/vp9_convolve_neon.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Modify /vpx_dsp/loopfilter.c


     Add /vpx_dsp/mips/vpx_convolve8_avg_horiz_msa.c
    (from /vp9/common/mips/msa/vp9_convolve8_avg_horiz_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve8_avg_msa.c
    (from /vp9/common/mips/msa/vp9_convolve8_avg_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve8_avg_vert_msa.c
    (from /vp9/common/mips/msa/vp9_convolve8_avg_vert_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve8_horiz_msa.c
    (from /vp9/common/mips/msa/vp9_convolve8_horiz_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve8_msa.c
    (from /vp9/common/mips/msa/vp9_convolve8_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve8_vert_msa.c
    (from /vp9/common/mips/msa/vp9_convolve8_vert_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve_avg_msa.c
    (from /vp9/common/mips/msa/vp9_convolve_avg_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve_copy_msa.c
    (from /vp9/common/mips/msa/vp9_convolve_copy_msa.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/mips/vpx_convolve_msa.h
    (from /vp9/common/mips/msa/vp9_convolve_msa.h
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/vpx_convolve.c
    (from /vp9/common/vp9_convolve.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/vpx_convolve.h
    (from /vp9/common/vp9_convolve.h
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Modify /vpx_dsp/vpx_dsp.mk


     Modify /vpx_dsp/vpx_dsp_common.h


     Modify /vpx_dsp/vpx_dsp_rtcd_defs.pl


     Add /vpx_dsp/vpx_filter.h


     Add /vpx_dsp/x86/convolve.h
    (from /vp9/common/x86/convolve.h
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_asm_stubs.c


     Add /vpx_dsp/x86/vpx_convolve_copy_sse2.asm
    (from /vp9/common/x86/vp9_copy_sse2.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_high_subpixel_8t_sse2.asm
    (from /vp9/common/x86/vp9_high_subpixel_8t_sse2.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_high_subpixel_bilinear_sse2.asm
    (from /vp9/common/x86/vp9_high_subpixel_bilinear_sse2.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_subpixel_8t_intrin_avx2.c
    (from /vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_subpixel_8t_intrin_ssse3.c
    (from /vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_subpixel_8t_sse2.asm
    (from /vp9/common/x86/vp9_subpixel_8t_sse2.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_subpixel_8t_ssse3.asm
    (from /vp9/common/x86/vp9_subpixel_8t_ssse3.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_subpixel_bilinear_sse2.asm
    (from /vp9/common/x86/vp9_subpixel_bilinear_sse2.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)
     Add /vpx_dsp/x86/vpx_subpixel_bilinear_ssse3.asm
    (from /vp9/common/x86/vp9_subpixel_bilinear_ssse3.asm
    :0e3f494b217bde5e1d47107cdfbb044e4d801cec)

    Code refactor on InterpKernel

    It in essence refactors the code for both the interpolation
    filtering and the convolution. This change includes the moving
    of all the files as well as the changing of the code from vp9_
    prefix to vpx_ prefix accordingly, for underneath architectures :
    (1) x86 ;
    (2) arm/neon ; and
    (3) mips/msa.
    The work on mips/drsp2 will be done in a separate change list.

    Change-Id : Ic3ce7fb7f81210db7628b373c73553db68793c46

  • Revision c6c0657c60 : Modify idct code to use macro Small modification of idct code. Change-Id : I5c4

    27 mars 2013, par Yunqing Wang

    Changed Paths : Modify /vp9/common/x86/vp9_idct_x86.c Modify idct code to use macro Small modification of idct code. Change-Id : I5c4e3223944c68e4ccf762f6cf07c990250e4290