Skip to content

Instantly share code, notes, and snippets.

View zhangluustb's full-sized avatar
🎯
Focusing

zhanglu zhangluustb

🎯
Focusing
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@alper111
alper111 / lap_pyramid_loss.py
Last active July 17, 2025 12:47
PyTorch implementation of Laplacian pyramid loss
# MIT License
#
# Copyright (c) 2025 Alper Ahmetoglu
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
@steven2358
steven2358 / ffmpeg.md
Last active December 2, 2025 03:29
FFmpeg cheat sheet
@rcolinray
rcolinray / gl_ffmpeg.cpp
Created November 19, 2013 20:54
OpenGL-FFMpeg integration
// Use OpenGL 3.0+, but don't use GLU
#define GLFW_INCLUDE_GL3
#define GLFW_NO_GLU
#include <GL/glfw.h>
#include <glm/glm.hpp>
#include <glm/gtc/matrix_transform.hpp>
#include <glm/gtc/type_ptr.hpp>
extern "C" {